Database password exposed in Coder API key error responses
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-209.
Summary
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 return database connection errors that contain a temporary AWS IAM database password in API key middleware responses. The flaw is an error message that includes sensitive information (CWE-209). During database connection failures, an unauthenticated remote attacker can obtain the password and use it to access the PostgreSQL database for 15 minutes.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| coder | coder | 2.39.0 to before 2.39.1 | 2.39.1 | Patch available | CNA |
| coder | coder | 2.38.0 to before 2.38.7 | 2.38.7 | Patch available | CNA |
| coder | coder | 2.37.0 to before 2.37.11 | 2.37.11 | Patch available | CNA |
| coder | coder | 2.30.0 to before 2.34.19 | 2.34.19 | Patch available | CNA |
| coder | coder | before 2.29.27 | 2.29.27 | Patch available | CNA |
| coder | coder | 2.35.0 to before 2.37.0 | 2.37.0 | Patch available | CNA |
- coder Vendorcoder Affected 2.39.0 to before 2.39.1 Fixed in 2.39.1 Patch available CNA
- coder Vendorcoder Affected 2.38.0 to before 2.38.7 Fixed in 2.38.7 Patch available CNA
- coder Vendorcoder Affected 2.37.0 to before 2.37.11 Fixed in 2.37.11 Patch available CNA
- coder Vendorcoder Affected 2.30.0 to before 2.34.19 Fixed in 2.34.19 Patch available CNA
- coder Vendorcoder Affected before 2.29.27 Fixed in 2.29.27 Patch available CNA
- coder Vendorcoder Affected 2.35.0 to before 2.37.0 Fixed in 2.37.0 Patch available CNA
Remediation
Upgrade Coder to 2.29.27, 2.34.19, 2.37.11, 2.38.7, or 2.39.1, depending on the release branch in use.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA coder (coder) Fixed in 2.39.1
- Fix · CNA coder (coder) Fixed in 2.38.7
- Fix · CNA coder (coder) Fixed in 2.37.11
- Fix · CNA coder (coder) Fixed in 2.34.19
- Fix · CNA coder (coder) Fixed in 2.29.27
- Fix · CNA coder (coder) Fixed in 2.37.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
coder 2.29.27
4 records Highest priority Priority MEDIUM 1 MEDIUM, 3 LOW
Other records, highest priority first
- TI-2026-98972 Session token leak in Coder via coder open appPriority LOW 37
- TI-2026-98971 Nil pointer dereference in Coder tailnet coordinator crashes coderdPriority LOW 32
- TI-2026-98974 Unsafe URL scheme in Coder app status linksPriority LOW 23
- Release ·
coder 2.34.19, 2.37.11, 2.38.7
3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-98972 Session token leak in Coder via coder open appPriority LOW 37
- TI-2026-98974 Unsafe URL scheme in Coder app status linksPriority LOW 23
Show 2 more groups
- Release ·
coder 2.37.0
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-98974 Unsafe URL scheme in Coder app status linksPriority LOW 23
- Release ·
coder 2.39.1
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-98972 Session token leak in Coder via coder open appPriority LOW 37
Timeline
- 2026-11-26 Threatist record created from CVE-2026-137547
- 2026-11-27 Alias added: GHSA-g8gr-3qjg-qvr3
References
More coder vulnerabilities
- TI-2025-37344 AgentAPI exposed user chat history via a DNS rebinding attack CVSS 3.1MEDIUM 6.5
- TI-2026-34071 Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft CVSS 3.1CRITICAL 9.1
- TI-2026-32394 Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent CVSS 3.1HIGH 8.8
- TI-2026-27585 Code Extension Marketplace has a Zip Slip Path Traversal CVSS 4.0HIGH 8.7
- TI-2024-18523 Coder's OIDC authentication allows email with partially matching domain to register CVSS 3.1HIGH 8.2
- TI-2023-11339 Origin validation error in code-server CVSS 3.1CRITICAL 9.3
Sources
- CVE-2026-137547 · CVE Program
- CVE-2026-137547 · NVD
- FIRST EPSS
- GHSA-g8gr-3qjg-qvr3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences