CVE-2026-137547: coder
AI-assisted summary built from NVD and CISA data. Verify against the linked sources before acting.
Summary
Coder’s API key middleware returns database connection error messages that contain a temporary AWS IAM database password when the database connection fails. An unauthenticated attacker sending a well-formed but invalid API key could obtain the password and access the PostgreSQL database for 15 minutes.
Impact: credential disclosure leading to unauthorized database access
Affected technologies
- Coder before 2.29.27
- Coder 2.30.0 before 2.34.19
- Coder 2.35.0 before 2.37.11
- Coder 2.38.0 before 2.38.7
- Coder 2.39.0 before 2.39.1
Recommended action
Upgrade Coder to a fixed release (2.29.27, 2.34.19, 2.37.11, 2.38.7, or 2.39.1 or later) and review database access logs for unexpected activity.
Details
| CVSS | 9.2 (Critical) |
| Vendor / product | coder |
| Published | 2026-11-26 |
| Weakness | CWE-209 |
| Vector | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/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 |
Original description
Coder before 2.29.27, 2.30.0 before 2.34.19, 2.35.0 before 2.37.11, 2.38.0 before 2.38.7, and 2.39.0 before 2.39.1 returns database connection errors containing a temporary AWS IAM database password in API key middleware responses. During database connection failures, unauthenticated attackers can send a well-formed but invalid API key to obtain the password and access the PostgreSQL database for 15 minutes.