Description
Paths checks with the resolveSafeChildPath utility were not exhaustive enough, leading to risk of path traversal vulnerabilities if symlinks can be injected by attackers.
Recommendation
Update the @backstage/backend-common package to the latest compatible version. Followings are version details:
Affected version(s): **>= 0.20.0, < 0.20.2 < 0.19.10 = 0.21.0** Patched version(s): **0.20.2 0.19.10 0.21.1**
References
Could your website be exposed too?
SmartScanner can check your website for `@backstage/backend-common` vulnerable to path traversal through symlinks and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Agnai vulnerable to Relative Path Traversal in Image Upload - CVE-2024-47171
- webpack-dev-middleware vulnerable to Path Traversal via non-slash-terminated publicPath - CVE-2026-76844
- matrix-js-sdk has insufficient MXC URI validation which allows client-side path traversal - CVE-2024-50336
- Langchain Path Traversal vulnerability - CVE-2024-7774


