cve.bz

CVE-2026-120213 Path traversal

9.1 criticalEPSS 0.7%

Critical (9.1). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
@fastify/http-proxy is a Fastify plugin that proxies HTTP requests to an upstream server under a configured prefix. In versions 9.0.0 through 11.6.5, when an application uses parameterized prefix and rewritePrefix options to pin clients to a fixed upstream path, the plugin substitutes URL-decoded route parameters into rewritePrefix without re-encoding them. A parameter value that encodes a path separator together with a fragment or query delimiter therefore decodes into real separators and delimiters that inject extra upstream path segments and strip the mandatory suffix the rewritePrefix was meant to enforce, without using any dot-dot traversal. An unauthenticated remote attacker can use this to reach upstream locations outside the intended prefix, leading to path-restriction bypass and, depending on the upstream, server-side request forgery or authorization bypass in the proxied service. The issue is fixed in @fastify/http-proxy 11.6.6, and users should upgrade to 11.6.6 or later. There is no workaround other than upgrading.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.7% (unchanged from 0.7% a week ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
CWE-436 Interpretation Conflict
OWASP Top 10
A01:2025 Broken Access Control, A06:2025 Insecure Design
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-120213 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-120213?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-120213?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-2026-120213 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.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A flaw was found in @fastify/http-proxy. When configured with parameterized prefix and rewritePrefix options, the plugin substitutes URL-decoded route parameters into rewritePrefix without proper re-encoding. A remote unauthenticated attacker can supply crafted route parameters containing encoded path separators or delimiters to inject arbitrary path segments into upstream requests, resulting in path-restriction bypass, unauthorized upstream access, or server-side request forgery (SSRF).

Red Hat's mitigation

There is no viable configuration or operational workaround at this time.

ProductPackageStateAdvisory
Red Hat OpenShift AI (RHOAI)rhoai/odh-core-bff-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-operator-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-agent-ops-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-automl-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-autorag-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-eval-hub-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-gen-ai-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-maas-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-mlflow-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-model-registry-rhel9Affected
Red Hat OpenShift Dev Spacesdevspaces/dashboard-rhel9Affected

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-2026-120213.

Attack patterns (CAPEC)

  • CAPEC-34 HTTP Response Splitting Likelihood: Medium · Severity: High
  • CAPEC-105 HTTP Request Splitting Likelihood: Medium · Severity: High
  • CAPEC-273 HTTP Response Smuggling Likelihood: Medium · Severity: High
  • 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