Description
A prototype pollution attack in cached-path-relative versions <=1.0.1 allows an attacker to inject properties on Object.prototype which are then inherited by all the JS objects through the prototype chain causing a DoS attack.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| npm | cached-path-relative | <=1.0.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-cached-path-relative | 1.0.2-1 | — |
| Debian 13 | node-cached-path-relative | 1.0.2-1 | — |
| Debian 12 | node-cached-path-relative | 1.0.2-1 | — |
| Debian 10 | node-cached-path-relative | 1.0.1-2+deb10u1 | DLA-3221-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | node-cached-path-relative | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | cached-path-relative | < 1.0.2 | 1.0.2 | GHSA-hc9w-4p87-j549 |
Advisories 1
- DLA-3221-1 node-cached-path-relative - security update Debian Security (DSA / DLA) · Mar 9, 2026