{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/49787?format=json","vulnerability_id":"VCID-nwgc-2f7k-tkb2","summary":"Backstage has a Possible Symlink Path Traversal in Scaffolder Actions\nMultiple Scaffolder actions and archive extraction utilities were vulnerable to symlink-based path traversal attacks. An attacker with access to create and execute Scaffolder templates could exploit symlinks to:\n\n1. **Read arbitrary files** via the `debug:log` action by creating a symlink pointing to sensitive files (e.g., `/etc/passwd`, configuration files, secrets)\n2. **Delete arbitrary files** via the `fs:delete` action by creating symlinks pointing outside the workspace\n3. **Write files outside the workspace** via archive extraction (tar/zip) containing malicious symlinks\n\nThis affects any Backstage deployment where users can create or execute Scaffolder templates.","aliases":[{"alias":"CVE-2026-24046"},{"alias":"GHSA-rq6q-wr2q-7pgp"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/73521?format=json","purl":"pkg:npm/%40backstage/backend-defaults@0.12.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/backend-defaults@0.12.2"},{"url":"http://public2.vulnerablecode.io/api/packages/73522?format=json","purl":"pkg:npm/%40backstage/backend-defaults@0.13.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/backend-defaults@0.13.2"},{"url":"http://public2.vulnerablecode.io/api/packages/73523?format=json","purl":"pkg:npm/%40backstage/backend-defaults@0.14.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/backend-defaults@0.14.1"},{"url":"http://public2.vulnerablecode.io/api/packages/73528?format=json","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend@2.2.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/plugin-scaffolder-backend@2.2.2"},{"url":"http://public2.vulnerablecode.io/api/packages/73529?format=json","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend@3.0.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/plugin-scaffolder-backend@3.0.2"},{"url":"http://public2.vulnerablecode.io/api/packages/73530?format=json","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend@3.1.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/plugin-scaffolder-backend@3.1.1"},{"url":"http://public2.vulnerablecode.io/api/packages/73538?format=json","purl":"pkg:npm/%40backstage/plugin-scaffolder-node@0.11.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/plugin-scaffolder-node@0.11.2"},{"url":"http://public2.vulnerablecode.io/api/packages/73539?format=json","purl":"pkg:npm/%40backstage/plugin-scaffolder-node@0.12.3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/plugin-scaffolder-node@0.12.3"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/73519?format=json","purl":"pkg:npm/%40backstage/backend-defaults@0.13.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-5bv8-wj49-3kee"},{"vulnerability":"VCID-nwgc-2f7k-tkb2"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/backend-defaults@0.13.0"},{"url":"http://public2.vulnerablecode.io/api/packages/73520?format=json","purl":"pkg:npm/%40backstage/backend-defaults@0.14.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-5bv8-wj49-3kee"},{"vulnerability":"VCID-nwgc-2f7k-tkb2"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/backend-defaults@0.14.0"},{"url":"http://public2.vulnerablecode.io/api/packages/73526?format=json","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend@3.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwgc-2f7k-tkb2"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/plugin-scaffolder-backend@3.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/73527?format=json","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend@3.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwgc-2f7k-tkb2"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/plugin-scaffolder-backend@3.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/73537?format=json","purl":"pkg:npm/%40backstage/plugin-scaffolder-node@0.12.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nwgc-2f7k-tkb2"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/plugin-scaffolder-node@0.12.0"}],"references":[{"reference_url":"https://github.com/backstage/backstage","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/backstage/backstage"},{"reference_url":"https://github.com/backstage/backstage/commit/c641c147ab371a9a8a2f5f67fdb7cb9c97ef345d","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/backstage/backstage/commit/c641c147ab371a9a8a2f5f67fdb7cb9c97ef345d"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24046","reference_id":"CVE-2026-24046","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24046"},{"reference_url":"https://github.com/advisories/GHSA-rq6q-wr2q-7pgp","reference_id":"GHSA-rq6q-wr2q-7pgp","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-rq6q-wr2q-7pgp"},{"reference_url":"https://github.com/backstage/backstage/security/advisories/GHSA-rq6q-wr2q-7pgp","reference_id":"GHSA-rq6q-wr2q-7pgp","reference_type":"","scores":[],"url":"https://github.com/backstage/backstage/security/advisories/GHSA-rq6q-wr2q-7pgp"}],"weaknesses":[{"cwe_id":22,"name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."},{"cwe_id":59,"name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."}],"exploits":[],"severity_range_score":null,"exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-nwgc-2f7k-tkb2"}