CVE-2026-62241

clawvet self-hosted API server (apps/api) before 0.7.5 hard-codes a fallback JWT secret ('clawvet-dev-secret-change-me') in auth.ts and ships it as the default in .env.example. Because GET /api/v1/scans returns scan records containing userId values without authentication, a remote unauthenticated attacker can harvest a victim's userId, forge a valid HS256 cg_session cookie offline using the known secret, and call GET /api/v1/auth/me to obtain the victim's email address, subscription plan, and secret apiKey. The published clawvet npm package (CLI only) is not affected.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mohibshaikh:clawvet:*:*:*:*:*:node.js:*:*

History

24 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) El servidor API autoalojado de clawvet (apps/api) anterior a la versión 0.7.5 codifica de forma rígida un secreto JWT de respaldo (’clawvet-dev-secret-change-me’) en auth.ts y lo distribuye como predeterminado en .env.example. Debido a que GET /api/v1/scans devuelve registros de escaneo que contienen valores de userId sin autenticación, un atacante remoto no autenticado puede recolectar el userId de una víctima, forjar una cookie cg_session HS256 válida sin conexión utilizando el secreto conocido, y llamar a GET /api/v1/auth/me para obtener la dirección de correo electrónico de la víctima, el plan de suscripción y la apiKey secreta. El paquete npm de clawvet publicado (solo CLI) no se ve afectado.

Information

Published : 2026-07-17 02:18

Updated : 2026-10-24 20:10


NVD link : CVE-2026-62241

Mitre link : CVE-2026-62241

CVE.ORG link : CVE-2026-62241


JSON object : View

Products Affected

mohibshaikh

  • clawvet
CWE
CWE-306

Missing Authentication for Critical Function

CWE-321

Use of Hard-coded Cryptographic Key