CVE-2026-126403

published 13 Nov 2026 · updated 17 Nov 2026

Coder 2.38.0 before 2.38.4 Authorization Bypass via External Agent Credentials Endpoint

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.29.24, 2.34.16, 2.36.0 and 3 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
coder>=2.26.0 <2.29.24, >=2.30.0 <2.34.16, >=2.35.0 <2.36.0, >=2.36.0 <2.36.11, >=2.37.0 <2.37.8, >=2.38.0 <2.38.42.29.24, 2.34.16, 2.36.0, 2.36.11, 2.37.8, 2.38.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126403 severity on Zeptric[![CVE-2026-126403](https://zeptric.io/badge/cve/CVE-2026-126403.svg)](https://zeptric.io/cve/CVE-2026-126403)