Advisory

DEBIAN-CVE-2025-55130

Also known as: CVE-2025-55130

Summary

The record has no summary.

Details

A flaw in Node.js’s Permissions model allows attackers to bypass --allow-fs-read and --allow-fs-write restrictions using crafted relative symlink paths. By chaining directories and symlinks, a script granted access only to the current directory can escape the allowed path and read sensitive files. This breaks the expected isolation guarantees and enables arbitrary file read/write, leading to potential system compromise. This vulnerability affects users of the permission model on Node.js v20, v22, v24, and v25.

Severity

Critical Basis: CVSS v3 score 9.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Dates

Published
2026-01-20 21:16 UTC
Modified
2026-09-01 20:05 UTC

Affected packages and fixes

nodejs

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 20.19.2+dfsg-1+deb13u1 (ecosystem)

Fixed versions

20.19.2+dfsg-1+deb13u1

Fix

  • Fixed version 20.19.2+dfsg-1+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

nodejs

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 22.22.0+dfsg+~cs22.19.6-1 (ecosystem)

Fixed versions

22.22.0+dfsg+~cs22.19.6-1

Fix

  • Fixed version 22.22.0+dfsg+~cs22.19.6-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences