{"id":"CVE-2026-24046","published":"2026-01-21T22:36:30Z","modified":"2026-07-15T01:17:34Z","title":"Backstage has a Possible Symlink Path Traversal in Scaffolder Actions","vendor":"backstage","product":"backstage","tier":"tail","description":{"text":"Backstage is an open framework for building developer portals. Multiple Scaffolder actions and archive extraction utilities were vulnerable to symlink-based path traversal attacks. An attacker with access to create and execute Scaffolder templates could exploit symlinks to read arbitrary files via the `debug:log` action by creating a symlink pointing to sensitive files (e.g., `/etc/passwd`, configuration files, secrets); delete arbitrary files via the `fs:delete` action by creating symlinks pointing outside the workspace, and write files outside the workspace via archive extraction (tar/zip) containing malicious symlinks. This affects any Backstage deployment where users can create or execute Scaffolder templates. This vulnerability is fixed in `@backstage/backend-defaults` versions 0.12.2, 0.13.2, 0.14.1, and 0.15.0; `@backstage/plugin-scaffolder-backend` versions 2.2.2, 3.0.2, and 3.1.1; and `@backstage/plugin-scaffolder-node` versions 0.11.2 and 0.12.3. Users should upgrade to these versions or later. Some workarounds are available. Follow the recommendation in the Backstage Threat Model to limit access to creating and updating templates, restrict who can create and execute Scaffolder templates using the permissions framework, audit existing templates for symlink usage, and/or run Backstage in a containerized environment with limited filesystem access.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00678,"percentile":0.47456,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-rq6q-wr2q-7pgp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/backstage/backstage/commit/c641c147ab371a9a8a2f5f67fdb7cb9c97ef345d","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-24046","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2431878","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24046.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6174","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6802","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":9.49},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"backstage","affectedVersions":[{"vendor":"backstage","product":"backstage","versions":["@backstage/backend-defaults < 0.12.2","@backstage/backend-defaults >= 0.13.0, < 0.13.2","@backstage/backend-defaults >= 0.14.0, < 0.14.1","@backstage/plugin-scaffolder-backend < 2.2.2","@backstage/plugin-scaffolder-backend >= 3.0.0, < 3.0.2","@backstage/plugin-scaffolder-backend >= 3.1.0, < 3.1.1","@backstage/plugin-scaffolder-node < 0.11.2","@backstage/plugin-scaffolder-node >= 0.12.0, < 0.12.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-22T15:09:21.771684Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@backstage/backend-defaults","vulnerableRanges":["<0.12.2",">=0.13.0, <0.13.2",">=0.14.0, <0.14.1"],"patched":["0.12.2","0.13.2","0.14.1"],"from":["GHSA-rq6q-wr2q-7pgp"],"provenance":"source"},{"ecosystem":"npm","package":"@backstage/plugin-scaffolder-backend","vulnerableRanges":["<2.2.2",">=3.0.0, <3.0.2",">=3.1.0, <3.1.1"],"patched":["2.2.2","3.0.2","3.1.1"],"from":["GHSA-rq6q-wr2q-7pgp"],"provenance":"source"},{"ecosystem":"npm","package":"@backstage/plugin-scaffolder-node","vulnerableRanges":["<0.11.2",">=0.12.0, <0.12.3"],"patched":["0.11.2","0.12.3"],"from":["GHSA-rq6q-wr2q-7pgp"],"provenance":"source"}],"summary":{"text":"Backstage's Scaffolder actions and archive extraction utilities (in the backstage product's backend-defaults and scaffolder components) fail to properly handle symlinks, enabling symlink-based path traversal. An attacker who can create and execute Scaffolder templates over the network, with low privileges, can use crafted symlinks to read arbitrary files via the debug:log action, delete files via fs:delete, or write files outside the workspace through malicious tar/zip archives, with the attack complexity being high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:24Z"},"euvd":{"id":"EUVD-2026-4137","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-43783","published":"2021-11-29","fixed":"0.15.14","kev":false},{"cve":"CVE-2023-35926","published":"2023-06-22","fixed":"1.15.0","kev":false},{"cve":"CVE-2025-55285","published":"2025-08-15","fixed":"2.1.1","kev":false,"link":{"from":"CVE-2025-55285","to":"CVE-2026-24046","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@backstage/plugin-scaffolder-backend","fromFixed":"2.1.1","toFixed":"2.2.2","daysApart":159}]}},{"cve":"CVE-2026-24046","published":"2026-01-21","fixed":"3.1.1","kev":false},{"cve":"CVE-2026-29184","published":"2026-03-07","fixed":"3.1.4","kev":false,"link":{"from":"CVE-2026-24046","to":"CVE-2026-29184","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@backstage/plugin-scaffolder-backend","fromFixed":"3.1.1","toFixed":"3.1.4","daysApart":45}]}},{"cve":"CVE-2026-32237","published":"2026-03-12","fixed":"3.1.5","kev":false},{"cve":"CVE-2026-106461","published":"2026-10-06","fixed":"4.1.0","kev":false}],"package":"npm:@backstage/plugin-scaffolder-backend"}}