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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenStack | Octavia | 0.8.0 – < 16.1.0, 17.0.0 – < 17.0.1, 18.0.0 – < 18.0.1 | 16.1.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | octavia | 18.0.0-4 | — |
| Debian 13 | octavia | No fix yet | — |
| Debian 12 | octavia | 11.0.0-2+deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | octavia | 1:18.0.0-0ubuntu2.1 | USN-8814-1 |
| Ubuntu 24.04 LTS | octavia | 1:14.0.0-0ubuntu1.6 | USN-8814-1 |
| Ubuntu 22.04 LTS | octavia | 1:10.1.1-0ubuntu1.5 | USN-8814-1 |
| Ubuntu 20.04 LTS | octavia | No fix yet | — |
Advisories 1
- USN-8814-1 octavia vulnerabilities Ubuntu Security Notices (USN) · Sep 25, 2026
References
- https://bugs.launchpad.net/octavia/+bug/2162103 issue-tracking
- https://bugs.launchpad.net/octavia/+bug/2167565 issue-tracking
- https://bugs.debian.org/1148175 issue-tracking
- https://opendev.org/openstack/octavia/commit/bad7074621562d90a38be4639c1ab3e245f5bf39 patch
- https://security.openstack.org/ossa/OSSA-2026-039.html vendor-advisory
- https://openwall.com/lists/oss-security/2026/09/21/6 mailing-list