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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.68% (percentile 48, 2026-11-28)
- **CWE:** CWE-22, CWE-59
- **Aliases:** GHSA-rq6q-wr2q-7pgp
- **Published:** 2026-01-21T22:36:30.794Z
- **Modified:** 2026-07-15T02:18:47.130Z

## Who should check

- Projects that depend on npm package @backstage/backend-defaults (\< 0.12.2)
- Projects that depend on npm package @backstage/plugin-scaffolder-backend (\< 2.2.2)
- Projects that depend on npm package @backstage/plugin-scaffolder-node (\< 0.11.2)
- Anyone running 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

## 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.

## Affected and fixed versions

- npm `@backstage/backend-defaults`: affected \< 0.12.2; fixed 0.12.2, 0.13.2, 0.14.1 (osv)
- npm `@backstage/plugin-scaffolder-backend`: affected \< 2.2.2; fixed 2.2.2, 3.0.2, 3.1.1 (osv)
- npm `@backstage/plugin-scaffolder-node`: affected \< 0.11.2; fixed 0.11.2, 0.12.3 (osv)
- 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 (cvelist)

## Mitigation

- Upgrade @backstage/backend-defaults to one of 0.12.2, 0.13.2, 0.14.1 (or later in the same release line).
- Upgrade @backstage/plugin-scaffolder-backend to one of 2.2.2, 3.0.2, 3.1.1 (or later in the same release line).
- Upgrade @backstage/plugin-scaffolder-node to one of 0.11.2, 0.12.3 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-24046. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-24046.md
Affected: @backstage/backend-defaults < 0.12.2; @backstage/plugin-scaffolder-backend < 2.2.2; @backstage/plugin-scaffolder-node < 0.11.2
Fixed in: 0.12.2, 0.13.2, 0.14.1, 2.2.2, 3.0.2, 3.1.1, 0.11.2, 0.12.3

Steps:
1. Search this machine and project for @backstage/backend-defaults (npm), @backstage/plugin-scaffolder-backend (npm), @backstage/plugin-scaffolder-node (npm), backstage: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-24046 being exploited?

There is no confirmed exploitation: CVE-2026-24046 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-24046?

High: CVSS 7.1 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-24046?

@backstage/backend-defaults \< 0.12.2; @backstage/plugin-scaffolder-backend \< 2.2.2; @backstage/plugin-scaffolder-node \< 0.11.2.

### Is there a fix for CVE-2026-24046?

Yes. Fixed in 0.12.2, 0.13.2, 0.14.1, 2.2.2, 3.0.2, 3.1.1, 0.11.2, 0.12.3. Upgrade @backstage/backend-defaults to one of 0.12.2, 0.13.2, 0.14.1 (or later in the same release line). Upgrade @backstage/plugin-scaffolder-backend to one of 2.2.2, 3.0.2, 3.1.1 (or later in the same release line). Upgrade @backstage/plugin-scaffolder-node to one of 0.11.2, 0.12.3 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-24046?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-24046>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-rq6q-wr2q-7pgp> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-24046> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-24046>
