cve.bz

CVE-2026-24046 backstage backstage: Path traversal

7.1 highEPSS 0.5%Fix available

High (7.1) in backstage backstage. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in @backstage/backend-defaults 0.12.2, 0.13.2, 0.14.1.

On this page
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.

Severity

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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-01-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • @backstage/backend-defaults (npm): fixed in 0.12.2, 0.13.2, 0.14.1
  • @backstage/plugin-scaffolder-backend (npm): fixed in 2.2.2, 3.0.2, 3.1.1
  • @backstage/plugin-scaffolder-node (npm): fixed in 0.11.2, 0.12.3

Ask an AI about this CVE

Show the promptExplain CVE-2026-24046 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-24046?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-24046?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-24046 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
backstage@backstage/backend-defaults < 0.12.2
backstage@backstage/backend-defaults >= 0.13.0, < 0.13.2
backstage@backstage/backend-defaults >= 0.14.0, < 0.14.1
backstage@backstage/plugin-scaffolder-backend < 2.2.2
backstage@backstage/plugin-scaffolder-backend >= 3.0.0, < 3.0.2
backstage@backstage/plugin-scaffolder-backend >= 3.1.0, < 3.1.1
backstage@backstage/plugin-scaffolder-node < 0.11.2
backstage@backstage/plugin-scaffolder-node >= 0.12.0, < 0.12.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rq6q-wr2q-7pgpnpm@backstage/backend-defaults<0.12.20.12.2
GHSA-rq6q-wr2q-7pgpnpm@backstage/backend-defaults>=0.13.0 <0.13.20.13.2
GHSA-rq6q-wr2q-7pgpnpm@backstage/backend-defaults>=0.14.0 <0.14.10.14.1
GHSA-rq6q-wr2q-7pgpnpm@backstage/plugin-scaffolder-backend<2.2.22.2.2
GHSA-rq6q-wr2q-7pgpnpm@backstage/plugin-scaffolder-backend>=3.0.0 <3.0.23.0.2
GHSA-rq6q-wr2q-7pgpnpm@backstage/plugin-scaffolder-backend>=3.1.0 <3.1.13.1.1
GHSA-rq6q-wr2q-7pgpnpm@backstage/plugin-scaffolder-node<0.11.20.11.2
GHSA-rq6q-wr2q-7pgpnpm@backstage/plugin-scaffolder-node>=0.12.0 <0.12.30.12.3

Red Hat

Red Hat rates this Important.

Red Hat's statement

To exploit this issue, an attacker needs to have access to create and execute Scaffolder actions, specifically the debug:log, fs:delete actions and archive extractions, limiting the exposure of this flaw. Additionally, file systems operations are constrained by the permissions of the process, limiting the impact to files that can be accessed by Backstage. Due to these reasons, this vulnerability has been rated with an important severity.

Red Hat's mitigation

To mitigate this issue, consider implementing strict access controls for Backstage Scaffolder templates. Restrict the ability to create and execute Scaffolder templates to trusted users only, utilizing the Backstage permissions framework. Additionally, audit existing templates for any symlink usage and consider running Backstage within a containerized environment with a highly restricted filesystem to limit potential impact.

ProductPackageStateAdvisory
Red Hat Developer Hub 1.8rhdh/rhdh-hub-rhel9:1774545605Fixed 2026-03-30RHSA-2026:6174
Red Hat Developer Hub 1.9rhdh/rhdh-hub-rhel9:1775140647Fixed 2026-04-07RHSA-2026:6802

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-24046.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON