{"id":"GHSA-2fc9-xpp8-2g9h","summary":"`@backstage/backend-common` vulnerable to path traversal through symlinks","details":"### Impact\n\nPaths checks with the `resolveSafeChildPath` utility were not exhaustive enough, leading to risk of path traversal vulnerabilities if symlinks can be injected by attackers.\n\n### Patches\nPatched in `@backstage/backend-common` version `0.21.1`.\nPatched in `@backstage/backend-common` version `0.20.2`.\nPatched in `@backstage/backend-common` version `0.19.10`.\n\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n- Open an issue in the [Backstage repository](https://github.com/backstage/backstage)\n- Visit our Discord, linked to in [Backstage README](https://github.com/backstage/backstage)\n","aliases":["CVE-2024-26150"],"modified":"2026-09-10T03:50:05.254089104Z","published":"2024-02-23T18:02:08Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-02-23T18:02:08Z","nvd_published_at":"2024-02-23T16:15:48Z","cwe_ids":["CWE-22"]},"references":[{"type":"WEB","url":"https://github.com/backstage/backstage/security/advisories/GHSA-2fc9-xpp8-2g9h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26150"},{"type":"WEB","url":"https://github.com/backstage/backstage/commit/1ad2b1b61ebb430051f7d804b0cc7ebfe7922b6f"},{"type":"WEB","url":"https://github.com/backstage/backstage/commit/78f892b3a84d63de2ba167928f171154c447b717"},{"type":"WEB","url":"https://github.com/backstage/backstage/commit/edf65d7d31e027599c2415f597d085ee84807871"},{"type":"PACKAGE","url":"https://github.com/backstage/backstage"}],"affected":[{"package":{"name":"@backstage/backend-common","ecosystem":"npm","purl":"pkg:npm/%40backstage/backend-common"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.21.0"},{"fixed":"0.21.1"}]}],"versions":["0.21.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-2fc9-xpp8-2g9h/GHSA-2fc9-xpp8-2g9h.json"}},{"package":{"name":"@backstage/backend-common","ecosystem":"npm","purl":"pkg:npm/%40backstage/backend-common"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.19.10"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-2fc9-xpp8-2g9h/GHSA-2fc9-xpp8-2g9h.json"}},{"package":{"name":"@backstage/backend-common","ecosystem":"npm","purl":"pkg:npm/%40backstage/backend-common"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.20.0"},{"fixed":"0.20.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-2fc9-xpp8-2g9h/GHSA-2fc9-xpp8-2g9h.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N"}]}