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

Published Updated

CVSS score

Critical

9.2/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
2.39.1, 2.38.7, 2.37.11 +1
Attack path
Over the network
No login, no user action

What is CVE-2026-137547?

CVE-2026-137547 is a critical vulnerability in coder, published on 26 Nov 2026.

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

Weakness: CWE-209

How severe is CVE-2026-137547?

CVE-2026-137547 scores 9.2 out of 10 under CVSS 4.0, which is critical severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High

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

Which versions are affected by CVE-2026-137547?

6 open source packages ship an affected version, including github.com/coder/coder/v2.

PackageAffectedFixed in
github.com/coder/coder/v2 Go
pkg:golang/github.com/coder/coder/v2
All versions2.29.27
github.com/coder/coder/v2 Go
pkg:golang/github.com/coder/coder/v2
From 2.30.02.34.19
github.com/coder/coder/v2 Go
pkg:golang/github.com/coder/coder/v2
From 2.35.02.37.0
github.com/coder/coder/v2 Go
pkg:golang/github.com/coder/coder/v2
From 2.37.02.37.11
github.com/coder/coder/v2 Go
pkg:golang/github.com/coder/coder/v2
From 2.38.02.38.7
github.com/coder/coder/v2 Go
pkg:golang/github.com/coder/coder/v2
From 2.39.02.39.1

How do I fix CVE-2026-137547?

Upgrade github.com/coder/coder/v2 to a fixed version for your release line: 2.39.1, 2.38.7, 2.37.11 or 2.37.0.

Is CVE-2026-137547 being exploited?

There is no known exploitation of CVE-2026-137547 in the wild and no public exploit code.

Sources

Also known as GHSA-g8gr-3qjg-qvr3, GHSA-w4m3-qhx8-c649.

Is CVE-2026-137547 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free