{"answers":{"affected":"2 open source packages ship an affected version, including gov.nsa.emissary:emissary. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-35580 in the wild and no public exploit code.","fix":"Upgrade gov.nsa.emissary:emissary to 8.39.0 or later.","what":"CVE-2026-35580 is a critical command injection vulnerability in NationalSecurityAgency emissary, published on 7 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-35580 and fix it if it is affected.\n\nWhat it is: CVE-2026-35580 is a critical command injection vulnerability in NationalSecurityAgency emissary, published on 7 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-35580 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- gov.nsa.emissary:emissary (Maven): affected all versions; fixed in 8.39.0\n- gov.nsa.emissary:emissary (Maven): affected all versions; fixed in 8.39.0\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-35580/ (Markdown: https://insights.sbomify.com/CVE-2026-35580/index.md)","id":"CVE-2026-35580","markdown":"https://insights.sbomify.com/CVE-2026-35580/index.md","name":"CVE-2026-35580","record":{"aliases":["GHSA-3g6g-gq4r-xjm9"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Emissary workflow engine","requires_auth":"high_privilege","summary":"Attackers with repository write access can inject shell commands into GitHub Actions workflows, leading to supply chain compromise.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"emissary","vendor":"nsa"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"Emissary is a P2P based data-driven workflow engine. Prior to 8.39.0, GitHub Actions workflow files contained shell injection points where user-controlled workflow_dispatch inputs were interpolated directly into shell commands via ${{ }} expression syntax. An attacker with repository write access could inject arbitrary shell commands, leading to repository poisoning and supply chain compromise affecting all downstream users. This vulnerability is fixed in 8.39.0.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2026-09-05","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-09-05T01:10:05Z","kind":"github_poc","ref":"https://github.com/pvharmo2/gha-lab-ed7a1740c4","stars":0,"title":"Security-research lab: controlled reproduction of GHSA-3g6g-gq4r-xjm9 / CVE-2026-35580 (GitHub Actions workflow_dispatch input shell injection) against a pinned snapshot of NationalSecurityAgency/emissary"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Emissary has GitHub Actions Shell Injection via Workflow Inputs","id":"CVE-2026-35580","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Emissary has a Command Injection via PLACE_NAME Configuration in Executrix","id":"CVE-2026-35581"},"packages":[{"ecosystem":"Maven","fixed":["8.39.0"],"introduced":["0"],"last_affected":[],"package":"gov.nsa.emissary:emissary","purl":null,"source":"GHSA-3g6g-gq4r-xjm9"},{"ecosystem":"Maven","fixed":["8.39.0"],"introduced":["0"],"last_affected":[],"package":"gov.nsa.emissary:emissary","purl":"pkg:maven/gov.nsa.emissary/emissary","source":"GHSA-3g6g-gq4r-xjm9"}],"prev":{"headline":"CoreDNS TSIG authentication bypass on gRPC, QUIC, DoH, and DoH3 transports","id":"CVE-2026-35579"},"products":["emissary"],"published":"2026-04-07","related":[{"cvss_score":8.8,"headline":"Emissary has an OS Command Injection via Unvalidated IN_FILE_ENDING / OUT_FILE_ENDING in Executrix","id":"CVE-2026-35582","kev_date_added":null,"published":"2026-04-18"},{"cvss_score":8.8,"headline":"File upload in n/a","id":"CVE-2021-32094","kev_date_added":null,"published":"2021-05-07"},{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2021-32096","kev_date_added":null,"published":"2021-05-07"},{"cvss_score":8.1,"headline":"Missing authorization in n/a","id":"CVE-2021-32095","kev_date_added":null,"published":"2021-05-07"},{"cvss_score":8,"headline":"Post-authentication Remote Code Execution (RCE) in emissary:emissary","id":"CVE-2021-32647","kev_date_added":null,"published":"2021-05-28"},{"cvss_score":7.2,"headline":"Emissary has a Command Injection via PLACE_NAME Configuration in Executrix","id":"CVE-2026-35581","kev_date_added":null,"published":"2026-04-07"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-07","vendors":["NationalSecurityAgency"]},"summary":"Attackers with repository write access can inject shell commands into GitHub Actions workflows, leading to supply chain compromise.","url":"https://insights.sbomify.com/CVE-2026-35580/"}