{"answers":{"affected":"2 open source packages ship an affected version, including @enclave-vm/core. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27597 exists.","fix":"Upgrade @enclave-vm/core to 2.11.1 or later.","what":"CVE-2026-27597 is a critical code injection vulnerability in agentfront enclave, published on 25 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-27597 and fix it if it is affected.\n\nWhat it is: CVE-2026-27597 is a critical code injection vulnerability in agentfront enclave, published on 25 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27597 exists.\n\nAffected packages and fixed versions:\n- @enclave-vm/core (npm): affected all versions; fixed in 2.11.1\n- @enclave-vm/core (npm): affected all versions; fixed in 2.11.1\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-27597/ (Markdown: https://insights.sbomify.com/CVE-2026-27597/index.md)","id":"CVE-2026-27597","markdown":"https://insights.sbomify.com/CVE-2026-27597/index.md","name":"CVE-2026-27597","record":{"aliases":["GHSA-f229-3862-4942"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript sandbox library","requires_auth":"none","summary":"Attackers can escape the JavaScript sandbox to achieve remote code execution, affecting users of the Enclave library.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"enclave","vendor":"agentfront"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Enclave is a secure JavaScript sandbox designed for safe AI agent code execution. Prior to version 2.11.1, it is possible to escape the security boundraries set by `@enclave-vm/core`, which can be used to achieve remote code execution (RCE). The issue has been fixed in version 2.11.1.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-04-19","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-04-19T06:22:33Z","kind":"github_poc","ref":"https://github.com/NetVanguard-cmd/CVE-2026-27597","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"@enclave-vm/core is vulnerable to Sandbox Escape","id":"CVE-2026-27597","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Dagu: Path traversal in DAG creation allows arbitrary YAML file write outside DAGs directory","id":"CVE-2026-27598"},"packages":[{"ecosystem":"npm","fixed":["2.11.1"],"introduced":["0"],"last_affected":[],"package":"@enclave-vm/core","purl":null,"source":"GHSA-f229-3862-4942"},{"ecosystem":"npm","fixed":["2.11.1"],"introduced":["0"],"last_affected":[],"package":"@enclave-vm/core","purl":"pkg:npm/%40enclave-vm/core","source":"GHSA-f229-3862-4942"}],"prev":{"headline":"Exiv2: Integer Underflow in LoaderNative::getData() Causes Heap Buffer Overflow","id":"CVE-2026-27596"},"products":["enclave"],"published":"2026-02-25","related":[{"cvss_score":10,"headline":"Sandbox Escape via Host Error Prototype Chain in enclave-vm","id":"CVE-2026-22686","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":6.4,"headline":"Enclave has a sandbox escape via infinite recursion and error objects","id":"CVE-2026-25533","kev_date_added":null,"published":"2026-02-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":"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":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-25","vendors":["agentfront"]},"summary":"Attackers can escape the JavaScript sandbox to achieve remote code execution, affecting users of the Enclave library.","url":"https://insights.sbomify.com/CVE-2026-27597/"}