Authentication bypass via hard-coded JWT signing secrets
Published Jul 6, 2025 · Updated Jul 7, 2025
Hard-coded credentials in Done-0 Jank allow remote attackers to forge JWTs and bypass authentication through known signing secrets. The JWT utility signs and validates access and refresh tokens with two constant secrets embedded in jwt_utils.go, so attacker-chosen account_id claims pass HMAC verification. No prior account is required; accepted forged tokens expose authenticated post and comment operations under the impersonated account.
Summary
What happened
Hard-coded credentials in Done-0 Jank allow remote attackers to forge JWTs and bypass authentication through known signing secrets. The JWT utility signs and validates access and refresh tokens with two constant secrets embedded in jwt_utils.go, so attacker-chosen account_id claims pass HMAC verification. No prior account is required; accepted forged tokens expose authenticated post and comment operations under the impersonated account.
The record
- CVE
- CVE-2025-7080
- Published
- Jul 6, 2025
- Updated
- Jul 7, 2025
- Vendor
- jank-lang
- Product
- jank
- Classifications
- CWE-255, CWE-259, T1078
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 6, 2025CVE publishedPublication date reported by the CVE source.
- Jul 7, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=322caebbad10568460364b9667aa62c3080bfc17
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Hardcoded JWT Secret Leads to Authentication Bypassproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo