# CVE-2026-126403: Coder 2.38.0 before 2.38.4 Authorization Bypass via External Agent Credentials Endpoint

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-11-13T09:35:46.335Z
- Modified: 2026-11-17T22:17:18.587Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

Coder 2.26.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 contains an improper authorization flaw in the external agent credentials endpoint, which returns the workspace agent token to users with only workspace read access rather than ssh permission. Authenticated users with roles such as Template Admin or Organization Admin can use the token to read the owner's private Git SSH key and Git provider OAuth tokens, and impersonate the agent to receive the owner's sessions.

(As written by CVE List.)

## Affected

- coder coder: from 2.38.0 before 2.38.4; from 2.37.0 before 2.37.8; from 2.36.0 before 2.36.11; from 2.30.0 before 2.34.16; from 2.26.0 before 2.29.24; from 2.35.0 before 2.36.0 (not affected: 2.38.4; 2.37.8; 2.36.11; 2.34.16; 2.29.24; 2.36.0)

## Every score

- VulnCheck: CVSS:4.0 8.5 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/coder/coder/security/advisories/GHSA-9frj-7f83-x984> (vendor-advisory)
- <https://www.vulncheck.com/advisories/coder-2.38.0-before-2.38.4-authorization-bypass-via-external-agent-credentials-endpoint> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-126403](https://www.cve.org/CVERecord?id=CVE-2026-126403), CVE Terms of Use, modified 2026-11-13
- NVD: [CVE-2026-126403](https://nvd.nist.gov/vuln/detail/CVE-2026-126403), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-126403 · Whole record: https://cve.day/CVE-2026-126403.json · Rebuilt by cve.day 2026-11-25T22:59:50.648Z
