Skip to main content

@irrelon/path CVE-2026-137087

| EUVDEUVD-2026-135759 MEDIUM
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-11-25 VulnCheck GHSA-wv6g-c7rm-w3f5
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit untrusted JSON with __proto__ key
  2. Exploit
    Application passes it to merge()/mergeImmutable()
  3. Execution
    Object.prototype properties injected
  4. Impact
    Authorization 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

@irrelon/path 6.2.2 <7.0.3

Affected Packages

euvd irrelon_path fix: 7.0.3

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

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 7.3 HIGH

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

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.7%
Top 51% exploitable
Prevalence
Low
niche npm path-manipulation library, limited deployment footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-34621 HIGH POC
8.6 Apr 11

Prototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu

CVE-2021-23450 CRITICAL POC
9.8 Dec 17

All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (

CVE-2024-56059 CRITICAL
9.8 Dec 18

Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau

CVE-2021-23383 CRITICAL POC
9.8 May 04

The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co

CVE-2020-7788 CRITICAL POC
9.8 Dec 11

This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2020-28271 CRITICAL POC
9.8 Nov 12

Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service

CVE-2023-38894 CRITICAL POC
9.8 Aug 16

A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi

CVE-2024-24292 CRITICAL POC
9.8 Mar 28

A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function

CVE-2023-26121 CRITICAL POC
10.0 Apr 11

All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s

CVE-2021-23449 CRITICAL POC
10.0 Oct 18

This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr

CVE-2024-39011 CRITICAL POC
9.8 Jul 30

Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser

CVE-2024-38988 CRITICAL POC
9.8 Mar 28

alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy