CVE-2026-62241

clawvet < 0.7.5 Hard-coded JWT Secret Session Forgery

State
Published
Severity
9.3 Critical
Published
Jul 17, 2026
Updated
Aug 14, 2026
Reserved
Jul 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.09.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NVulnCheck
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NVulnCheck

Weaknesses

  • CWE-306 Missing Authentication for Critical Function
  • CWE-321 Use of Hard-coded Cryptographic Key

Affected Products

ProductVersions
clawvetMohibShaikh
  • before 0.7.5Affected
  • 0.7.5Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.