{"answers":{"affected":"16 open source packages ship an affected version, including @backstage/backend-defaults, @backstage/plugin-scaffolder-backend and @backstage/plugin-scaffolder-node.","exploited":"There is no known exploitation of CVE-2026-24046 in the wild and no public exploit code.","fix":"Upgrade @backstage/backend-defaults to a fixed version for your release line: 0.12.2, 0.13.2 or 0.14.1.","what":"CVE-2026-24046 is a high-severity path traversal vulnerability in backstage, published on 21 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-24046 and fix it if it is affected.\n\nWhat it is: CVE-2026-24046 is a high-severity path traversal vulnerability in backstage, published on 21 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-24046 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @backstage/backend-defaults (npm): affected all versions; fixed in 0.12.2\n- @backstage/backend-defaults (npm): affected all versions; fixed in 0.12.2\n- @backstage/backend-defaults (npm): affected from 0.13.0; fixed in 0.13.2\n- @backstage/backend-defaults (npm): affected from 0.13.0; fixed in 0.13.2\n- @backstage/backend-defaults (npm): affected from 0.14.0; fixed in 0.14.1\n- @backstage/backend-defaults (npm): affected from 0.14.0; fixed in 0.14.1\n- @backstage/plugin-scaffolder-backend (npm): affected all versions; fixed in 2.2.2\n- @backstage/plugin-scaffolder-backend (npm): affected all versions; fixed in 2.2.2\n- @backstage/plugin-scaffolder-backend (npm): affected from 3.0.0; fixed in 3.0.2\n- @backstage/plugin-scaffolder-backend (npm): affected from 3.0.0; fixed in 3.0.2\n- @backstage/plugin-scaffolder-backend (npm): affected from 3.1.0; fixed in 3.1.1\n- @backstage/plugin-scaffolder-backend (npm): affected from 3.1.0; fixed in 3.1.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-24046/ (Markdown: https://insights.sbomify.com/CVE-2026-24046/index.md)","id":"CVE-2026-24046","markdown":"https://insights.sbomify.com/CVE-2026-24046/index.md","name":"CVE-2026-24046","record":{"aliases":["GHSA-rq6q-wr2q-7pgp","ROOT-APP-NPM-CVE-2026-24046"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Backstage developer portal","requires_auth":"low_privilege","summary":"Attackers can read or delete arbitrary files and write outside the workspace via symlink path traversal in Scaffolder actions.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Backstage is an open framework for building developer portals. Multiple 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 read arbitrary files via the `debug:log` action by creating a symlink pointing to sensitive files (e.g., `/etc/passwd`, configuration files, secrets); delete arbitrary files via the `fs:delete` action by creating symlinks pointing outside the workspace, and write files outside the workspace via archive extraction (tar/zip) containing malicious symlinks. This affects any Backstage deployment where users can create or execute Scaffolder templates. This vulnerability is fixed in `@backstage/backend-defaults` versions 0.12.2, 0.13.2, 0.14.1, and 0.15.0; `@backstage/plugin-scaffolder-backend` versions 2.2.2, 3.0.2, and 3.1.1; and `@backstage/plugin-scaffolder-node` versions 0.11.2 and 0.12.3. Users should upgrade to these versions or later. Some workarounds are available. Follow the recommendation in the Backstage Threat Model to limit access to creating and updating templates, restrict who can create and execute Scaffolder templates using the permissions framework, audit existing templates for symlink usage, and/or run Backstage in a containerized environment with limited filesystem access.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-10-09","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-10-09T12:44:25Z","kind":"github_poc","ref":"https://github.com/Rem1L/cve-2026-24046-poc","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Backstage has a Possible Symlink Path Traversal in Scaffolder Actions","id":"CVE-2026-24046","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":16,"n_references":2,"next":{"headline":"@backstage/cli-common has a possible `resolveSafeChildPath` Symlink Chain Bypass","id":"CVE-2026-24047"},"packages":[{"ecosystem":"npm","fixed":["0.12.2"],"introduced":["0"],"last_affected":[],"package":"@backstage/backend-defaults","purl":null,"source":"GHSA-rq6q-wr2q-7pgp"},{"ecosystem":"npm","fixed":["0.12.2"],"introduced":["0"],"last_affected":[],"package":"@backstage/backend-defaults","purl":"pkg:npm/%40backstage/backend-defaults","source":"GHSA-rq6q-wr2q-7pgp"},{"ecosystem":"npm","fixed":["0.13.2"],"introduced":["0.13.0"],"last_affected":[],"package":"@backstage/backend-defaults","purl":null,"source":"GHSA-rq6q-wr2q-7pgp"},{"ecosystem":"npm","fixed":["0.13.2"],"introduced":["0.13.0"],"last_affected":[],"package":"@backstage/backend-defaults","purl":"pkg:npm/%40backstage/backend-defaults","source":"GHSA-rq6q-wr2q-7pgp"},{"ecosystem":"npm","fixed":["0.14.1"],"introduced":["0.14.0"],"last_affected":[],"package":"@backstage/backend-defaults","purl":null,"source":"GHSA-rq6q-wr2q-7pgp"},{"ecosystem":"npm","fixed":["0.14.1"],"introduced":["0.14.0"],"last_affected":[],"package":"@backstage/backend-defaults","purl":"pkg:npm/%40backstage/backend-defaults","source":"GHSA-rq6q-wr2q-7pgp"},{"ecosystem":"npm","fixed":["2.2.2"],"introduced":["0"],"last_affected":[],"package":"@backstage/plugin-scaffolder-backend","purl":null,"source":"GHSA-rq6q-wr2q-7pgp"},{"ecosystem":"npm","fixed":["2.2.2"],"introduced":["0"],"last_affected":[],"package":"@backstage/plugin-scaffolder-backend","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend","source":"GHSA-rq6q-wr2q-7pgp"},{"ecosystem":"npm","fixed":["3.0.2"],"introduced":["3.0.0"],"last_affected":[],"package":"@backstage/plugin-scaffolder-backend","purl":null,"source":"GHSA-rq6q-wr2q-7pgp"},{"ecosystem":"npm","fixed":["3.0.2"],"introduced":["3.0.0"],"last_affected":[],"package":"@backstage/plugin-scaffolder-backend","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend","source":"GHSA-rq6q-wr2q-7pgp"},{"ecosystem":"npm","fixed":["3.1.1"],"introduced":["3.1.0"],"last_affected":[],"package":"@backstage/plugin-scaffolder-backend","purl":null,"source":"GHSA-rq6q-wr2q-7pgp"},{"ecosystem":"npm","fixed":["3.1.1"],"introduced":["3.1.0"],"last_affected":[],"package":"@backstage/plugin-scaffolder-backend","purl":"pkg:npm/%40backstage/plugin-scaffolder-backend","source":"GHSA-rq6q-wr2q-7pgp"},{"ecosystem":"npm","fixed":["0.11.2"],"introduced":["0"],"last_affected":[],"package":"@backstage/plugin-scaffolder-node","purl":null,"source":"GHSA-rq6q-wr2q-7pgp"},{"ecosystem":"npm","fixed":["0.11.2"],"introduced":["0"],"last_affected":[],"package":"@backstage/plugin-scaffolder-node","purl":"pkg:npm/%40backstage/plugin-scaffolder-node","source":"GHSA-rq6q-wr2q-7pgp"},{"ecosystem":"npm","fixed":["0.12.3"],"introduced":["0.12.0"],"last_affected":[],"package":"@backstage/plugin-scaffolder-node","purl":null,"source":"GHSA-rq6q-wr2q-7pgp"},{"ecosystem":"npm","fixed":["0.12.3"],"introduced":["0.12.0"],"last_affected":[],"package":"@backstage/plugin-scaffolder-node","purl":"pkg:npm/%40backstage/plugin-scaffolder-node","source":"GHSA-rq6q-wr2q-7pgp"}],"prev":{"headline":"Docmost Affected by Stored XSS in Public Share Page","id":"CVE-2026-24045"},"products":["backstage"],"published":"2026-01-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["backstage"]},"summary":"Attackers can read or delete arbitrary files and write outside the workspace via symlink path traversal in Scaffolder actions.","url":"https://insights.sbomify.com/CVE-2026-24046/"}