Skip to content

An editorial team and a community building with AI

← All articles

News · Coder · 2 min read

Event date: · Published:

Coder patches critical flaw that leaked AWS database passwords in API error messages

Coder disclosed CVE-2026-137547 on November 26, 2026, a critical flaw that exposed temporary AWS IAM PostgreSQL passwords in API error responses, letting unauthenticated attackers gain brief database access.

Coder disclosed a critical vulnerability, CVE-2026-137547, on November 26, 2026, in a security advisory, GHSA-w4m3-qhx8-c649, describing a flaw in its API key middleware that exposed a temporary AWS IAM PostgreSQL password inside error responses. Coder is a self-hosted cloud workspace platform widely used to run AI coding agents, and the flaw let an unauthenticated attacker gain database access for about 15 minutes.

The vulnerability in detail

  • CVE-2026-137547 is rated critical with a CVSS v4.0 score of 9.2 (CVSS v3.1 score 8.1), according to the CVE Record for CVE-2026-137547.
  • The weakness is classified as CWE-209, Generation of Error Message Containing Sensitive Information.
  • During a database connection failure, an unauthenticated attacker can submit a well-formed but invalid API key and receive the temporary AWS IAM database password in the error response.
  • The leaked password grants PostgreSQL database access for approximately 15 minutes.
  • Affected versions include 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, with fixes released in 2.29.27, 2.34.19, 2.37.11, 2.38.7, and 2.39.1.

What it means for AI builders

Coder hosts cloud development environments that increasingly run autonomous AI coding agents with database and infrastructure access, so a credential leak in its own control plane is a direct supply-chain risk for teams running agentic workflows.

Mitigation and next steps

  • Installations on the 2.35 or 2.36 lines must migrate to one of the fixed lines, since those lines have no direct patch.
  • Coder recommends restricting PostgreSQL network reachability and narrowing the database user's permissions.
  • The company notes these controls limit impact but do not prevent the underlying disclosure.

Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

Coder patches critical flaw that leaked AWS database passwords in API error messages | vibecoding.inc