Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @backstage/backend-defaults
  4. ›
  5. CVE-2026-24046

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

January 21, 2026 (updated January 22, 2026)

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:

  1. Read arbitrary files via the debug:log action by creating a symlink pointing to sensitive files (e.g., /etc/passwd, configuration files, secrets)
  2. Delete arbitrary files via the fs:delete action by creating symlinks pointing outside the workspace
  3. 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.

References

  • github.com/advisories/GHSA-rq6q-wr2q-7pgp
  • github.com/backstage/backstage
  • github.com/backstage/backstage/commit/c641c147ab371a9a8a2f5f67fdb7cb9c97ef345d
  • github.com/backstage/backstage/security/advisories/GHSA-rq6q-wr2q-7pgp
  • nvd.nist.gov/vuln/detail/CVE-2026-24046

Code Behaviors & Features

Detect and mitigate CVE-2026-24046 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.12.2, all versions starting from 0.13.0 before 0.13.2, all versions starting from 0.14.0 before 0.14.1

Fixed versions

  • 0.12.2
  • 0.13.2
  • 0.14.1

Solution

Upgrade to versions 0.12.2, 0.13.2, 0.14.1 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

npm/@backstage/backend-defaults/CVE-2026-24046.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:23 +0000.