Read the docs
TI-2021-06155 Aliases CVE-2021-23518GHSA-wg6g-ppvx-927h

Prototype pollution in cached-path-relative

Priority MEDIUM 46CWE-1321Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.

Summary

The package cached-path-relative before 1.1.0 are vulnerable to Prototype Pollution via the cache variable that is set as {} instead of Object.create(null) in the cachedPathRelative function, which allows access to the parent prototype properties when the object is used to create the cached relative path. When using the origin path as __proto__, the attribute of the object is accessed instead of a path. **Note:** This vulnerability derives from an incomplete fix in https://security.snyk.io/vuln/SNYK-JS-CACHEDPATHRELATIVE-72573

Why it matters now

EPSS 0.01943 80th percentileScored 2026-11-07
Fix Partial cached-path-relative: 1.1.0cached-path-relative (npm): 1.1.0Red Hat: 1 advisoryRed Hat: 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—cached-path-relativebefore 1.1.01.1.0Patch availableCNA
—cached-path-relative (npm)before 1.1.01.1.0Patch availableGHSA-wg6g-ppvx-927h
  • cached-path-relative Vendor— Affected before 1.1.0 Fixed in 1.1.0 Patch available CNA
  • cached-path-relative (npm) Vendor— Affected before 1.1.0 Fixed in 1.1.0 Patch available GHSA-wg6g-ppvx-927h

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:cached-path-relative_project:cached-path-relative:*:*:*:*:*:node.js:*:*before 1.1.0VulnerableCached-path-relative Project
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
  • cpe:2.3:a:cached-path-relative_project:cached-path-relative:*:*:*:*:*:node.js:*:* Versions before 1.1.0 Vulnerable ·Cached-path-relative Project
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian

Remediation

  • Fix · CNA cached-path-relative Fixed in 1.1.0
  • Fix · GHSA-wg6g-ppvx-927h cached-path-relative (npm) Fixed in 1.1.0 Advisory →

Red Hat 1 advisory

  • RHSA-2022:1476 Released 2022-04-21 · Red Hat rating Moderate
    Red Hat Advanced Cluster Management 2.4.3 security updates and bug fixes
    • Red Hat Advanced Cluster Management for Kubernetes 2.4 for RHEL 8 rhacm2/acm-grafana-rhel8, rhacm2/acm-must-gather-rhel8, rhacm2/acm-operator-bundle +47

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Advanced Cluster Management for Kubernetes 2AffectedNo fix yet

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-23518
  2. 2026-10-03 Alias added: GHSA-wg6g-ppvx-927h

References

Sources