{"answers":{"affected":"6 open source packages ship an affected version, including github.com/coder/coder/v2.","exploited":"There is no known exploitation of CVE-2026-137547 in the wild and no public exploit code.","exposure":"","fix":"Upgrade github.com/coder/coder/v2 to a fixed version for your release line: 2.39.1, 2.38.7, 2.37.11 or 2.37.0.","what":"CVE-2026-137547 is a critical vulnerability in coder, published on 26 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-137547 and fix it if it is affected.\n\nWhat it is: CVE-2026-137547 is a critical vulnerability in coder, published on 26 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-137547 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/coder/coder/v2 (Go): affected all versions; fixed in 2.29.27\n- github.com/coder/coder/v2 (Go): affected from 2.30.0; fixed in 2.34.19\n- github.com/coder/coder/v2 (Go): affected from 2.35.0; fixed in 2.37.0\n- github.com/coder/coder/v2 (Go): affected from 2.37.0; fixed in 2.37.11\n- github.com/coder/coder/v2 (Go): affected from 2.38.0; fixed in 2.38.7\n- github.com/coder/coder/v2 (Go): affected from 2.39.0; fixed in 2.39.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-137547/ (Markdown: https://insights.sbomify.com/CVE-2026-137547/index.md)","id":"CVE-2026-137547","markdown":"https://insights.sbomify.com/CVE-2026-137547/index.md","name":"CVE-2026-137547","record":{"aliases":["GHSA-g8gr-3qjg-qvr3","GHSA-w4m3-qhx8-c649"],"analysis":null,"analysis_generated_by":null,"assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":9.2,"severity":"critical","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Coder from 2.39.0 before 2.39.1 Database Password Exposure via API Errors","id":"CVE-2026-137547","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":["2.39.1","2.38.7","2.37.11","2.37.0"],"main_package":"github.com/coder/coder/v2","n_packages":6,"n_references":2,"n_vendor_status":0,"next":{"headline":"Coder from 2.38.0 before 2.38.7 Unsafe URL Scheme in App Status Links","id":"CVE-2026-137548"},"nickname":null,"packages":[{"ecosystem":"Go","fixed":["2.29.27"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","purl_source":"cna","scope":"upstream","source":"CVE-2026-137547"},{"ecosystem":"Go","fixed":["2.34.19"],"introduced":["2.30.0"],"last_affected":[],"name_kind":null,"package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","purl_source":"cna","scope":"upstream","source":"CVE-2026-137547"},{"ecosystem":"Go","fixed":["2.37.0"],"introduced":["2.35.0"],"last_affected":[],"name_kind":null,"package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","purl_source":"cna","scope":"upstream","source":"CVE-2026-137547"},{"ecosystem":"Go","fixed":["2.37.11"],"introduced":["2.37.0"],"last_affected":[],"name_kind":null,"package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","purl_source":"cna","scope":"upstream","source":"CVE-2026-137547"},{"ecosystem":"Go","fixed":["2.38.7"],"introduced":["2.38.0"],"last_affected":[],"name_kind":null,"package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","purl_source":"cna","scope":"upstream","source":"CVE-2026-137547"},{"ecosystem":"Go","fixed":["2.39.1"],"introduced":["2.39.0"],"last_affected":[],"name_kind":null,"package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","purl_source":"cna","scope":"upstream","source":"CVE-2026-137547"}],"prev":{"headline":"Coder from 2.39.0 before 2.39.1 Session Token Leak via coder open app","id":"CVE-2026-137546"},"products":["coder"],"published":"2026-11-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-26","vendor_status":[],"vendors":["coder"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-137547/"}