CVE-2026-137547: Vulnerability in Coder

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

CWE-209

Exploitation
None confirmed
Severity
9.2 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-g8gr-3qjg-qvr3
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
Weakness
CWE-209
Published
26 Nov 2026
Last change
1 Dec 2026

Affected products

Affected versions and the first fixed release

  • 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. Fixed in 2.39.1, 2.38.7, 2.37.11, 2.34.19, 2.29.27, 2.37.0

Advisories

Vendor and security advisories

Related