{"id":"UBUNTU-CVE-2026-107353","details":"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.","modified":"2026-10-08T19:47:05.794141856Z","published":"2026-10-08T00:00:00Z","upstream":["CVE-2026-107353"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-107353"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-107353"},{"type":"REPORT","url":"https://github.com/ljharb/js-traverse/security/advisories/GHSA-rj28-8w7x-jmqc"},{"type":"REPORT","url":"https://github.com/ljharb/js-traverse/commit/81ccab43e379cf42eb2a5f689630f7f79b3d71b8"},{"type":"REPORT","url":"https://github.com/ljharb/js-traverse/commit/37a9ebd103d2a259c824c29cdcc3f0dfe1acffce"},{"type":"REPORT","url":"https://github.com/ljharb/js-traverse/commit/37a9ebd103d2a259c824c29cdcc3f0dfe1acffce"},{"type":"REPORT","url":"https://github.com/ljharb/js-traverse/commit/81ccab43e379cf42eb2a5f689630f7f79b3d71b8"}],"affected":[{"package":{"name":"node-traverse","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/node-traverse?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6.1-1","binary_name":"libjs-traverse"},{"binary_version":"0.6.1-1","binary_name":"node-traverse"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-107353.json"}},{"package":{"name":"node-traverse","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/node-traverse?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.1-1","0.6.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-traverse","binary_version":"0.6.6-1"},{"binary_version":"0.6.6-1","binary_name":"node-traverse"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-107353.json"}},{"package":{"name":"node-traverse","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-traverse?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.6-1.1","0.6.6-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-traverse","binary_version":"0.6.6-2"},{"binary_name":"node-traverse","binary_version":"0.6.6-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-107353.json"}},{"package":{"name":"node-traverse","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-traverse?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.6-2","0.6.6+~0.6.32-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-traverse","binary_version":"0.6.6+~0.6.32-1"},{"binary_version":"0.6.6+~0.6.32-1","binary_name":"node-traverse"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-107353.json"}},{"package":{"name":"node-traverse","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-traverse?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.7+~0.6.32-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-traverse","binary_version":"0.6.7+~0.6.32-1"},{"binary_name":"node-traverse","binary_version":"0.6.7+~0.6.32-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-107353.json"}},{"package":{"name":"node-traverse","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-traverse?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.7+~0.6.32-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-traverse","binary_version":"0.6.7+~0.6.32-1"},{"binary_version":"0.6.7+~0.6.32-1","binary_name":"node-traverse"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-107353.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}