CVE-2026-24047 Details
Description
Backstage is an open framework for building developer portals, and @backstage/cli-common provides config loading functionality used by the backend and command line interface of Backstage. Prior to version 0.1.17, the `resolveSafeChildPath` utility function in `@backstage/backend-plugin-api`, which is used to prevent path traversal attacks, failed to properly validate symlink chains and dangling symlinks. An attacker could bypass the path validation via symlink chains (creating `link1 → link2 → /outside` where intermediate symlinks eventually resolve outside the allowed directory) and dangling symlinks (creating symlinks pointing to non-existent paths outside the base directory, which would later be created during file operations). This function is used by Scaffolder actions and other backend components to ensure file operations stay within designated directories. This vulnerability is fixed in `@backstage/backend-plugin-api` version 0.1.17. Users should upgrade to this version or later. Some workarounds are available. Run Backstage in a containerized environment with limited filesystem access and/or restrict template creation to trusted users.
A path traversal vulnerability has been identified in Backstage's @backstage/cli-common package, prior to version 0.1.17. The issue arises in the resolveSafeChildPath utility, which is intended to prevent path traversal attacks but fails to properly validate symlink chains and dangling symlinks. This vulnerability allows attackers to bypass path validation by creating symlink chains that resolve outside the allowed directory or by using dangling symlinks that point to non-existent paths outside the base directory, which could be created during file operations. The affected function is used by Scaffolder actions and other backend components to ensure file operations remain within designated directories.
Users are advised to upgrade to @backstage/cli-common version 0.1.17 or later. Additionally, running Backstage in a containerized environment with limited filesystem access and restricting template creation to trusted users can help mitigate this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 21, 2026CISA-ADP
Assessed Jan 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/backstage/backstage/commit/ae4dd5d1572a4f639e1a466fd982656b50f8e692 | [email protected] | Source CodeVendor |
| https://github.com/backstage/backstage/security/advisories/GHSA-2p49-45hj-7mc9 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
| CWE-61 | UNIX Symbolic Link (Symlink) Following | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| @backstage/backend-plugin-api | All versions |
CPE
Remediation
| |
| @backstage/cli-common | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 21, 2026 | New CVE Received | [email protected] |
Volerion