What’s Vulnerable › Vulnerabilities
CVE-2024-26150: `@backstage/backend-common` vulnerable to path traversal through symlinks
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-02-23 · updated 2026-06-17
- Weakness: CWE-22
Description
`@backstage/backend-common` is a common functionality library for backends for Backstage, an open platform for building developer portals. In `@backstage/backend-common` prior to versions 0.21.1, 0.20.2, and 0.19.10, paths checks with the `resolveSafeChildPath` utility were not exhaustive enough, leading to risk of path traversal vulnerabilities if symlinks can be injected by attackers. This issue is patched in `@backstage/backend-common` versions 0.21.1, 0.20.2, and 0.19.10.
Affected products
- Linuxfoundation Backstage Backend-Common: before 0.19.10; from 0.20.0 before 0.20.2; 0.21.0 — fixed in 0.19.10, 0.20.2
How to fix
Upgrade to a fixed version: Linuxfoundation Backstage Backend-Common 0.19.10, 0.20.2. Check the vendor advisory for mitigations.
References
- https://github.com/backstage/backstage/commit/1ad2b1b61ebb430051f7d804b0cc7ebfe7922b6f
- https://github.com/backstage/backstage/commit/78f892b3a84d63de2ba167928f171154c447b717
- https://github.com/backstage/backstage/commit/edf65d7d31e027599c2415f597d085ee84807871
- 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://github.com/backstage/backstage/security/advisories/GHSA-2fc9-xpp8-2g9h
Get alerted when CVE-2024-26150 or the next vulnerability affects your stack