REDHAT-BUG-2453152: Low severity OpenJS Foundation Node.js vulnerability

Published Mar 30, 2026
·
Updated

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.

Affected Software

1 affected component
OpenJS Foundation Node.js>=20.0.0<21.0.0, >=22.0.0<23.0.0, >=24.0.0<25.0.0, >=25.0.0<26.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Until patched, avoid using the Node.js Permission Model with restricted `--allow-fs-read` in cases where untrusted code could call `fs.realpathSync.native()` (since it can still check file existence, resolve symlink targets, and enumerate filesystem paths outside permitted directories).

Event History

Mar 30, 2026
Data Sourced
via Red Hat·08:01 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2453152?

The severity of REDHAT-BUG-2453152 is classified as low.

2

What is the main issue described in REDHAT-BUG-2453152?

REDHAT-BUG-2453152 details a flaw in Node.js's filesystem enforcement that allows `fs.realpathSync.native()` to bypass necessary read permission checks.

3

How does REDHAT-BUG-2453152 affect Node.js applications?

This vulnerability can allow code running with restricted permissions to access filesystem functions without proper checks.

4

What versions of Node.js are impacted by REDHAT-BUG-2453152?

The specific affected versions are not detailed in the provided information, but it is pertinent for users running Node.js under the mentioned permissions.

5

How can I mitigate the risks associated with REDHAT-BUG-2453152?

To mitigate risks, avoid using the `fs.realpathSync.native()` function in environments where strict permission enforcement is crucial.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203