CVE-2026-21636

A flaw in Node.js's permission model allows Unix Domain Socket (UDS) connections to bypass network restrictions when `--permission` is enabled

Medium · published January 20, 2026

CVSS v3.0
5.8
EPSS
1%
Percentile
58.4
In the wild
Unconfirmed
What it is

⚠️ A sneaky flaw in Node.js's permission model lets attacker-controlled inputs slip past security. With just the right commands, they can connect to any local socket, like a kid sneaking into the pantry when the adults aren’t looking! Think of it like a hotel with a keycard system that only grants access to certain floors. But someone discovers they can just use the elevator without a keycard, ending up in restricted areas where they shouldn’t be – grabbing snacks from every floor! This vulnerability could lead to a wild ride, allowing attackers to tap into privileged local services, potentially escalating privileges, exposing sensitive data, or even executing local code. It's a medium risk, but the implications can still be unpleasant!

Put simply

Think of it like a hotel with a keycard system that only grants access to certain floors. But someone discovers they can just use the elevator without a keycard, ending up in restricted areas where they shouldn’t be – grabbing snacks from every floor! This vulnerability in Node.js allows Unix Domain Socket (UDS) connections to bypass intended network restrictions when the `--permission` flag is enabled. Attackers can manipulate inputs like URLs or socket paths to access arbitrary local sockets, undermining the security model.

What to do

This vulnerability could lead to a wild ride, allowing attackers to tap into privileged local services, potentially escalating privileges, exposing sensitive data, or even executing local code. It's a medium risk, but the implications can still be unpleasant! To protect yourself, update to the latest version of Node.js where this flaw is patched. Avoid using the `--permission` option until you thoroughly understand the implications, and consider implementing additional access controls. Stay cautious! You've got this! Follow these steps and you’ll boost your security game in no time! 🛡️

The record
Technical detail
CVSS v3.0
5.8 · MEDIUM
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00870 · 58.4th percentile
Published
2026-01-20T20:41Z
EPSS history
Timeline
  • 20 JAN 20:41Z
    A flaw in Node.js's permission model allows Unix Domain Socket (UDS) connections to bypass network restrictions when `--permission` is enabled
    cvelistv5