Skip to content

Commit 45a4142

Browse files
1 parent 5a12483 commit 45a4142

1 file changed

Lines changed: 65 additions & 0 deletions

File tree

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-2p49-45hj-7mc9",
4+
"modified": "2026-01-21T22:40:51Z",
5+
"published": "2026-01-21T22:40:51Z",
6+
"aliases": [
7+
"CVE-2026-24047"
8+
],
9+
"summary": "@backstage/cli-common has a possible `resolveSafeChildPath` Symlink Chain Bypass",
10+
"details": "### Impact\n\nThe `resolveSafeChildPath` utility function in `@backstage/backend-plugin-api`, which is used to prevent path traversal attacks, failed to properly validate symlink chains and dangling symlinks. An attacker could bypass the path validation by:\n\n1. **Symlink chains**: Creating `link1 → link2 → /outside` where intermediate symlinks eventually resolve outside the allowed directory\n2. **Dangling symlinks**: Creating symlinks pointing to non-existent paths outside the base directory, which would later be created during file operations\n\nThis function is used by Scaffolder actions and other backend components to ensure file operations stay within designated directories.\n\n### Patches\n\nThis vulnerability is fixed in `@backstage/backend-plugin-api` version 0.1.17. Users should upgrade to this version or later.\n\n### Workarounds\n\n- Run Backstage in a containerised environment with limited filesystem access\n- Restrict template creation to trusted users",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "npm",
21+
"name": "@backstage/cli-common"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0"
29+
},
30+
{
31+
"fixed": "0.1.17"
32+
}
33+
]
34+
}
35+
],
36+
"database_specific": {
37+
"last_known_affected_version_range": "<= 0.1.16"
38+
}
39+
}
40+
],
41+
"references": [
42+
{
43+
"type": "WEB",
44+
"url": "https://github.com/backstage/backstage/security/advisories/GHSA-2p49-45hj-7mc9"
45+
},
46+
{
47+
"type": "WEB",
48+
"url": "https://github.com/backstage/backstage/commit/ae4dd5d1572a4f639e1a466fd982656b50f8e692"
49+
},
50+
{
51+
"type": "PACKAGE",
52+
"url": "https://github.com/backstage/backstage"
53+
}
54+
],
55+
"database_specific": {
56+
"cwe_ids": [
57+
"CWE-59",
58+
"CWE-61"
59+
],
60+
"severity": "MODERATE",
61+
"github_reviewed": true,
62+
"github_reviewed_at": "2026-01-21T22:40:51Z",
63+
"nvd_published_at": null
64+
}
65+
}

0 commit comments

Comments
 (0)