External risk intelligence

Coder Database Password Exposure via API Errors.

CVE advisorySeverity: CRITICAL (CVSS 9.2)

CVE-2026-137547

The vulnerability exists within Coder, a platform commonly deployed as a web-based remote development environment. Because the application exposes API endpoints to facilitate these remote services, it is typically reachable from the network or the internet in standard deployment configurations, making the affected interface a likely target for remote interaction.

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This vulnerability affects the Coder platform, exposing temporary database passwords in error messages under specific connection failure conditions. An unauthenticated attacker could potentially leverage these errors to gain access to the PostgreSQL database for a limited time. The primary concern at this stage is to confirm if your organization utilizes the affected Coder versions and if this exposure is relevant to your environment.

  • Database passwords exposed in error messages.
  • Unauthenticated access to database possible.
  • Confirm relevance and exposure of Coder.

Attack Path

How an attacker could exploit the issue

An attacker can gain access to sensitive database credentials by sending malformed API requests to a vulnerable Coder instance. If the database connection fails, the system will expose a temporary AWS IAM password within the API's error response. This allows an unauthenticated attacker to retrieve the password and access the PostgreSQL database for a limited time.

  • Attacker needs network access.
  • Invalid API key triggers password exposure.
  • Unauthorized database access for 15 minutes.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could expose temporary AWS IAM database passwords within API error responses when database connections fail. An unauthenticated attacker could potentially obtain these passwords and gain access to the PostgreSQL database for a limited time.

  • Database connection credentials.
  • API error responses leak credentials.
  • Unauthorized database access.

Operational Fix

Recommended remediation, mitigation, and detection steps

This vulnerability in Coder may expose temporary AWS IAM database passwords through API responses during connection failures. Infrastructure and platform teams are likely responsible for addressing this. The first practical step is to identify all instances of Coder, confirm their network reachability and business criticality, and then engage the appropriate application or platform owner to plan remediation.

  • Infrastructure/Platform teams own this.
  • Verify Coder instances, reachability, and criticality.
  • Plan remediation based on risk and vendor coordination.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is Coder?

Coder is a software platform used to provide remote development environments, typically accessed through a web interface. It acts as a bridge between developers and their cloud-based compute resources. Because it manages infrastructure connectivity, it requires secure communication with backend systems like PostgreSQL databases to function correctly.

What does CWE-209 mean for CVE-2026-137547?

CWE-209 refers to the 'Generation of Error Message Containing Sensitive Information.' In this CVE, the vulnerability occurs when the software experiences a database connection error. Instead of simply reporting that a failure occurred, the application mistakenly includes a sensitive temporary AWS IAM database password in the error details returned to the API caller.

How can an attacker trigger this vulnerability?

An unauthenticated attacker triggers this by sending a specifically formatted but invalid API key to the Coder platform. The bug only manifests when this request causes the system's database connection to fail. If the connection is successful, the password is not returned in the error response, meaning the flaw is conditional on the system being unable to reach its database.

Is my Coder instance at risk?

According to Halo Surface Signal, Coder is typically deployed as a web-based service with API endpoints designed to be reachable over a network or the internet. If your instance is internet-facing or accessible to untrusted network segments, it is considered a likely target for this type of remote interaction.

How do I respond to this threat?

Begin by auditing your environment to locate all running instances of Coder. Check which versions are installed to determine if they fall within the affected ranges. Once you have identified your footprint, coordinate with your infrastructure or platform teams to prioritize patching the vulnerable systems.

References