Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit untrusted JSON with __proto__ key
-
ExploitApplication passes it to merge()/mergeImmutable()
-
ExecutionObject.prototype properties injected
-
ImpactAuthorization bypass, property injection, or denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the consuming application to pass attacker-controlled data - typically the output of JSON.parse() on an untrusted request body - as the SECOND argument to merge() or mergeImmutable() in @irrelon/path versions 6.2.2 through 7.0.2; the payload must contain a __proto__ key or a constructor.prototype chain. No authentication or user interaction is required at the library level (PR:N/UI:N). LIMITING FACTORS: the vulnerable merge() function only exists from 6.2.2 onward, so pre-6.2.2 installs are not affected; the application must actually invoke merge()/mergeImmutable() on untrusted input, and meaningful impact beyond generic pollution (authorization bypass, DoS, or RCE) further depends on exploitable prototype-pollution gadgets existing in the surrounding application code. |
| Impact | This is a medium-severity, defender-should-triage-this-month issue rather than an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated condition, but all three impact metrics are only Low (VC:L/VI:L/VA:L), and the assigned base score is 6.9 - consistent with prototype pollution whose real damage depends on application-specific gadgets rather than a guaranteed critical outcome. No EPSS score is provided, and the vulnerability is NOT in CISA KEV, so there is no evidence of active exploitation; the vuln.today decision label is 'this_month', not 'act_now' or 'emergency', which aligns with a real-but-not-urgent priority. The GHSA advisory includes a working reproduction snippet, so a public PoC reference exists, but this must not be conflated with in-the-wild exploitation. The key caveat defenders must weigh: the 'network/unauthenticated' framing is only realized if the application actually feeds attacker-controlled data (e.g. JSON.parse of a request body) into merge()/mergeImmutable() - absent that code path, the practical exploitability drops sharply, which is why the Low impact ratings are appropriate. |
| Exploit ScenarioDerived | An application using @irrelon/path 6.2.2-7.0.2 parses an untrusted HTTP request body with JSON.parse() and passes the result as the second argument to merge() or mergeImmutable(). A remote attacker submits a body such as {"__proto__": {"isAdmin": true}} (or the constructor.prototype equivalent), polluting Object.prototype so that the injected property appears on every object in the process. A public PoC reference demonstrating Object.prototype pollution exists in the GHSA advisory; it is not verified as a weaponized end-to-end exploit, and whether this yields authorization bypass, denial of service, or code execution depends on gadgets present in the consuming application. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Prototype pollution in the npm package @irrelon/path (versions 6.2.2 through 7.0.2) lets remote attackers add or modify properties on Object.prototype by supplying __proto__ or constructor.prototype keys in data passed to merge() or mergeImmutable(). The exposure exists at the library level unauthenticated and without user interaction (CVSS v3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L, medium severity), but real-world impact depends on the consuming application actually merging untrusted input - typically the output of JSON.parse() on a request body - as the second argument, and on whether exploitable gadgets exist in that application; outcomes range from property injection and authorization bypass to denial of service and, with suitable gadgets, code execution. No confirmed active exploitation (not in CISA KEV) and no verified public exploit code was identified at time of analysis, although the upstream advisory includes a minimal payload demonstrating the pollution; the maintainers shipped fixes in 7.0.3 and 8.0.0.
RemediationAI
Vendor-released patch: upgrade @irrelon/path to 7.0.3 (security fixes only, drop-in for 7.x and the upgrade path the maintainers recommend for 6.x users) or to 8.0.0 (identical security fixes plus other bug fixes carrying breaking changes - read the 8.x README upgrade notes first). The fixes are in commits a554ca96310d63602c30346809eefe7774dff501 (7.0.3) and f4d986ca677e408eba5c2892cae4b248dbeb60bd (8.0.0), and the advisory is at https://github.com/irrelon/irrelon-path/security/advisories/GHSA-hp37-rc53-gpm2. Where upgrading is blocked, the vendor's stated workaround is to never pass untrusted data as the second argument to merge() or mergeImmutable(), or to strip __proto__ and constructor keys at every nesting level before merging - the trade-off being that this must be applied at every call site and nesting depth, and a missed site or a new untrusted-input path reopens the exposure; recursive sanitisation also adds per-request processing cost on large payloads. Patching is the only complete fix, since the release additionally hardens pushVal(), pullVal(), splicePath(), the immutable helpers and the result-building functions that were not individually reachable workarounds. Inventory follow-up should check for transitive dependencies that bundle the vulnerable 6.2.2-7.0.2 range, and where practical constrain merges to the target's own plain objects rather than inherited properties.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-1321 (improperly controlled modification of object prototype attributes, i.e. prototype pollution) is a JavaScript-specific class of defect rooted in the language's prototype chain: every ordinary object inherits from Object.prototype, so writing an attacker-chosen key onto that shared object silently changes behaviour for every object in the process. JSON.parse() does not execute code, but it does create a genuine own property named "__proto__" when that key appears in the payload; on a subsequent plain assignment or recursive merge, that own key is interpreted as a prototype setter rather than as data, which is precisely what merge() and mergeImmutable() in @irrelon/path did before the fix. The vendor's patch commit a554ca9 shows the remediation mechanics in detail: a null-safe _hasOwn helper using Object.prototype.hasOwnProperty.call, a _setOwn helper that defines "__proto__" via Object.defineProperty so it lands as an own enumerable data property instead of a prototype change, restriction of merges to the target's own plain objects and arrays rather than inherited properties, and blocking of traversal into functions such as "constructor" in pushVal(), pullVal() and splicePath(). The same commit hardens the immutable helpers (setImmutable(), updateImmutable()) so an own __proto__ key from parsed JSON is no longer promoted to the prototype of the returned copy, makes flattenValues(), diffValues(), distill(), values(), query() and countMatchingPathsInObject() store __proto__ as own data, and adds a SPARSE_COPY_LENGTH (1,000,000) guard so copying a sparse array with an enormous length cannot exhaust memory. Vulnerability classification maps to CPE cpe:2.3:a:irrelon:@irrelon/path, and the vulnerable surface is narrow: merge() was introduced in 6.2.2, so earlier releases contained only an empty placeholder and are unaffected.
Know when Prototype Pollution gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Untrusted JSON merged over the network with no auth or interaction gives AV:N/AC:L/PR:N/UI:N; prototype pollution yields limited, gadget-dependent confidentiality, integrity and availability impact (C/I/A:L).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
@irrelon/path 6.2.2 before 7.0.3 contains a prototype pollution vulnerability in merge() and mergeImmutable() that allows remote attackers to modify Object.prototype by supplying __proto__ keys. Attackers can pass untrusted JSON containing __proto__ or constructor.prototype payloads to merged objects, causing property injection, authorization bypass, or denial of service.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Prototype Pollution
View allPrototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu
All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (
Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau
The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co
This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service
A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi
A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function
All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s
This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr
Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser
alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde
EUVD-2026-135759
GHSA-wv6g-c7rm-w3f5
NVD
CVE.org
EPSS
VulDB
Exploit-DB