Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-55130

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-55130
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 23:03 UTC · Revision 1

Source evidence

CVE-2025-55130

core-osv · Original source

Published 20 Jan 2026, 20:41 UTC

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.

osv:CVE-2025-55130
Complete source record
{
  "id": "d1c7d595612500e79f7e0b8d2e5db93b5acb81e6bdebf9bac5b92318cd96be8c",
  "url": "https://osv.dev/vulnerability/CVE-2025-55130",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-55130",
    "summary": "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.",
    "evidence": "osv:CVE-2025-55130",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-55130",
      "aliases": [
        "BIT-node-2025-55130",
        "BIT-node-min-2025-55130",
        "CVE-2025-55130"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nodejs/node",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e7618fb5a5fc25d76b6474e2a6607f04fd6f10e0"
                },
                {
                  "fixed": "1f7186e1e01d279022cab6acdecb119e472bb409"
                },
                {
                  "introduced": "12fb157f79da8c094a54bc99370994941c28c235"
                },
                {
                  "fixed": "6add85e4c46b8be383c8b637102d6b6fd206adce"
                },
                {
                  "introduced": "c5349f43cd66d2aa02d86414c9ed426f71d3ae48"
                },
                {
                  "fixed": "def0bdf8abee441cfcbf793a8dc24a6f3b899573"
                },
                {
                  "introduced": "0b3a10d4c8ba5e15429287e725d22615be896e95"
                },
                {
                  "fixed": "00d6cd83927d6d5c8fe9d0cdd101daa6df4b1a15"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "20.0.0"
                      },
                      {
                        "fixed": "20.20.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "22.0.0"
                      },
                      {
                        "fixed": "22.22.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "24.0.0"
                      },
                      {
                        "fixed": "24.13.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "25.0.0"
                      },
                      {
                        "fixed": "25.3.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v24.12.0",
            "v20.19.6",
            "v25.2.1",
            "v25.2.0",
            "v24.11.1",
            "v25.1.0",
            "v22.21.1",
            "v24.11.0",
            "v22.21.0",
            "v25.0.0",
            "v24.10.0",
            "v24.9.0",
            "v22.20.0",
            "v24.8.0",
            "v20.19.5",
            "v22.19.0",
            "v24.7.0",
            "v24.6.0",
            "v24.5.0",
            "v22.18.0",
            "v20.19.4",
            "v22.17.1",
            "v24.4.1",
            "v24.4.0",
            "v22.17.0",
            "v24.3.0",
            "v20.19.3",
            "v24.2.0",
            "v24.1.0",
            "v22.16.0",
            "v24.0.2",
            "v22.15.1",
            "v20.19.2",
            "v24.0.1",
            "v24.0.0",
            "v22.15.0",
            "v20.19.1",
            "v20.19.0",
            "v22.14.0",
            "v20.18.3",
            "v22.13.1",
            "v20.18.2",
            "v22.13.0",
            "v22.12.0",
            "v20.18.1",
            "v22.11.0",
            "v22.10.0",
            "v20.18.0",
            "v22.9.0",
            "v22.8.0",
            "v22.7.0",
            "v20.17.0",
            "v22.6.0",
            "v20.16.0",
            "v22.5.1",
            "v22.5.0",
            "v20.15.1",
            "v22.4.1",
            "v22.4.0",
            "v20.15.0",
            "v22.3.0",
            "v20.14.0",
            "v22.2.0",
            "v20.13.1",
            "v20.13.0",
            "v22.1.0",
            "v22.0.0",
            "v20.12.2",
            "v20.12.1",
            "v20.12.0",
            "v20.11.1",
            "v20.11.0",
            "v20.10.0",
            "v20.9.0",
            "v20.8.1",
            "v20.8.0",
            "v20.7.0",
            "v20.6.1",
            "v20.6.0",
            "v20.5.1",
            "v20.5.0",
            "v20.4.0",
            "v20.3.1",
            "v20.3.0",
            "v20.2.0",
            "v20.1.0",
            "v20.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-55130.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.192879626Z",
      "provider": "osv",
      "references": [
        "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-55130.json",
        "https://access.redhat.com/errata/RHSA-2026:1842",
        "https://access.redhat.com/errata/RHSA-2026:1843",
        "https://access.redhat.com/errata/RHSA-2026:2420",
        "https://access.redhat.com/errata/RHSA-2026:2421",
        "https://access.redhat.com/errata/RHSA-2026:2422",
        "https://access.redhat.com/errata/RHSA-2026:2767",
        "https://access.redhat.com/errata/RHSA-2026:2768",
        "https://access.redhat.com/errata/RHSA-2026:2781",
        "https://access.redhat.com/errata/RHSA-2026:2782",
        "https://access.redhat.com/errata/RHSA-2026:2783",
        "https://access.redhat.com/errata/RHSA-2026:2864",
        "https://access.redhat.com/errata/RHSA-2026:2899",
        "https://access.redhat.com/errata/RHSA-2026:6402",
        "https://access.redhat.com/errata/RHSA-2026:6431",
        "https://access.redhat.com/errata/RHSA-2026:7386",
        "https://access.redhat.com/errata/RHSA-2026:7387",
        "https://access.redhat.com/security/cve/CVE-2025-55130",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55130.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-55130",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2431352",
        "https://nodejs.org/en/blog/vulnerability/december-2025-security-releases"
      ],
      "provider_metadata": {
        "cna_assigner": "hackerone",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "20.19.6"
                  },
                  {
                    "last_affected": "20.19.6"
                  },
                  {
                    "introduced": "22.21.1"
                  },
                  {
                    "last_affected": "22.21.1"
                  },
                  {
                    "introduced": "24.12.0"
                  },
                  {
                    "last_affected": "24.12.0"
                  },
                  {
                    "introduced": "25.2.1"
                  },
                  {
                    "last_affected": "25.2.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55130.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-55130",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507803,
  "published_at": "2026-01-20T20:41:55.393+00:00"
}