# CVE-2026-24046: Backstage has a Possible Symlink Path Traversal in Scaffolder Actions

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-01-21T22:36:30.794Z
- Modified: 2026-07-15T02:18:47.130Z
- Also known as: GHSA-rq6q-wr2q-7pgp
- Weaknesses: CWE-22, CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- backstage backstage: @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
- rhdh/rhdh-hub-rhel9: no versions given (not affected: from 1774545605 before *; from 1775140647 before *)
- @backstage/backend-defaults (npm): before 0.12.2; from 0.13.0 before 0.13.2; from 0.14.0 before 0.14.1
- @backstage/plugin-scaffolder-backend (npm): before 2.2.2; from 3.0.0 before 3.0.2; from 3.1.0 before 3.1.1
- @backstage/plugin-scaffolder-node (npm): before 0.11.2; from 0.12.0 before 0.12.3

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L`
- redhat-SADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L`

## References

- <https://github.com/backstage/backstage/security/advisories/GHSA-rq6q-wr2q-7pgp> (web)
- <https://github.com/backstage/backstage/commit/c641c147ab371a9a8a2f5f67fdb7cb9c97ef345d> (web)
- <https://access.redhat.com/security/cve/CVE-2026-24046> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2431878> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24046.json>
- <https://access.redhat.com/errata/RHSA-2026:6174> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6802> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24046> (advisory)
- <https://github.com/backstage/backstage> (package)

## Sources

- CVE List: [CVE-2026-24046](https://www.cve.org/CVERecord?id=CVE-2026-24046), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-rq6q-wr2q-7pgp](https://github.com/advisories/GHSA-rq6q-wr2q-7pgp), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2026-24046](https://nvd.nist.gov/vuln/detail/CVE-2026-24046), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-24046 · Whole record: https://cve.day/CVE-2026-24046.json · Rebuilt by cve.day 2026-11-25T22:59:13.032Z
