CVE-2026-137547
Coder from 2.39.0 before 2.39.1 Database Password Exposure via API Errors
9.2
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| coder | coder | 2.39.0 → <2.39.1 | 2.39.1 | CVE.org |
| coder | coder | 2.38.0 → <2.38.7 | 2.38.7 | CVE.org |
| coder | coder | 2.37.0 → <2.37.11 | 2.37.11 | CVE.org |
| coder | coder | 2.30.0 → <2.34.19 | 2.34.19 | CVE.org |
| coder | coder | 0 → <2.29.27 | 2.29.27 | CVE.org |
| coder | coder | 2.35.0 → <2.37.0 | 2.37.0 | CVE.org |