{"answers":{"affected":"5 open source packages ship an affected version, including github.com/coder/coder/v2.","exploited":"There is no known exploitation of CVE-2026-134362 in the wild and no public exploit code.","exposure":"An affected version is exposed as installed. No special setting or call is needed.","fix":"Upgrade github.com/coder/coder/v2 to a fixed version for your release line: 2.38.6, 2.37.10, 2.37.0 or 2.34.18.","what":"CVE-2026-134362 is a low-severity cross-site request forgery vulnerability in coder, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-134362 and fix it if it is affected.\n\nWhat it is: CVE-2026-134362 is a low-severity cross-site request forgery vulnerability in coder, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-134362 in the wild and no public exploit code.\nExposure: An affected version is exposed as installed. No special setting or call is needed.\n\nAffected packages and fixed versions:\n- github.com/coder/coder/v2 (Go): affected from 2.30.0; fixed in 2.34.18\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.10\n- github.com/coder/coder/v2 (Go): affected from 2.38.0; fixed in 2.38.6\n- github.com/coder/coder/v2 (Go): affected from 2.6.0; fixed in 2.29.26\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-134362/ (Markdown: https://insights.sbomify.com/CVE-2026-134362/index.md)","id":"CVE-2026-134362","markdown":"https://insights.sbomify.com/CVE-2026-134362/index.md","name":"CVE-2026-134362","record":{"aliases":["GHSA-7c5g-8j62-4pg8","GHSA-jvgx-787p-cfmg"],"analysis":{"component_type":"developer_tool","exploitable_when_present":false,"fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"remote development platform","requires_auth":"none","requires_specific_call":false,"summary":"Attackers controlling a same-site page can make signed-in Coder users send forged requests to recreate dev containers or add users to organizations.","user_interaction":"required","vuln_class":"csrf","vulnerable_functions":[]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":2.3,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"Coder 2.6.0 before 2.29.26, 2.30.0 before 2.34.18, 2.35.0 before 2.37.10, and 2.38.0 before 2.38.6 contains a cross-site request forgery vulnerability because CSRF exemption patterns in coderd/httpmw/csrf.go are matched as unanchored regular expressions, letting affected API routes skip CSRF token and same-origin checks. Attackers controlling a page same-site with the deployment can make signed-in users' browsers send forged POST requests that recreate dev containers or add users whose names contain derp to organizations.","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.38.0 before 2.38.6 CSRF Bypass via Unanchored Exemption Patterns","id":"CVE-2026-134362","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"csrf","year":"2026"},"main_cpe":null,"main_fixed":["2.38.6","2.37.10","2.37.0","2.34.18"],"main_package":"github.com/coder/coder/v2","n_packages":5,"n_references":2,"n_vendor_status":0,"next":{"headline":"Coder 2.38.0 before 2.38.5 Symlink Path Traversal via read_skill_file","id":"CVE-2026-134363"},"nickname":null,"packages":[{"ecosystem":"Go","fixed":["2.34.18"],"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-134362"},{"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-134362"},{"ecosystem":"Go","fixed":["2.37.10"],"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-134362"},{"ecosystem":"Go","fixed":["2.38.6"],"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-134362"},{"ecosystem":"Go","fixed":["2.29.26"],"introduced":["2.6.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-134362"}],"prev":{"headline":"Coder 2.37.0 before 2.37.1 Denial of Service via Agent RPC Calls","id":"CVE-2026-134361"},"products":["coder"],"published":"2026-11-21","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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-25","vendor_status":[],"vendors":["coder"]},"summary":"Attackers controlling a same-site page can make signed-in Coder users send forged requests to recreate dev containers or add users to organizations.","url":"https://insights.sbomify.com/CVE-2026-134362/"}