cve.bz

CVE-2024-26150 linuxfoundation backstage backend-common: Path traversal

7.5 highEPSS 0.8%Fix available

High (7.5) in linuxfoundation backstage backend-common. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in @backstage/backend-common 0.19.10, 0.20.2, 0.21.1.

On this page
`@backstage/backend-common` is a common functionality library for backends for Backstage, an open platform for building developer portals. In `@backstage/backend-common` prior to versions 0.21.1, 0.20.2, and 0.19.10, paths checks with the `resolveSafeChildPath` utility were not exhaustive enough, leading to risk of path traversal vulnerabilities if symlinks can be injected by attackers. This issue is patched in `@backstage/backend-common` versions 0.21.1, 0.20.2, and 0.19.10.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-02-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-26150 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-26150?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-26150?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-26150 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxfoundation:backstage_backend-commonbefore 0.19.10
linuxfoundation:backstage_backend-commonfrom 0.20.0 before 0.20.2
linuxfoundation:backstage_backend-common0.21.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2fc9-xpp8-2g9hnpm@backstage/backend-common>=0.21.0 <0.21.10.21.1
GHSA-2fc9-xpp8-2g9hnpm@backstage/backend-common<0.19.100.19.10
GHSA-2fc9-xpp8-2g9hnpm@backstage/backend-common>=0.20.0 <0.20.20.20.2

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

RHDH actions do not use symlinks and would not be exposed. There is a small chance that customers can use 3rd party software templates that use symlinks but it's a low risk and to our knowledge, none of our customers are going into production with 1.0. If they had intentions to, we would advise them to use 1.1 which is patched already.

Since 1.0 is in maintenance mode, our decision is aligned with our lifecycle policy to only backport critical and important CVEs. So marking as would not fix.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Developer Hub 1rhdh-operator-containerNot affected
Red Hat Developer Hub 1rhdh/rhdh-hub-rhel9Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-26150.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON