{"answers":{"affected":"2 open source packages ship an affected version, including org.scala-sbt:sbt. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32948 exists.","fix":"Upgrade org.scala-sbt:sbt to 1.12.8 or later.","what":"CVE-2026-32948 is a medium-severity command injection vulnerability in sbt, published on 24 Mar 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-32948 and fix it if it is affected.\n\nWhat it is: CVE-2026-32948 is a medium-severity command injection vulnerability in sbt, published on 24 Mar 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32948 exists.\n\nAffected packages and fixed versions:\n- org.scala-sbt:sbt (Maven): affected from 0.9.5; fixed in 1.12.8\n- org.scala-sbt:sbt (Maven): affected from 0.9.5; fixed in 1.12.8\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-32948/ (Markdown: https://insights.sbomify.com/CVE-2026-32948/index.md)","id":"CVE-2026-32948","markdown":"https://insights.sbomify.com/CVE-2026-32948/index.md","name":"CVE-2026-32948","record":{"aliases":["GHSA-x4ff-q6h8-v7gw"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Scala build tool","requires_auth":"none","summary":"A command injection vulnerability in sbt allows arbitrary code execution on Windows via crafted VCS URLs in build definitions.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"sbt","vendor":"scala.epfl"}],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"sbt is a build tool for Scala, Java, and others. From version 0.9.5 to before version 1.12.7, on Windows, sbt uses Process(\"cmd\", \"/c\", ...) to run VCS commands (git, hg, svn). The URI fragment (branch, tag, revision) is user-controlled via the build definition and passed to these commands without validation. Because cmd /c interprets \u0026, |, and ; as command separators, a malicious fragment can execute arbitrary commands. This issue has been patched in version 1.12.7.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"sbt: Source dependency feature (via crafted VCS URL) leads to arbitrary code execution on Windows","id":"CVE-2026-32948","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"SQLBot: SSRF to Arbitrary File Read (AFR) via Rogue MySQL","id":"CVE-2026-32949"},"packages":[{"ecosystem":"Maven","fixed":["1.12.8"],"introduced":["0.9.5"],"last_affected":[],"package":"org.scala-sbt:sbt","purl":null,"source":"GHSA-x4ff-q6h8-v7gw"},{"ecosystem":"Maven","fixed":["1.12.8"],"introduced":["0.9.5"],"last_affected":[],"package":"org.scala-sbt:sbt","purl":"pkg:maven/org.scala-sbt/sbt","source":"GHSA-x4ff-q6h8-v7gw"}],"prev":{"headline":"Egress Policy Bypass via DNS over HTTPS (DoH) in Harden-Runner (Community Tier)","id":"CVE-2026-32947"},"products":["sbt"],"published":"2026-03-24","related":[],"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":"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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-26","vendors":["sbt"]},"summary":"A command injection vulnerability in sbt allows arbitrary code execution on Windows via crafted VCS URLs in build definitions.","url":"https://insights.sbomify.com/CVE-2026-32948/"}