CVE-2026-58039: Permission Model bypass: process.report writes (and overwrites) files outside --allow-fs-write paths
A flaw in Node.js Permission Model enforcement allows process.report to write and overwrite files outside --allow-fs-write paths.
This can lead to confidentiality impact or bypass of the intended security boundary under affected configurations.
Other sources
A flaw in Node.js Permission Model enforcement allows process.report writes (and overwrites) files outside --allow-fs-write paths.
This can lead to confidentiality impact or bypass of the intended security boundary under affected configurations.
This vulnerability affects Node.js 22.x, 24.x, and 26.x.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 24.18.1-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 22.23.2Fixed in 24.18.1Fixed in 26.5.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 22.23.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 24.18.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 26.5.1 - Upgrade
Upgrade
alpine/nodejsto a version that resolves this vulnerability.Fixed in 22.23.2-r0 - Upgrade
Upgrade
alpine/nodejsto a version that resolves this vulnerability.Fixed in 24.18.1-r0 - Upgrade
Upgrade
alpine/nodejs-currentto a version that resolves this vulnerability.Fixed in 26.5.1-r0
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2026-58039?
The severity of CVE-2026-58039 is rated as low with a score of 3.3.
How do I fix CVE-2026-58039?
To mitigate CVE-2026-58039, ensure that your Node.js application enforces correct permissions and limit the use of process.report.
Which versions of Node.js are affected by CVE-2026-58039?
CVE-2026-58039 affects Node.js versions 22.x and 24.x.
What kind of impact does CVE-2026-58039 have?
CVE-2026-58039 can lead to confidentiality impacts and the potential to bypass intended security boundaries.
What is the main cause of CVE-2026-58039?
CVE-2026-58039 is caused by a flaw in the Node.js Permission Model enforcement that allows inappropriate file writes.