CVE-2026-107353
Published:October 07, 2026
Updated:October 10, 2026
traverse (npm) versions 0.3.6 through 0.3.9, 0.4.0 through 0.4.6, 0.5.0 through 0.5.2, and 0.6.0 through 0.6.11 allow prototype pollution through set(). When the path passed to set() crosses a primitive value, the next path segment is resolved on that primitive's built-in prototype, so an application that passes an untrusted path to set() lets an attacker add or overwrite properties of String.prototype, Number.prototype, or Boolean.prototype using plain JSON data, for example traverse({ name: 'bob' }).set(['name', 'proto', 'polluted'], 'yes'). Object.prototype was reachable only with a non-data path segment, such as an object whose toString returns a different value on each call, or through a Proxy that accepts an assignment without storing it. This is fixed in 0.3.10, 0.4.7, 0.5.3, and 0.6.12.
Affected Packages
https://github.com/ljharb/js-traverse.git (GITHUB):
Affected version(s) >=v0.5.0 <v0.5.3Fix Suggestion:
Update to version v0.5.3https://github.com/ljharb/js-traverse.git (GITHUB):
Affected version(s) >=v0.4.0 <v0.4.7Fix Suggestion:
Update to version v0.4.7https://github.com/ljharb/js-traverse.git (GITHUB):
Affected version(s) >=v0.3.6 <v0.3.10Fix Suggestion:
Update to version v0.3.10https://github.com/ljharb/js-traverse.git (GITHUB):
Affected version(s) >=v0.6.0 <v0.6.12Fix Suggestion:
Update to version v0.6.12traverse (NPM):
Affected version(s) >=0.5.0 <0.5.3Fix Suggestion:
Update to version 0.5.3traverse (NPM):
Affected version(s) >=0.6.0 <0.6.12Fix Suggestion:
Update to version 0.6.12traverse (NPM):
Affected version(s) >=0.4.0 <0.4.7Fix Suggestion:
Update to version 0.4.7traverse (NPM):
Affected version(s) >=0.3.6 <0.3.10Fix Suggestion:
Update to version 0.3.10Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
EPSS
Base Score:
0.28