{"id":"CVE-2026-107353","aliases":["CVE-2026-107353"],"related":[],"kind":"vulnerability","state":"published","title":"traverse: set() can write to built-in prototypes via an untrusted path","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-07T19:35:15.351Z","modified":"2026-10-08T21:34:48.800Z","severity":{"scorer":"harborist","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"harborist","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"harborist","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"type":"semver","introduced":"0.3.6","fixed":"0.3.10","status":"affected"},{"type":"semver","introduced":"0.4.0","fixed":"0.4.7","status":"affected"},{"type":"semver","introduced":"0.5.0","fixed":"0.5.3","status":"affected"},{"type":"semver","introduced":"0.6.0","fixed":"0.6.12","status":"affected"}],"vendor":"ljharb","product":"traverse","package":"traverse","repo":"https://github.com/ljharb/js-traverse","source":"cvelist"}],"references":[{"url":"https://github.com/ljharb/js-traverse/security/advisories/GHSA-rj28-8w7x-jmqc","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ljharb/js-traverse/commit/81ccab43e379cf42eb2a5f689630f7f79b3d71b8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ljharb/js-traverse/commit/37a9ebd103d2a259c824c29cdcc3f0dfe1acffce","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"harborist","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-07T20:36:56.178Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-107353","url":"https://www.cve.org/CVERecord?id=CVE-2026-107353","licence":"CVE Terms of Use","modified":"2026-10-07T20:37:09.233Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-107353","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107353","licence":"Public domain","modified":"2026-10-08T21:34:48.800Z"}],"updatedAt":"2026-11-25T22:59:43.090Z","epss":{"score":0.0028,"percentile":0.21991,"date":"2026-12-01T12:00:22.000Z"}}