Skip to content
Access control Disclosed report Intermediate CVE-2026-21711

Node.js Permission Model bypass: UDS server bind/listen works without `--allow-net`

The Node.js Permission Model did not enforce the network check for Unix Domain Socket server operations, so code running with `--permission` but without `--allow-net` could still create and expose local IPC endpoints and communicate with other processes on the same host.

xavlimsg Follow

Originally disclosed on HackerOne

Medium 5.3 View original
  • Triaged in 19 hours
  • Fixed in 35 days
  • Disclosed after 41 days

Summary by the program

A flaw in Node.js Permission Model network enforcement leaves Unix Domain Socket (UDS) server operations without the required permission checks, while all comparable network paths correctly enforce them.

As a result, code running under --permission without --allow-net can create and expose local IPC endpoints, allowing communication with other processes on the same host outside of the intended network restriction boundary.

This vulnerability affects Node.js 25.x processes using the Permission Model where --allow-net is intentionally omitted to restrict network access. Note that --allow-net is currently an experimental feature.

The original report as published on HackerOne, by xavlimsg. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the permission check for network access was applied to most networking paths but omitted from the code path that binds and listens on a Unix Domain Socket server.

Impact

Code running under the Permission Model without `--allow-net` could create local IPC endpoints and communicate with other processes on the same host, bypassing the intended network restriction; the text notes `--allow-net` is experimental.

What the attacker needed

Code runs under --permission; --allow-net omitted; Node.js 25.x

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Node.js has a mode that lets you run code with only certain permissions, like a sandbox. One of those permissions is network access, and it is meant to block all networking unless explicitly allowed. Here, one kind of local connection (a Unix Domain Socket, which is a way for programs on the same machine to talk to each other) could still be opened even though networking was supposed to be off.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by xavlimsg

View all

3 more disclosed reports, best first.

More from Node.js

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.