# CVE-2026-137547: Coder from 2.39.0 before 2.39.1 Database Password Exposure via API Errors

- Severity: Critical 9.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-11-26T16:00:16.045Z
- Modified: 2026-12-01T20:18:53.460Z
- Weaknesses: CWE-209
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- coder 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 (not affected: 2.39.1; 2.38.7; 2.37.11; 2.34.19; 2.29.27; 2.37.0)

## Every score

- VulnCheck: CVSS:4.0 9.2 Critical `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`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/coder/coder/security/advisories/GHSA-w4m3-qhx8-c649> (vendor-advisory)
- <https://www.vulncheck.com/advisories/coder-from-2.39.0-before-2.39.1-database-password-exposure-via-api-errors> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-137547](https://www.cve.org/CVERecord?id=CVE-2026-137547), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-137547](https://nvd.nist.gov/vuln/detail/CVE-2026-137547), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-137547 · Whole record: https://cve.day/CVE-2026-137547.json · Rebuilt by cve.day 2026-12-01T20:32:47.790Z
