{"answers":{"affected":"2 open source packages ship an affected version, including deephas. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-25047 in the wild and no public exploit code.","fix":"Upgrade deephas to 1.0.8 or later.","what":"CVE-2026-25047 is a critical vulnerability in sharpred deepHas, published on 29 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-25047 and fix it if it is affected.\n\nWhat it is: CVE-2026-25047 is a critical vulnerability in sharpred deepHas, published on 29 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-25047 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- deephas (npm): affected all versions; fixed in 1.0.8\n- deephas (npm): affected all versions; fixed in 1.0.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-25047/ (Markdown: https://insights.sbomify.com/CVE-2026-25047/index.md)","id":"CVE-2026-25047","markdown":"https://insights.sbomify.com/CVE-2026-25047/index.md","name":"CVE-2026-25047","record":{"aliases":["GHSA-2733-6c58-pf27"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"npm deepHas library","requires_auth":"none","summary":"An attacker can pollute the prototype in the deepHas npm library, potentially leading to code execution or privilege escalation.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"deephas","vendor":"sharpred"}],"cvss":{"score":9.4,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"deepHas provides a test for the existence of a nested object key and optionally returns that key. A prototype pollution vulnerability exists in version 1.0.7 of the deephas npm package that allows an attacker to modify global object behavior. This issue was fixed in version 1.0.8.","ecosystems":["npm"],"exploits":{"exploitdb":1,"first_seen":"2026-01-31","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-01-31T22:57:04Z","kind":"github_poc","ref":"https://github.com/mbanyamer/deephas-1.0.7-Prototype-Pollution-PoC-CVE-2026-25047-","stars":0,"title":null},{"date":"2026-04-30","kind":"exploitdb","ref":"52528","stars":null,"title":"deephas 1.0.7 - Prototype Pollution"}],"tier":"poc_unverified"},"has_fix":true,"headline":"deepHas vulnerable to Prototype Pollution via constructor.prototype","id":"CVE-2026-25047","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"xgrammar: Multi-layer nesting causes DoS","id":"CVE-2026-25048"},"packages":[{"ecosystem":"npm","fixed":["1.0.8"],"introduced":["0"],"last_affected":[],"package":"deephas","purl":null,"source":"GHSA-2733-6c58-pf27"},{"ecosystem":"npm","fixed":["1.0.8"],"introduced":["0"],"last_affected":[],"package":"deephas","purl":"pkg:npm/deephas","source":"GHSA-2733-6c58-pf27"}],"prev":{"headline":"[Kimi VS Code] Command Injection in publish scripts vsix-publish.js and ovsx-publish.js","id":"CVE-2026-25046"},"products":["deepHas"],"published":"2026-01-29","related":[{"cvss_score":9.8,"headline":"Prototype Pollution in deephas","id":"CVE-2020-28271","kev_date_added":null,"published":"2020-11-12"}],"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":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-02","vendors":["sharpred"]},"summary":"An attacker can pollute the prototype in the deepHas npm library, potentially leading to code execution or privilege escalation.","url":"https://insights.sbomify.com/CVE-2026-25047/"}