Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @backstage/cli-common
  4. ›
  5. CVE-2026-24047

CVE-2026-24047: @backstage/cli-common has a possible `resolveSafeChildPath` Symlink Chain Bypass

January 21, 2026 (updated January 22, 2026)

The 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:

  1. Symlink chains: Creating link1 → link2 → /outside where intermediate symlinks eventually resolve outside the allowed directory
  2. Dangling symlinks: Creating symlinks pointing to non-existent paths outside the base directory, which would later be created during file operations

This function is used by Scaffolder actions and other backend components to ensure file operations stay within designated directories.

References

  • github.com/advisories/GHSA-2p49-45hj-7mc9
  • github.com/backstage/backstage
  • github.com/backstage/backstage/commit/ae4dd5d1572a4f639e1a466fd982656b50f8e692
  • github.com/backstage/backstage/security/advisories/GHSA-2p49-45hj-7mc9
  • nvd.nist.gov/vuln/detail/CVE-2026-24047

Code Behaviors & Features

Detect and mitigate CVE-2026-24047 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.1.17

Fixed versions

  • 0.1.17

Solution

Upgrade to version 0.1.17 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')
  • CWE-61: UNIX Symbolic Link (Symlink) Following

Source file

npm/@backstage/cli-common/CVE-2026-24047.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:59 +0000.