Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Identity & auth

CVE-2026-126404 — coder

High · CVSS 7.6EPSS 0.3% First seen November 13, 2026

One of 4 coder vulnerabilities published together by NVD: our article covers all of them.

Identity & authVulnerabilities

Summary

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: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.6 CVSS 4.0 base score from the CNA (vulncheck.com)

An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.

Attack from
the network (remotely)
Attack complexity
high (only works under specific conditions)
Special conditions
only in some setups or conditions
Login needed
yes, a normal user account
User action needed
no
Impact
high on confidentiality and integrity, none on availability
Impact on other systems
none

Vector CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 6.8 from the CNA (vulncheck.com): CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Weakness

  • CWE-266: Incorrect Privilege Assignment

Affected and fixed versions

ProductAffected versionsFixed in
coder≥ 2.38.0, < 2.38.42.38.4
coder≥ 2.37.0, < 2.37.82.37.8
coder≥ 2.36.0, < 2.36.112.36.11
coder≥ 2.30.0, < 2.34.162.34.16
coder≥ 2.28.0, < 2.29.242.29.24
coder≥ 2.35.0, < 2.36.02.36.0

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

Affected

  • coder

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-126404?

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. Weakness type: Incorrect Privilege Assignment (CWE-266).

How severe is CVE-2026-126404?

CVE-2026-126404 has a CVSS 4.0 base score of 7.6 (high), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.

Is CVE-2026-126404 being exploited?

Not as far as is known: CVE-2026-126404 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-126404?

coder ≥ 2.38.0, < 2.38.4 (fixed in 2.38.4); coder ≥ 2.37.0, < 2.37.8 (fixed in 2.37.8); coder ≥ 2.36.0, < 2.36.11 (fixed in 2.36.11); coder ≥ 2.30.0, < 2.34.16 (fixed in 2.34.16); and more, listed on this page.

How do I fix CVE-2026-126404?

Update to a fixed release: coder 2.38.4; coder 2.37.8; coder 2.36.11.

Timeline & sources

References