Skip to content
Heist/ feed
Back to feed
Critical

node-rollup — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-27606

Rollup is a module bundler for JavaScript. Versions prior to 2.80.0, 3.30.0, and 4.59.0 of the Rollup module bundler (specifically v4.x and present in current source) is vulnerable to an Arbitrary File Write via Path Traversal. Insecure file name sanitization in the core engine allows an attacker to control output filenames (e.g., via CLI named inputs, manual chunk aliases, or malicious plugins) and use traversal sequences (`../`) to overwrite files anywhere on the host filesystem that the build process has permissions for. This can lead to persistent Remote Code Execution (RCE) by overwriting critical system or user configuration files. Versions 2.80.0, 3.30.0, and 4.59.0 contain a patch for the issue.

Products
node-rollup
Affected versions
0.50.0-6build3, 0.68.2-2, 1.12.0-2build2, 1.12.0-2build3, 2.38.4-1, 2.42.1-2, 2.61.1-5, 3.28.0-2, 3.29.4-2, 3.29.4-3, 3.29.5-1, 3.30.0-1, 3.30.0-5build5
Fixed versions
Not specified
CVEs
CVE-2026-27606
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:19 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-27606

core-osv · Original source

Published 25 Feb 2026, 03:16 UTC

Rollup is a module bundler for JavaScript. Versions prior to 2.80.0, 3.30.0, and 4.59.0 of the Rollup module bundler (specifically v4.x and present in current source) is vulnerable to an Arbitrary File Write via Path Traversal. Insecure file name sanitization in the core engine allows an attacker to control output filenames (e.g., via CLI named inputs, manual chunk aliases, or malicious plugins) and use traversal sequences (`../`) to overwrite files anywhere on the host filesystem that the build process has permissions for. This can lead to persistent Remote Code Execution (RCE) by overwriting critical system or user configuration files. Versions 2.80.0, 3.30.0, and 4.59.0 contain a patch for the issue.

osv:UBUNTU-CVE-2026-27606

node-rollup

Fixed versions: Not specified

node-rollup

Fixed versions: Not specified

node-rollup

Fixed versions: Not specified

node-rollup

Fixed versions: Not specified

node-rollup

Fixed versions: Not specified

node-rollup

Fixed versions: Not specified

Complete source record
{
  "id": "9c27a56d3cfd2101f01eb9aeec6b76c389af8686d5d322d7fe7a55273893c96f",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-27606",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-27606",
    "summary": "Rollup is a module bundler for JavaScript. Versions prior to 2.80.0, 3.30.0, and 4.59.0 of the Rollup module bundler (specifically v4.x and present in current source) is vulnerable to an Arbitrary File Write via Path Traversal. Insecure file name sanitization in the core engine allows an attacker to control output filenames (e.g., via CLI named inputs, manual chunk aliases, or malicious plugins) and use traversal sequences (`../`) to overwrite files anywhere on the host filesystem that the build process has permissions for. This can lead to persistent Remote Code Execution (RCE) by overwriting critical system or user configuration files. Versions 2.80.0, 3.30.0, and 4.59.0 contain a patch for the issue.",
    "evidence": "osv:UBUNTU-CVE-2026-27606",
    "products": [
      {
        "name": {
          "value": "node-rollup",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.50.0-6build3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.68.2-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.12.0-2build2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.12.0-2build3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-rollup",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.38.4-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.42.1-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.61.1-5",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-rollup",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.28.0-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.29.4-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.29.4-3",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-rollup",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.29.5-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-rollup",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.30.0-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "3.30.0-5build5",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-rollup",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.29.5-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "3.30.0-1",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2026-27606",
      "aliases": [
        "UBUNTU-CVE-2026-27606"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-rollup",
            "purl": "pkg:deb/ubuntu/node-rollup?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "0.50.0-6build3",
            "0.68.2-2",
            "1.12.0-2build2",
            "1.12.0-2build3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27606.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "rollup",
                "binary_version": "1.12.0-2build3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-rollup",
            "purl": "pkg:deb/ubuntu/node-rollup?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "2.38.4-1",
            "2.42.1-2",
            "2.61.1-5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27606.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "rollup",
                "binary_version": "2.61.1-5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-rollup",
            "purl": "pkg:deb/ubuntu/node-rollup?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "3.28.0-2",
            "3.29.4-2",
            "3.29.4-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27606.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "rollup",
                "binary_version": "3.29.4-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-rollup",
            "purl": "pkg:deb/ubuntu/node-rollup?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "3.29.5-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27606.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "rollup",
                "binary_version": "3.29.5-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-rollup",
            "purl": "pkg:deb/ubuntu/node-rollup?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.30.0-1",
            "3.30.0-5build5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27606.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "rollup",
                "binary_version": "3.30.0-5build5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-rollup",
            "purl": "pkg:deb/ubuntu/node-rollup?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "3.29.5-1",
            "3.30.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27606.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "rollup",
                "binary_version": "3.30.0-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-27T04:17:53.257298466Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-27606"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-27606",
        "https://www.cve.org/CVERecord?id=CVE-2026-27606",
        "https://github.com/rollup/rollup/security/advisories/GHSA-mw96-cpmx-2vgc",
        "https://github.com/rollup/rollup/commit/c60770d7aaf750e512c1b2774989ea4596e660b2",
        "https://github.com/rollup/rollup/commit/c8cf1f9c48c516285758c1e11f08a54f304fd44e",
        "https://github.com/rollup/rollup/commit/d6dee5e99bb82aac0bee1df4ab9efbde455452c3",
        "https://github.com/rollup/rollup/releases/tag/v2.80.0",
        "https://github.com/rollup/rollup/releases/tag/v3.30.0",
        "https://github.com/rollup/rollup/releases/tag/v4.59.0"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-27606",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/2/score"
  },
  "source_id": "core-osv",
  "document_id": 460322,
  "published_at": "2026-02-25T03:16:00+00:00"
}