
Proof-of-Concept, das Prototype Pollution in deephas <=1.0.7 (CVE-2026-25047) demonstriert, was zu beliebiger Codeausführung und Denial of Service führt, mit zwei Bypass-Techniken.
Exploit-Titel: deephas <= 1.0.7 - Prototype Pollution, die zu beliebiger Codeausführung / DoS führt
CVE: CVE-2026-25047
GHSA: GHSA-2733-6c58-pf27
CVSS: 9.8 (Kritisch)
Autor: Mohammed Idrees Banyamer
Autor-Land: Jordanien
Kontakt: Instagram @banyamer_security
Datum: 01. Februar 2026
Getestet auf: Node.js 16 / 18 / 20 (Linux / macOS / Windows)
Das npm-Paket deephas (Versionen <= 1.0.7) ist anfällig für Prototype Pollution aufgrund unsicherer rekursiver Eigenschaftszuweisung in der Funktion set() ohne angemessene Schutzmaßnahmen gegen __proto__- und constructor.prototype-Pfade.
Ein Angreifer, der die Eingabe für deephas.set(obj, path, value) kontrolliert, kann verschmutzen (pollute), was möglicherweise zu Folgendem führt:
Object.prototypeprocess.env, require.extensions oder anderen sensiblen globalen ObjektenhasOwnProperty, toString usw.)Dieses Repository enthält ein sauberes Proof-of-Concept (PoC)-Python-Skript, das die Schwachstelle mithilfe von zwei Bypass-Techniken demonstriert:
constructor.prototype-Pfad + hasOwnProperty-Override-Bypass__proto__-Pfad + indexOf-Override-BypassDas Problem wurde in deephas >= 1.0.8 behoben.
Referenzen:
npm zum Installieren des anfälligen Paketsgit clone https://github.com/[your-username]/deephas-poc-cve-2026-25047.git
cd deephas-poc-cve-2026-25047
python3 poc-deephas-prototype-pollution.py ```