JLSEC-2026-1941: On Linux, Node.js ignores certain environment variables if those may have been set by an...

Published Dec 2, 2026
·
Updated

On Linux, Node.js ignores certain environment variables if those may have been set by an unprivileged user while the process is running with elevated privileges with the only exception of CAPNETBINDSERVICE. Due to a bug in the implementation of this exception, Node.js incorrectly applies this exception even when certain other capabilities have been set. This allows unprivileged users to inject code that inherits the process's elevated privileges.

Affected Software

2 affected components
julia/nodejs_18_jll*
julia/libnode_jll>=18.12.1+0

Event History

Dec 2, 2026
Advisory Published
via OSV·03:31 PM
Data Sourced
via OSV·03:31 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are exposed to this issue?

The issue affects Node.js on Linux when a process runs with elevated privileges and has capabilities configured. The flawed behavior occurs when the process has capabilities beyond the CAP_NET_BIND_SERVICE exception.

2

What would an attacker need to exploit it?

An unprivileged user would need to be able to set relevant environment variables for the Node.js process. Successful exploitation can result in injected code inheriting the process's elevated privileges.

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