{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-8795 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-8795 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-8795 is a high-severity code injection vulnerability in Rapid7 Velociraptor, published on 9 Jun 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-8795 and fix it if it is affected.\n\nWhat it is: CVE-2026-8795 is a high-severity code injection vulnerability in Rapid7 Velociraptor, published on 9 Jun 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: There is no known exploitation of CVE-2026-8795 in the wild and no public exploit code.\n\nAffected product: Rapid7 Velociraptor. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-8795/ (Markdown: https://insights.sbomify.com/CVE-2026-8795/index.md)","id":"CVE-2026-8795","markdown":"https://insights.sbomify.com/CVE-2026-8795/index.md","name":"CVE-2026-8795","record":{"aliases":["GHSA-6jwp-vhch-qjpr"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Digital Forensics Tool","requires_auth":"none","summary":"An attacker can execute arbitrary code on an analyst's machine by injecting YAML into a crafted collection ZIP file processed by Velociraptor.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"rapid7","cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"A YAML injection vulnerability exists in the Windows.Collectors.Remapping artifact of Rapid7 Velociraptor before version 0.76.6. The hostname field in client_info.json inside a collection ZIP is inserted into a YAML template via Go's text/template without escaping. An attacker providing a crafted collection ZIP can leverage literal double quotes and newlines in the hostname to break out of the YAML quoted string and inject a new mount remapping entry. When an analyst applies the generated remapping file with --remap, arbitrary VQL executes on their machine with NullACLManager (all permissions granted, unsandboxed).","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Code injection in Velociraptor","id":"CVE-2026-8795","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Sereal::Decoder versions before 5.005 for Perl allow heap out-of-bounds read via crafted input","id":"CVE-2026-8796"},"packages":[],"prev":{"headline":"PaperCut NG/MF: User enumeration via timing attack","id":"CVE-2026-8794"},"products":["Velociraptor"],"published":"2026-06-09","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":"total"},"state":"PUBLISHED","updated":"2026-06-10","vendors":["Rapid7"]},"summary":"An attacker can execute arbitrary code on an analyst's machine by injecting YAML into a crafted collection ZIP file processed by Velociraptor.","url":"https://insights.sbomify.com/CVE-2026-8795/"}