Skip to main content

Coder CVE-2026-137547

| EUVDEUVD-2026-136767 CRITICAL
Error Message Information Leak (CWE-209)
2026-11-26 VulnCheck
9.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Coder API unauthenticated
  2. Delivery
    Send well-formed but invalid API key
  3. Exploit
    Trigger DB lookup during connection failure
  4. Execution
    Read temporary password from error detail
  5. Persist
    Connect to PostgreSQL with leaked credentials
  6. Impact
    Alter accounts/roles for persistent access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Error message sanitization
MITRE ATT&CK

1 technique across 1 tactic: Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the Coder deployment to be configured with AWS IAM database authentication (CODER_PG_AUTH=awsiamrds); deployments without this setting are explicitly not affected. The password is only exposed while Coder is failing to open new database connections - i.e. during a database outage or failover - so an attacker must act within that window and within the 15-minute validity of the leaked IAM token. The initial credential disclosure is unauthenticated (PR:N) via a correctly-formatted but invalid API key reaching the Coder API. To escalate beyond credential disclosure to reading/altering data, the attacker additionally needs network reachability to the PostgreSQL instance; restricting database network access and limiting the Coder DB user's permissions reduce but do not eliminate impact. The vendor states upgrading to a fixed version is the only complete fix.

Impact

This is a genuine high-priority issue, not a CVSS-inflated one, but its real-world exploitability is gated by specific conditions. The input CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) scores 9.2 and the vuln.today decision label is act_now, driven by unauthenticated network reach (PR:N) and high vulnerable-system confidentiality/integrity/availability impact (VC:H/VI:H/VA:H) once the leaked PostgreSQL credentials are used. The AC:H and AT:P metrics reflect a real constraint confirmed by the GHSA advisory: the password only appears in API errors while Coder is failing to open new database connections (e.g. during a database outage or failover), a window the attacker does not control. No EPSS score and no KEV status were provided; exploitation status is therefore 'no public exploit identified at time of analysis' (the only exploit-adjacent references are the vendor fix PR and the VulnCheck advisory, neither of which is working exploit code). The signals are consistent rather than conflicting: high impact and unauthenticated access justify urgency, while AC:H/AT:P and the awsiamrds-only precondition mean exploitation is opportunistic and timing-dependent rather than continuously available. Absence of EPSS/KEV data means widespread active exploitation is neither confirmed nor refuted.

Exploit ScenarioDerived

While a Coder deployment that uses AWS IAM database authentication (CODER_PG_AUTH=awsiamrds) is experiencing a database connection failure, an unauthenticated attacker sends a correctly-formatted but invalid API key to the Coder API, triggering a database lookup whose error detail leaks the connection URL containing a 15-minute IAM database password plus host, port and username. If the attacker can also reach the PostgreSQL instance over the network, they use the credential to read, modify or delete Coder data - including granting themselves roles that persist after the password expires. No public working exploit is identified at time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 26, 2026

Coder deployments configured with AWS IAM database authentication (CODER_PG_AUTH=awsiamrds) can leak a short-lived PostgreSQL credential through API error responses, allowing unauthenticated remote attackers to obtain the database password, host, port and username by sending a well-formed but invalid API key while the server is failing to open database connections. The exposed password is an IAM authentication token valid for 15 minutes, and an attacker who can also reach the PostgreSQL instance could read, alter or delete Coder data - including granting themselves access that persists beyond the token lifetime. The leak only occurs during a database outage or failover, and exploitation additionally requires network reachability to the database; no public exploit code or confirmed active exploitation was identified at time of analysis, but the seniority of the decision label (act_now) and the credential-disclosure-to-database-takeover path justify prompt patching. Deployments not using AWS IAM database authentication are explicitly not affected.

RemediationAI

Vendor-released patches exist for every supported line: upgrade to v2.39.1 (mainline), v2.38.7 (stable), v2.37.11 (security support), v2.34.19 (ESR) or v2.29.27 (ESR) per https://github.com/coder/coder/security/advisories/GHSA-w4m3-qhx8-c649; the vendor states upgrading is the only complete fix, and note the patch also removes internal error details from API key middleware responses, so API clients relying on raw database error text in the detail field may see changed behaviour. Because the leaked IAM token was also written to server logs and CLI output on every connection retry, treat existing Coder logs as containing credentials and restrict access to them accordingly. The documented workarounds limit blast radius but do not stop the password from appearing in errors: restrict network access to the PostgreSQL instance so only Coder hosts can connect, and reduce the Coder database user's privileges to the minimum the application requires - both narrow what a leaked token can reach, at the cost of tighter firewall/security-group management and possible application breakage if the role is trimmed too aggressively. Rotating the database credentials does not help beyond the token's 15-minute lifetime but should be considered if logs were broadly accessible during an outage window.

Affected VersionsENISA

coder 2.37.0 <2.37.11
coder 2.38.0 <2.38.7
coder 2.30.0 <2.34.19
coder 0 <2.29.27
coder 2.39.0 <2.39.1
coder 2.35.0 <2.37.0

Affected Packages

euvd coder fix: 2.29.27, 2.34.19, 2.37.0, 2.37.11, 2.38.7, 2.39.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-209 (generation of error message containing sensitive information), with the advisory also classifying it as CWE-532 (insertion of sensitive information into log files). In the Go codebase (go/github.com/coder/coder/v2), when CODER_PG_AUTH=awsiamrds is set, Coder mints a fresh AWS IAM RDS authentication token for every new database connection and embeds it in the PostgreSQL connection URL as the password field. When the driver failed to open a connection, its error string carried the entire connection URL - including that token - and the API key middleware surfaced the raw database error in the detail field of its JSON response. Because a correctly formatted but invalid API key still triggers a database lookup, any unauthenticated party able to reach the Coder API could elicit the error; the same URL was also written to server logs and CLI output on each connection retry, widening exposure to anyone with log access. The token's 15-minute validity is the exploitation window. The fix strips the connection URL from the driver error and stops the API key middleware from returning internal error details. Note that the advisory's package metadata lists a >= 2.35.0, < 2.37.0 range as 'not yet patched' even though 2.37.11 is published as the fix for the security-support line, so operators on 2.35.x/2.36.x should verify against the GitHub advisory rather than assume a gap.

Know when Coder gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 8.1 HIGH

Unauthenticated network leak (PR:N) but only during an attacker-uncontrolled database-failure window (AC:H); leaked DB credentials permit read, modify and delete, so C:H/I:H/A:H.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 26, 2026 - 17:02 EUVD
CVE Published
Nov 26, 2026 - 16:00 cve.org
CRITICAL 9.2

DescriptionCVE.org

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.

Technical POC Analysis

The vulnerable behavior is CWE-209: generation of an error message containing sensitive information.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Coder deployments using AWS IAM database authentication face a critical vulnerability that can expose temporary database credentials through API error responses, potentially enabling unauthorized access to sensitive Coder data. Although exploitation requires a database outage and network access to the database, the credential disclosure could lead to data breaches and persistent unauthorized access, affecting all users relying on the affected Coder platform.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting network access to the PostgreSQL database, monitoring API error responses, and considering temporary changes to database authentication configuration.

Threat Intelligence Overview

EPSS Score
0.5%
Top 65% exploitable
Prevalence
Low
niche self-hosted cloud development environment platform, not broadly deployed enterprise software
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Coder

View all
CVE-2025-58437 HIGH POC
8.1 Sep 06

Coder allows organizations to provision remote development environments via Terraform. Rated high severity (CVSS 8.1), t

CVE-2025-66411 HIGH POC
7.8 Dec 03

Coder allows organizations to provision remote development environments via Terraform. Prior to 2.26.5, 2.27.7, and 2.28

CVE-2021-3810 HIGH POC
7.5 Sep 17

code-server is vulnerable to Inefficient Regular Expression Complexity. Rated high severity (CVSS 7.5), this vulnerabili

CVE-2023-26114 CRITICAL
9.3 Mar 23

Versions of the package code-server before 4.10.1 are vulnerable to Missing Origin Validation in WebSockets handshakes.

CVE-2026-126308 HIGH
8.7 Nov 13

Credential disclosure in Coder's web dashboard (CVSS 4.0 base 8.7, High) lets an authenticated low-privileged attacker w

CVE-2026-111927 HIGH
8.7 Oct 17

Credential theft in Coder (before 2.29.20, 2.33.0 through 2.33.11, 2.34.0 through 2.34.7, and 2.35.0 through 2.35.3) let

CVE-2026-126403 HIGH
8.5 Nov 13

Improper authorization in Coder's external agent credentials endpoint lets authenticated users who hold only workspace r

CVE-2026-137546 HIGH
8.4 Nov 26

Session-token leakage in Coder's `coder open app` CLI command lets a malicious template author steal the credentials of

CVE-2026-63443 HIGH
8.3 Sep 15

Authenticated Coder users who control a modified workspace agent can redirect the control plane's workspace-agent API re

CVE-2026-118687 HIGH
8.3 Oct 28

Coder deployments that run workspace agents on Google Compute Engine with GCP instance-identity authentication accept re

CVE-2024-27918 HIGH
8.2 Mar 21

Coder allows oragnizations to provision remote development environments via Terraform. Rated high severity (CVSS 8.2), t

CVE-2026-69154 HIGH
7.8 Nov 16

Arbitrary shell command execution and security-setting tampering in the Coder VS Code extension (coder.coder-remote) ver

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy