CVE-2026-94571 Code injection in Octavia
Authenticated users can inject HAProxy directives via L7 policies in OpenStack Octavia Amphora deployments, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-94571?
CVE-2026-94571 is a critical code injection vulnerability in OpenStack Octavia, published on 21 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2026-94571?
How do I fix CVE-2026-94571?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-94571 being exploited?
There is no known exploitation of CVE-2026-94571 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-94571, GHSA-33h9-ppgm-5785, UBUNTU-CVE-2026-94571.