CVE-2026-106448
HIGH 8.9CVSS 4.0@stablelib/cbor: Prototype poisoning via `__proto__` map keys in CBOR decoding
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.
- Published
- 6 Oct 2026
- Last modified
- 7 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-1321
- Also known as
- GHSA-w48f-fwg7-ww6p
- Sources
- NVDJSONOSV GHSA-w48f-fwg7-ww6pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @stablelib/cbor | < 2.0.3 | 2.0.3 |
References
- https://github.com/StableLib/stablelib/commit/0f153a63b7552a0e8721f640984113e419015026 · WEB
- https://github.com/StableLib/stablelib/releases/tag/@stablelib/cbor@2.0.4
- https://github.com/StableLib/stablelib/security/advisories/GHSA-w48f-fwg7-ww6p · WEB
- https://github.com/StableLib/stablelib · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 6 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Apr 2026)