All vulnerabilities

npm

CVE-2026-115923

Backstage catalog rules can be bypassed for URL locations using encoded path segments

Severity
Medium 6.5
Published
28 Oct 2026
Last changed
28 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
3.9.2, 4.0.2
Exploit chance
0.3% in the next 30 daysHigher than 24% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Also known as
GHSA-w658-mh9p-ww8f
Sources
OSV.dev and GitHub

Description

@backstage/plugin-catalog-backend matches URL-type locations against catalog.rules location patterns using the raw URL string submitted by the user, while URL readers resolve that same string in canonical form when fetching the location's content. A URL can therefore be crafted so that it appears to belong to a trusted location scope during rule evaluation, but is fetched from a different scope.

When a deployment restricts catalog kinds to trusted URL prefixes using catalog.rules location patterns, DefaultCatalogRulesEnforcer applies glob matching directly to the raw location.target string. The URL readers used for ingestion resolve the same target in canonical form, including normalizing percent-encoded dot segments. A registered location such as https:///trusted/%2e%2e/attacker/repo/blob/main/catalog-info.yaml matches a https:///trusted/** pattern as a raw string, but resolves to and is fetched from https:///attacker/repo/... when its content is read.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Workarounds

No complete workaround is available for deployments that rely on URL location patterns to restrict catalog kinds. Restricting location registration permissions reduces exposure.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
@backstage/plugin-catalog-backendnpm · osv:npm:@backstage/plugin-catalog-backend
  • Every version before 3.9.2
  • From 4.0.0 before 4.0.2

About @backstage/plugin-catalog-backend

Weekly downloads (npm)
237,102npm, 23 Nov 2026

This is the only vulnerability in @backstage/plugin-catalog-backend in our list.

References