Improper Access Control Affecting nodejs22-docs package, versions <1:22.23.5-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.2% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-NODEJS22DOCS-22525195
  • published13 Nov 2026
  • disclosed23 Oct 2026

Introduced: 23 Oct 2026

NewCVE-2026-106071  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 nodejs22-docs to version 1:22.23.5-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-3456.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs22-docs package and not the nodejs22-docs package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

A flaw in Node.js Permission Model filesystem enforcement can grant access to paths that do not match a wildcard --allow-fs-read or --allow-fs-write rule.

When the requested path is shorter than the prefix of a wildcard grant, the radix tree lookup stops comparing early and treats the path as a match. For example, --allow-fs-read=/etc/passwd.* also allows reading /etc/passwd. This requires the wildcard grant to sit directly under the root of the permission tree, for example when it is the only grant for that scope. This is a different root cause from CVE-2026-58043.

This vulnerability affects Node.js 26.x.

CVSS Base Scores

version 3.1