CVE-2026-25047 deepHas vulnerable to Prototype Pollution via constructor.prototype

Critical 9.4 Published Updated

An attacker can pollute the prototype in the deepHas npm library, potentially leading to code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-25047?

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.

Official 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.

Weakness: CWE-1321

Which versions are affected by CVE-2026-25047?

2 open source packages ship an affected version, including deephas. It affects 1 product.

PackageAffectedFixed in
deephas npmAll versions1.0.8
deephas npmAll versions1.0.8

Products include Sharpred Deephas.

How do I fix CVE-2026-25047?

Upgrade deephas to 1.0.8 or later.

Is CVE-2026-25047 being exploited?

There is no known exploitation of CVE-2026-25047 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-2733-6c58-pf27.

Is CVE-2026-25047 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free