{"id":"CVE-2024-26150","published":"2024-02-23T15:46:35Z","modified":"2024-08-01T23:59:32Z","title":"`@backstage/backend-common` vulnerable to path traversal through symlinks","vendor":"backstage","product":"backstage","tier":"tail","description":{"text":"`@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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01023,"percentile":0.62603,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-2fc9-xpp8-2g9h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/backstage/backstage/commit/1ad2b1b61ebb430051f7d804b0cc7ebfe7922b6f","tags":["x_refsource_MISC"]},{"url":"https://github.com/backstage/backstage/commit/78f892b3a84d63de2ba167928f171154c447b717","tags":["x_refsource_MISC"]},{"url":"https://github.com/backstage/backstage/commit/edf65d7d31e027599c2415f597d085ee84807871","tags":["x_refsource_MISC"]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":12.52},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"backstage","affectedVersions":[{"vendor":"backstage","product":"backstage","versions":["= 0.21.0","< 0.19.10",">= 0.20.0, < 0.20.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-23T22:34:48.476857Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@backstage/backend-common","vulnerableRanges":[">=0.21.0, <0.21.1","<0.19.10",">=0.20.0, <0.20.2"],"patched":["0.21.1","0.19.10","0.20.2"],"from":["GHSA-2fc9-xpp8-2g9h"],"provenance":"source"}],"summary":{"text":"The resolveSafeChildPath utility in the @backstage/backend-common component of Backstage, an open platform for building developer portals, does not perform sufficiently exhaustive path checks, leaving it open to path traversal when symlinks can be injected. An attacker who has high privileges on the network can exploit this by placing symlinks, with no user interaction required, to read or write files outside the intended directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:54Z"},"euvd":{"id":"EUVD-2024-0471","exploited":false,"provenance":"source"}}