CVE-2026-62241
CRITICAL
9.1
CVSS 3.1
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.
Metadata
Severity & Metrics
9.1
CRITICAL CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| MohibShaikh | clawvet | — | 0 < 0.7.5, 0.7.5 |
Weakness (CWE)
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 9.3 | CRITICAL | 4.0 | cna | 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 |
| 9.1 | CRITICAL | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
References (2)
- GitHub Security Advisory (GHSA-9mww-p953-jfc9) https://github.com/MohibShaikh/clawvet/security/advisories/GHSA-9mww-p953-jfc9
- VulnCheck Advisory: clawvet < 0.7.5 Hard-coded JWT Secret Session Forgery https://www.vulncheck.com/advisories/clawvet-hard-coded-jwt-secret-session-forgery