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

Published Jan 21, 2026
·
Updated

Impact

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.

Patches

This vulnerability is fixed in the following package versions:

- @backstage/backend-defaults version 0.12.2, 0.13.2, 0.14.1, 0.15.0 - @backstage/plugin-scaffolder-backend version 2.2.2, 3.0.2, 3.1.1 - @backstage/plugin-scaffolder-node version 0.11.2, 0.12.3

Users should upgrade to these versions or later.

Workarounds

- 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 - Run Backstage in a containerized environment with limited filesystem access

References

- CWE-59: Improper Link Resolution Before File Access - OWASP Path Traversal

Other sources

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.

— MITRE

Affected Software

11 affected componentsFixes available
npm/@backstage/backend-defaults>=0.12.2<=0.15.0
npm/@backstage/plugin-scaffolder-backend>=2.2.2<=3.1.1
npm/@backstage/plugin-scaffolder-node>=0.11.2<=0.12.3
npm/@backstage/plugin-scaffolder-node>=0.12.0<0.12.3
0.12.3
npm/@backstage/plugin-scaffolder-node<0.11.2
0.11.2
npm/@backstage/plugin-scaffolder-backend>=3.1.0<3.1.1
3.1.1
npm/@backstage/plugin-scaffolder-backend>=3.0.0<3.0.2
3.0.2
npm/@backstage/plugin-scaffolder-backend<2.2.2
2.2.2
npm/@backstage/backend-defaults>=0.14.0<0.14.1
0.14.1
npm/@backstage/backend-defaults>=0.13.0<0.13.2
0.13.2
npm/@backstage/backend-defaults<0.12.2
0.12.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/@backstage/plugin-scaffolder-node to a version that resolves this vulnerability.

    Fixed in 0.12.3
  2. Upgrade

    Upgrade npm/@backstage/plugin-scaffolder-node to a version that resolves this vulnerability.

    Fixed in 0.11.2
  3. Upgrade

    Upgrade npm/@backstage/plugin-scaffolder-backend to a version that resolves this vulnerability.

    Fixed in 3.1.1
  4. Upgrade

    Upgrade npm/@backstage/plugin-scaffolder-backend to a version that resolves this vulnerability.

    Fixed in 3.0.2
  5. Upgrade

    Upgrade npm/@backstage/plugin-scaffolder-backend to a version that resolves this vulnerability.

    Fixed in 2.2.2
  6. Upgrade

    Upgrade npm/@backstage/backend-defaults to a version that resolves this vulnerability.

    Fixed in 0.14.1
  7. Upgrade

    Upgrade npm/@backstage/backend-defaults to a version that resolves this vulnerability.

    Fixed in 0.13.2
  8. Upgrade

    Upgrade npm/@backstage/backend-defaults to a version that resolves this vulnerability.

    Fixed in 0.12.2
  9. Upgrade

    Upgrade @backstage/backend-defaults to a version that resolves this vulnerability.

    Fixed in 0.15.0
  10. Upgrade

    Upgrade @backstage/backend-defaults to a version that resolves this vulnerability.

    Fixed in 0.14.1
  11. Upgrade

    Upgrade @backstage/backend-defaults to a version that resolves this vulnerability.

    Fixed in 0.13.2
  12. Upgrade

    Upgrade @backstage/backend-defaults to a version that resolves this vulnerability.

    Fixed in 0.12.2
  13. Upgrade

    Upgrade @backstage/plugin-scaffolder-backend to a version that resolves this vulnerability.

    Fixed in 3.1.1
  14. Upgrade

    Upgrade @backstage/plugin-scaffolder-backend to a version that resolves this vulnerability.

    Fixed in 3.0.2
  15. Upgrade

    Upgrade @backstage/plugin-scaffolder-backend to a version that resolves this vulnerability.

    Fixed in 2.2.2
  16. Upgrade

    Upgrade @backstage/plugin-scaffolder-node to a version that resolves this vulnerability.

    Fixed in 0.12.3
  17. Upgrade

    Upgrade @backstage/plugin-scaffolder-node to a version that resolves this vulnerability.

    Fixed in 0.11.2
  18. Compensating control

    Follow the Backstage Threat Model recommendation to limit access to creating and updating Scaffolder templates and restrict who can create and execute Scaffolder templates using the permissions framework.

  19. Compensating control

    Audit existing Scaffolder templates for symlink usage.

  20. Compensating control

    Run Backstage in a containerized environment with limited filesystem access.

Event History

Jan 21, 2026
CVE Published
via MITRE·10:36 PM
Data Sourced
via MITRE·10:36 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·10:36 PM
Data Sourced
via GitHub·10:36 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·11:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-24046?

The severity of CVE-2026-24046 is considered to be high due to the potential for symlink-based path traversal attacks.

2

How do I fix CVE-2026-24046?

To fix CVE-2026-24046, you should upgrade to versions 0.12.3 or later for @backstage/plugin-scaffolder-node, 3.1.1 or later for @backstage/plugin-scaffolder-backend, and 0.14.1 or later for @backstage/backend-defaults.

3

What types of software are affected by CVE-2026-24046?

CVE-2026-24046 affects multiple versions of @backstage/plugin-scaffolder-backend, @backstage/plugin-scaffolder-node, and @backstage/backend-defaults.

4

Can an attacker exploit CVE-2026-24046 remotely?

Yes, an attacker with access to create and execute Scaffolder templates can exploit CVE-2026-24046 remotely using symlink attacks.

5

What are the potential impacts of CVE-2026-24046?

The potential impacts of CVE-2026-24046 include unauthorized access to sensitive files or directories on the server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203