CVE-2026-21715 Affecting nodejs22 package, versions <22.22.2-150700.3.9.1


Severity

Recommended
0.0
low
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.01% (1st 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-SLES157-NODEJS22-16115446
  • published21 Apr 2026
  • disclosed20 Apr 2026

Introduced: 20 Apr 2026

NewCVE-2026-21715  (opens in a new tab)

How to fix?

Upgrade SLES:15.7 nodejs22 to version 22.22.2-150700.3.9.1 or higher.

NVD Description

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

A flaw in Node.js Permission Model filesystem enforcement leaves fs.realpathSync.native() without the required read permission checks, while all comparable filesystem functions correctly enforce them.

As a result, code running under --permission with restricted --allow-fs-read can still use fs.realpathSync.native() to check file existence, resolve symlink targets, and enumerate filesystem paths outside of permitted directories.

This vulnerability affects 20.x, 22.x, 24.x, and 25.x processes using the Permission Model where --allow-fs-read is intentionally restricted.

CVSS Base Scores

version 3.1