CVE-2026-62241
JSON

9.3critical

clawvet < 0.7.5 Hard-coded JWT Secret Session Forgery

Severity
9.3critical CVSS:4.0 by VulnCheck
Exploit likelihood
6.55% (higher than 93% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

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.

Affected

Product or packageVersionsReported by
MohibShaikh clawvetbefore 0.7.5
Not affected: 0.7.5
CVE List, NVD

All scores

VulnCheck9.3critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
VulnCheck9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-306CWE-321

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-62241 changed 2026-08-14CVE Terms of Use
NVDCVE-2026-62241 changed 2026-10-24Public domain