CVE-2026-24046
Backstage has a Possible Symlink Path Traversal in Scaffolder Actions
- State
- Published
- Severity
- 7.1 High
- Published
- Jan 21, 2026
- Updated
- Jul 15, 2026
- Reserved
- Jan 20, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.1 High | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L | GitHub_M |
| 3.1 | 9.1 Critical | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
backstagebackstage |
|
References
- https://github.com/backstage/backstage/security/advisories/GHSA-rq6q-wr2q-7pgp
- https://github.com/backstage/backstage/commit/c641c147ab371a9a8a2f5f67fdb7cb9c97ef345d
- https://access.redhat.com/security/cve/CVE-2026-24046vdb-entry
- RHBZ#2431878issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24046.json
- https://access.redhat.com/errata/RHSA-2026:6174vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:6802vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.