Direct Request ('Forced Browsing') Affecting nodejs-devel package, versions <1:24.14.1-2.module+el9.7.0+24166+51c9666b


Severity

Recommended
high

Based on CentOS 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-CENTOS9-NODEJSDEVEL-15999820
  • published13 Apr 2026
  • disclosed30 Mar 2026

Introduced: 30 Mar 2026

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

How to fix?

Upgrade Centos:9 nodejs-devel to version 1:24.14.1-2.module+el9.7.0+24166+51c9666b or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs-devel package and not the nodejs-devel package as distributed by Centos. See How to fix? for Centos:9 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