CVE-2026-24047: @backstage/cli-common Symlink Chain Bypass Vulnerability

@backstage/cli-common Updated 22 Jan 2026

Summary

21/01/2026
Yes i
Moderate
6.3

CVE-2026-24047: @backstage/cli-common has a possible resolveSafeChildPath Symlink Chain Bypass. Affects @backstage/cli-common versions < 0.1.17. Fixed in 0.1.17. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The @backstage/cli-common package is a part of the Backstage ecosystem, which is designed to streamline the development and management of software projects. It provides various utilities and tools to enhance the developer experience. However, it has a vulnerability in its resolveSafeChildPath utility function that can lead to security risks if not addressed.

Vulnerability Detail

The vulnerability in @backstage/cli-common arises from the resolveSafeChildPath function, which is intended to prevent path traversal attacks. It fails to adequately validate symlink chains and dangling symlinks. An attacker can exploit this flaw by creating symlink chains that resolve outside the allowed directory or by using dangling symlinks that point to non-existent paths outside the base directory. This could potentially allow unauthorized file operations within the system, leading to data exposure or manipulation.

How To Fix

Minimum fixed version

0.1.17

This is the first release that contains the fix.

npm install @backstage/cli-common@0.1.17

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, consider running Backstage in a containerized environment with limited filesystem access. Additionally, restrict template creation to trusted users to minimize the risk of exploitation.

Conclusion

The @backstage/cli-common package contains a vulnerability that could allow attackers to bypass path validation through symlink chains and dangling symlinks. It is crucial for users to upgrade to the patched version to mitigate risks. Implementing workarounds can provide temporary relief until the upgrade is completed.

See every vulnerability recorded for @backstage/cli-common →

Share this vulnerability

FAQ

The vulnerability allows for a possible bypass of path validation through symlink chains and dangling symlinks, which can lead to unauthorized file access.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Check your application against this vulnerability using the Vulert playground at Vulert Scanner.

The CVSS score for this vulnerability is 6.3, indicating a moderate severity level.

If an immediate upgrade is not possible, implement the suggested workarounds, such as running Backstage in a restricted environment and limiting template creation to trusted users.

Detailed information can be found in the GitHub advisory database and the official documentation for the @backstage/cli-common package.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

0.1.17

This is the first release that contains the fix.

npm install @backstage/cli-common@0.1.17

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback