{"answers":{"affected":"8 open source packages ship an affected version, including github.com/coder/coder/v2 and github.com/coder/coder. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-66411 in the wild and no public exploit code.","fix":"Upgrade github.com/coder/coder/v2 to a fixed version for your release line: 2.26.5, 2.27.7 or 2.28.4.","what":"CVE-2025-66411 is a high-severity vulnerability in coder, published on 3 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-66411 and fix it if it is affected.\n\nWhat it is: CVE-2025-66411 is a high-severity vulnerability in coder, published on 3 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-66411 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.26.5, 2.27.7, 2.28.4\n- github.com/coder/coder/v2 (Go): affected all versions; fixed in 2.26.5\n- github.com/coder/coder/v2 (Go): affected all versions; fixed in 2.26.5\n- github.com/coder/coder/v2 (Go): affected from 2.27.0; fixed in 2.27.7\n- github.com/coder/coder/v2 (Go): affected from 2.27.0; fixed in 2.27.7\n- github.com/coder/coder/v2 (Go): affected from 2.28.0; fixed in 2.28.4\n- github.com/coder/coder/v2 (Go): affected from 2.28.0; fixed in 2.28.4\n- github.com/coder/coder (Go): affected all versions; no fix listed\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-2025-66411/ (Markdown: https://insights.sbomify.com/CVE-2025-66411/index.md)","id":"CVE-2025-66411","markdown":"https://insights.sbomify.com/CVE-2025-66411/index.md","name":"CVE-2025-66411","record":{"aliases":["GHSA-jf75-p25m-pw74","GO-2025-4182"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Coder remote dev environment","requires_auth":"low_privilege","summary":"Attackers with local or log access can read sensitive workspace agent manifests due to unsanitized logging in Coder.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"coder","vendor":"coder"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"description":"Coder allows organizations to provision remote development environments via Terraform. Prior to 2.26.5, 2.27.7, and 2.28.4, Workspace Agent manifests containing sensitive values were logged in plaintext unsanitized. An attacker with limited local access to the Coder Workspace (VM, K8s Pod etc.) or a third-party system (SIEM, logging stack) could access those logs. This vulnerability is fixed in 2.26.5, 2.27.7, and 2.28.4.","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":true,"headline":"Coder logged sensitive objects unsanitized","id":"CVE-2025-66411","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2025"},"n_packages":8,"n_references":5,"next":{"headline":"Angular Stored XSS Vulnerability via SVG Animation, SVG URL and MathML Attributes","id":"CVE-2025-66412"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/coder/coder","purl":"pkg:golang/github.com/coder/coder","source":"GO-2025-4182"},{"ecosystem":"Go","fixed":["2.26.5","2.27.7","2.28.4"],"introduced":["0","2.27.0","2.28.0"],"last_affected":[],"package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"GO-2025-4182"},{"ecosystem":"Go","fixed":["2.26.5"],"introduced":["0"],"last_affected":[],"package":"github.com/coder/coder/v2","purl":null,"source":"GHSA-jf75-p25m-pw74"},{"ecosystem":"Go","fixed":["2.26.5"],"introduced":["0"],"last_affected":[],"package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"GHSA-jf75-p25m-pw74"},{"ecosystem":"Go","fixed":["2.27.7"],"introduced":["2.27.0"],"last_affected":[],"package":"github.com/coder/coder/v2","purl":null,"source":"GHSA-jf75-p25m-pw74"},{"ecosystem":"Go","fixed":["2.27.7"],"introduced":["2.27.0"],"last_affected":[],"package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"GHSA-jf75-p25m-pw74"},{"ecosystem":"Go","fixed":["2.28.4"],"introduced":["2.28.0"],"last_affected":[],"package":"github.com/coder/coder/v2","purl":null,"source":"GHSA-jf75-p25m-pw74"},{"ecosystem":"Go","fixed":["2.28.4"],"introduced":["2.28.0"],"last_affected":[],"package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"GHSA-jf75-p25m-pw74"}],"prev":{"headline":"Gin-vue-admin has an arbitrary file deletion vulnerability","id":"CVE-2025-66410"},"products":["coder"],"published":"2025-12-03","related":[{"cvss_score":9.1,"headline":"Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft","id":"CVE-2026-46354","kev_date_added":null,"published":"2026-07-07"},{"cvss_score":8.7,"headline":"Coder's workspace app upsert allows cross-workspace agent rebinding via user-controlled app ID","id":"CVE-2026-55429","kev_date_added":null,"published":"2026-07-08"},{"cvss_score":8.3,"headline":"Coder vulnerable to SSH config injection via unsanitized server-supplied values in `coder config-ssh`","id":"CVE-2026-55427","kev_date_added":null,"published":"2026-07-07"},{"cvss_score":8.2,"headline":"Coder: Route hijacking through lack of validation of agent-supplied AllowedIPs in tailnet coordinator","id":"CVE-2026-55428","kev_date_added":null,"published":"2026-07-07"},{"cvss_score":8.2,"headline":"Coder's OIDC authentication allows email with partially matching domain to register","id":"CVE-2024-27918","kev_date_added":null,"published":"2024-03-06"},{"cvss_score":8.1,"headline":"Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent","id":"CVE-2026-44454","kev_date_added":null,"published":"2026-07-07"},{"cvss_score":8.1,"headline":"Coder's privilege escalation vulnerability could lead to a cross workspace compromise","id":"CVE-2025-58437","kev_date_added":null,"published":"2025-09-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-12-03","vendors":["coder"]},"summary":"Attackers with local or log access can read sensitive workspace agent manifests due to unsanitized logging in Coder.","url":"https://insights.sbomify.com/CVE-2025-66411/"}