CVE-2026-62241
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
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| MohibShaikh | clawvet | 0 < 0.7.5 | affected |
| MohibShaikh | clawvet | 0.7.5 | unaffected |
Weaknesses
- CWE-306: Missing Authentication for Critical Function
- CWE-321: Use of Hard-coded Cryptographic Key
References
- https://github.com/MohibShaikh/clawvet/security/advisories/GHSA-9mww-p953-jfc9
- https://www.vulncheck.com/advisories/clawvet-hard-coded-jwt-secret-session-forgery
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.