CVE-2026-126404
Last modified
CVE-2026-126404 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. Coder 2.28.0 before 2.29.24, 2.30.0 before 2.34.16, 2.35.0 before 2.36.11, 2.37.0 before 2.37.8, and 2.38.0 before 2.38.4 does not restrict new API keys to the creating token's scopes, allow list, or expiry. A scoped API key or OAuth2 token holding key-creation permission can call POST /api/v2/users/{user}/keys/tokens to mint longer-lived coder:all keys, gaining the user's full privileges..
Description
Coder 2.28.0 before 2.29.24, 2.30.0 before 2.34.16, 2.35.0 before 2.36.11, 2.37.0 before 2.37.8, and 2.38.0 before 2.38.4 does not restrict new API keys to the creating token's scopes, allow list, or expiry. A scoped API key or OAuth2 token holding key-creation permission can call POST /api/v2/users/{user}/keys/tokens to mint longer-lived coder:all keys, gaining the user's full privileges.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| coder | coder | >= 2.38.0, < 2.38.4 |
| coder | coder | >= 2.37.0, < 2.37.8 |
| coder | coder | >= 2.36.0, < 2.36.11 |
| coder | coder | >= 2.30.0, < 2.34.16 |
| coder | coder | >= 2.28.0, < 2.29.24 |
| coder | coder | >= 2.35.0, < 2.36.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-126404?
How severe is CVE-2026-126404?
How do I fix CVE-2026-126404?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-126399vLLM from 0.19.0 before 0.31.0 contains a resource exhaustio…6.5
- CVE-2026-1264IBM Sterling B2B Integrator and IBM Sterling File Gateway 6.…6.5
- CVE-2026-126400Password Pusher from 1.49.0 before 2.17.0 contains an IP spo…3.7
- CVE-2026-126401Fleet before 4.86.2 contains a denial of service vulnerabili…7.5
- CVE-2026-126402Fleet before 4.89.0 contains an incorrect authorization flaw…7.2
- CVE-2026-126403Coder 2.26.0 before 2.29.24, 2.30.0 before 2.34.16, 2.35.0 b…6.5
- CVE-2026-126405Coder 2.21.0 before 2.29.24, 2.30.0 before 2.34.16, 2.35.0 b…6.5
- CVE-2026-126406The wasmtime-wasi-http p2 implementation in Wasmtime before …3.7
- CVE-2026-126407Wasmtime before 36.0.20, 37.0.0 before 48.0.8, 49.0.0 before…4.8
- CVE-2026-126408Wasmtime 47.0.0 before 48.0.8, 49.0.0 before 49.0.5, and 50.…1.8
- CVE-2026-126409Wasmtime 47.0.0 before 48.0.8, 49.0.0 before 49.0.5, and 50.…2
- CVE-2026-126410Wasmtime's wasmtime-wasi crate 48.0.0 before 48.0.8, 49.0.0 …6.4
Are you affected by CVE-2026-126404?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
