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 package | Versions | Reported by |
|---|---|---|
| MohibShaikh clawvet | before 0.7.5 Not affected: 0.7.5 | CVE List, NVD |
All scores
| VulnCheck | 9.3critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
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
| https://github.com/MohibShaikh/clawvet/security/advisories/GHSA-9mww-p953-jfc9 | exploit, mitigation, vendor-advisory | |
| https://www.vulncheck.com/advisories/clawvet-hard-coded-jwt-secret-session-forgery | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-62241 changed 2026-08-14 | CVE Terms of Use |
| NVD | CVE-2026-62241 changed 2026-10-24 | Public domain |