CVE-2026-94571

openstack-octavia: octavia: HAProxy configuration injection via L7 policy redirect_url and redirect_prefix

Published Sep 21, 2026 CVSS 4.0 · 9.4 Critical EPSS < 1% KEV · Not listed
Description
In OpenStack Octavia before 18.0.1, the Amphora provider driver did not reject control characters in the L7 policy redirect_url and redirect_prefix fields. The RFC 3986 URL validator percent-encodes control characters before validating, and thus newlines passed structural checks, but Octavia stored and wrote the raw unencoded value directly into the HAProxy configuration generated on the amphora. An authenticated project member who owns a load balancer can therefore inject arbitrary HAProxy directives through a REDIRECT_TO_URL L7 policy. Only deployments using the Amphora provider are affected.

Analysis

AI-generated

Technical impact

The vulnerability occurs when control characters are allowed in redirect URL and prefix fields of the L7 policy in OpenStack Octavia. The RFC 3986 validator percent‑encodes these characters before validation, so newline and other control characters appear to be valid. Octavia then writes the raw, unencoded value directly into the HAProxy configuration used by the Amphora load‑balancer instance. An authenticated project member who owns a load balancer can use this flaw to inject arbitrary HAProxy directives, allowing the attacker to manipulate how traffic is routed or dropped, potentially leading to denial of service or additional configuration changes that affect the host environment.

Affected Systems

OpenStack Octavia when using the Amphora provider. Versions prior to 18.0.1 are affected. The vulnerability does not apply to deployments that do not use the Amphora provider.

Risk and Exploitability

The CVSS score of 9.4 marks this as a critical flaw, and the EPSS score is not available, indicating uncertainty on current exploitation rates. The flaw is not listed in CISA’s KEV catalog. The attack requires an authenticated project member who owns a load balancer, so the vectors are primarily internal to the OpenStack deployment. An attacker can leverage the injection to modify HAProxy configuration, potentially disrupting load‑balancing services or enabling further compromise if the amphora host is reachable.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenStack Octavia to version 18.0.1 or later, which removes the control‑character validation bug.
  • If unable to upgrade immediately, restrict or disable the L7 policy’s redirect URL and redirect prefix fields for all projects or enforce stricter input validation on these fields to block control characters.
  • Consider removing the project member’s ability to create or modify load balancers until a patch is applied to reduce the attack surface.

Generated by OpenCVE AI on September 21, 2026 at 21:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4893-1 octavia security update
Ubuntu USN Ubuntu USN USN-8814-1 Octavia vulnerabilities
History
Type Values Removed Values Added
Title openstack-octavia: octavia: HAProxy configuration injection via L7 policy redirect_url and redirect_prefix
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L'}

threat_severity

Important

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description In OpenStack Octavia before 18.0.1, the Amphora provider driver did not reject control characters in the L7 policy redirect_url and redirect_prefix fields. The RFC 3986 URL validator percent-encodes control characters before validating, and thus newlines passed structural checks, but Octavia stored and wrote the raw unencoded value directly into the HAProxy configuration generated on the amphora. An authenticated project member who owns a load balancer can therefore inject arbitrary HAProxy directives through a REDIRECT_TO_URL L7 policy. Only deployments using the Amphora provider are affected.
First Time appeared Openstack
Openstack octavia
Weaknesses CWE-94
CPEs cpe:2.3:a:openstack:octavia:*:*:*:*:*:*:*:*
Vendors & Products Openstack
Openstack octavia
References
Metrics cvssV4_0

{'score': 9.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 22, 2026, 1:36 PM
Reserved
Sep 21, 2026, 8:09 PM
Status
Awaiting Analysis
Published
Sep 21, 2026, 9:17 PM
Modified
Sep 22, 2026, 7:56 PM
Severity
Important
Public date
Sep 21, 2026, 8:09 PM