CVE-2024-26150: `@backstage/backend-common` vulnerable to path traversal through symlinks
Impact Paths checks with the resolveSafeChildPath utility were not exhaustive enough, leading to risk of path traversal vulnerabilities if symlinks can be injected by attackers. Patches Patched in @backstage/backend-common version 0.21.1. Patched in @backstage/backend-common version 0.20.2. Patched in @backstage/backend-common version 0.19.10.
Published Feb 23, 2024 · Updated Mar 24, 2026
Affected packages
@backstage/backend-common
- Ecosystem
- npm
- Affected
- = 0.21.0
- Fixed in
- 0.21.1
- Check
npm ls @backstage/backend-common
@backstage/backend-common
- Ecosystem
- npm
- Affected
- < 0.19.10
- Fixed in
- 0.19.10
- Check
npm ls @backstage/backend-common
@backstage/backend-common
- Ecosystem
- npm
- Affected
- >= 0.20.0, < 0.20.2
- Fixed in
- 0.20.2
- Check
npm ls @backstage/backend-common
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
Paths checks with the resolveSafeChildPath utility were not exhaustive enough, leading to risk of path traversal vulnerabilities if symlinks can be injected by attackers.
Patches
Patched in @backstage/backend-common version 0.21.1. Patched in @backstage/backend-common version 0.20.2. Patched in @backstage/backend-common version 0.19.10.
For more information
If you have any questions or comments about this advisory:
- Open an issue in the Backstage repository
- Visit our Discord, linked to in Backstage README
References
- https://github.com/backstage/backstage/security/advisories/GHSA-2fc9-xpp8-2g9h
- https://github.com/backstage/backstage/commit/1ad2b1b61ebb430051f7d804b0cc7ebfe7922b6f
- https://github.com/backstage/backstage/commit/78f892b3a84d63de2ba167928f171154c447b717
- https://github.com/backstage/backstage/commit/edf65d7d31e027599c2415f597d085ee84807871
- https://nvd.nist.gov/vuln/detail/CVE-2024-26150
- https://github.com/advisories/GHSA-2fc9-xpp8-2g9h
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
