CVE-2026-137547
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 containin…
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products (Coder)
| Product | Affected versions |
|---|---|
| Coder | from 2.39.0 before 2.39.1 from 2.38.0 before 2.38.7 from 2.37.0 before 2.37.11 from 2.30.0 before 2.34.19 before 2.29.27 from 2.35.0 before 2.37.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/coder/coder/security/advisories/GHSA-w4m3-qhx8-c649
- https://www.vulncheck.com/advisories/coder-from-2.39.0-before-2.39.1-database-password-exposure-via-api-errors
- https://github.com/advisories/GHSA-g8gr-3qjg-qvr3
- https://nvd.nist.gov/vuln/detail/CVE-2026-137547