Skip to content
Access control Disclosed report Advanced CVE-2026-48617

Permission Model Bypass via `process.report.writeReport()` Path Misvalidation

The Node.js Permission Model did not correctly validate the path passed to process.report.writeReport(), so the write restriction could be bypassed. An attacker able to run code under the permission model could write a report file to a location the model was meant to block.

suul Follow

Originally disclosed on HackerOne

  • Triaged in 2 days
  • Fixed in 55 days
  • Disclosed after 55 days

Summary by the program

A flaw in Node.js Permission Model enforcement allows Bypass via process.report.writeReport() Path Misvalidation.

This can lead to confidentiality impact or bypass of the intended security boundary under affected configurations.

This vulnerability affects all supported release lines: Node.js 22, Node.js 24, and Node.js 26.

The original report as published on HackerOne, by suul. 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

Impact

Under affected configurations this could breach confidentiality or bypass the intended security boundary, though the text gives no exploit detail.

What the attacker needed

Code runs under the Permission Model; writeReport is reachable

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 feature called the Permission Model that lets you run a program with limits, for example only allowing it to write files in certain folders. This report says one function that writes a diagnostic report file did not check the destination path properly, so the limit could be sidestepped. That means code running under those limits could save a file somewhere it should not have been allowed to.

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 suul

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.