Coder from 2.39.0 before 2.39.1 Database Password Exposure via API Errors

State
Published
Severity
9.2 Critical
Published
Nov 26, 2026
Updated
Nov 26, 2026
Reserved
Nov 26, 2026

Read the record on cve.org

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.

ProductVersions
coder coder2.39.0 to before 2.39.1 Affected2.39.1 Not Affected
coder coder2.38.0 to before 2.38.7 Affected2.38.7 Not Affected
coder coder2.37.0 to before 2.37.11 Affected2.37.11 Not Affected
coder coder2.30.0 to before 2.34.19 Affected2.34.19 Not Affected
coder coderbefore 2.29.27 Affected2.29.27 Not Affected
coder coder2.35.0 to before 2.37.0 Affected2.37.0 Not Affected

Weaknesses

  • CWE-209 Generation of Error Message Containing Sensitive Information

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.