CVE-2026-94571
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| OpenStack | Octavia | 0.8.0 < 16.1.0 | affected |
| OpenStack | Octavia | 17.0.0 < 17.0.1 | affected |
| OpenStack | Octavia | 18.0.0 < 18.0.1 | affected |
Weaknesses
- CWE-94: CWE-94 Improper Control of Generation of Code ('Code Injection')
References
- https://bugs.launchpad.net/octavia/+bug/2162103
- https://bugs.launchpad.net/octavia/+bug/2167565
- https://bugs.debian.org/1148175
- https://opendev.org/openstack/octavia/commit/bad7074621562d90a38be4639c1ab3e245f5bf39
- https://security.openstack.org/ossa/OSSA-2026-039.html
- https://openwall.com/lists/oss-security/2026/09/21/6
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.