cvelo
P2 · HighCVSS 8.1EPSS 0.5%

Coder from 2.39.0 before 2.39.1 Database Password Exposure via API Errors

  • CVE-2026-137547
  • GHSA-g8gr-3qjg-qvr3
  • EUVD-2026-136767

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.

Text from the CVE.org record.

Recommendation

  • coder

    • If you run 2.39.xupdate to 2.39.1 or laterPatch update: breaking changes are unlikely
    • If you run 2.38.xupdate to 2.38.7 or laterPatch update: breaking changes are unlikely
    • If you run 2.37.xupdate to 2.37.11 or laterPatch update: breaking changes are unlikely
    • If you run a version from 2.35.0 to before 2.37.0update to 2.37.0 or laterMinor version change: check the release notes
    • If you run a version from 2.30.0 to before 2.34.19update to 2.34.19 or laterMinor version change: check the release notes
    • If you run a version before 2.29.27update to 2.29.27 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • coder

    Affected versionsFixed in
    from 2.39.0 to before 2.39.12.39.1
    from 2.38.0 to before 2.38.72.38.7
    from 2.37.0 to before 2.37.112.37.11
    from 2.35.0 to before 2.37.02.37.0
    from 2.30.0 to before 2.34.192.34.19
    before 2.29.272.29.27

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.