Coder 2.38.0 before 2.38.4 Authorization Bypass via External Agent Credentials Endpoint

State
Published
Severity
8.5 High
Published
Nov 13, 2026
Updated
Nov 13, 2026
Reserved
Nov 10, 2026

Read the record on cve.org

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.

ProductVersions
coder coder2.38.0 to before 2.38.4 Affected2.38.4 Not Affected
coder coder2.37.0 to before 2.37.8 Affected2.37.8 Not Affected
coder coder2.36.0 to before 2.36.11 Affected2.36.11 Not Affected
coder coder2.30.0 to before 2.34.16 Affected2.34.16 Not Affected
coder coder2.26.0 to before 2.29.24 Affected2.29.24 Not Affected
coder coder2.35.0 to before 2.36.0 Affected2.36.0 Not Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.