{"id":"CVE-2026-106448","published":"2026-10-06T19:45:02Z","modified":"2026-10-07T17:07:38Z","title":"StableLib: Prototype poisoning via `__proto__` map keys in CBOR decoding","vendor":"StableLib","product":"stablelib","tier":"tail","description":{"text":"StableLib is a stable library of useful TypeScript and JavaScript code. Prior to 2.0.4, the @stablelib/cbor CBOR map decoding path creates ordinary JavaScript objects and assigns attacker-controlled keys with bracket assignment. A map key named __proto__ invokes the inherited prototype setter instead of creating an ordinary own property, allowing the decoded object's prototype to contain attacker-controlled authorization or feature-flag values. Downstream code that trusts normal property lookup or merges the decoded object can therefore make security-sensitive decisions using inherited attacker data. This issue is fixed in version 2.0.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.9,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00547,"percentile":0.3942,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/StableLib/stablelib/security/advisories/GHSA-w48f-fwg7-ww6p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/StableLib/stablelib/commit/0f153a63b7552a0e8721f640984113e419015026","tags":["x_refsource_MISC"]},{"url":"https://github.com/StableLib/stablelib/releases/tag/@stablelib/cbor@2.0.4","tags":["x_refsource_MISC"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":7.88},{"name":"CVSS severity","points":6.23}]},"vendorSlug":"stablelib","affectedVersions":[{"vendor":"StableLib","product":"stablelib","versions":["< 2.0.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-07T15:27:16.755969Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-93973","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-stablelib-cve-2026-106447","parents":[{"from":"CVE-2026-106447","to":"CVE-2026-106448","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/cbor/cbor.ts"],"commits":["https://github.com/StableLib/stablelib/commit/0149e18d9d4736e22c257744ca945ebce7899a01","https://github.com/StableLib/stablelib/commit/0f153a63b7552a0e8721f640984113e419015026"],"basis":"shared function","functions":["Decoder"]}]}]}}