OSSA-2026-039: HAProxy configuration injection leading to remote code execution in Octavia

Date:

September 21, 2026

CVE:

CVE-2026-94572, CVE-2026-94571

Affects

  • Octavia: >=0.8.0 <16.1.0, ==17.0.0, ==18.0.0

Description

Chen YuXiang from the Institute of Computing Technology, Chinese Academy of Sciences reported input validation flaws in the Octavia load balancer API. The listener and pool tls_ciphers fields and the L7 policy redirect_url and redirect_prefix fields were written into the HAProxy configuration generated on the amphora without rejecting control characters, allowing an authenticated user who owns a load balancer managed by OpenStack Octavia’s Amphora provider to inject arbitrary HAProxy configuration directives.

Subsequently, an independent reporter, “Rolix”, demonstrated that these flaws can be exploited to execute arbitrary commands as root on the provider-managed amphora, to disclose other tenants’ TLS private keys and certificates and the deployment heartbeat key stored on the amphora, and to reach the control-plane network to which the amphora is attached.

Only the Amphora provider driver is affected. Deployments that use a different provider driver do not render tenant input into an HAProxy configuration and are not affected.

Errata

CVE-2026-94571 and CVE-2026-94572 have been assigned for these vulnerabilities.

Patches

Credits

  • Chen YuXiang from Institute of Computing Technology, Chinese Academy of Sciences (CVE-2026-94572, CVE-2026-94571)

  • “Rolix” from Independent (CVE-2026-94572)

References

Notes

  • Two changes are required on each branch: one fixes the tls_ciphers fields and one fixes the L7 policy redirect fields.

  • The listener and pool tls_ciphers fields were introduced in Octavia 6.0.0. Releases within the affected range that predate 6.0.0 are vulnerable only through the L7 policy redirect_url and redirect_prefix fields.

  • These issues were originally triaged as a low-severity hardening opportunity and the fixes were developed and merged in public. They were reclassified after a proof of concept demonstrated remote code execution as root on the amphora and reachability of the control-plane network.

  • The remote code execution issue was reported to the OpenStack VMT by Thomas Goirand (zigo) of Infomaniak, on behalf of the reporter, “Rolix”.

OSSA History

  • 2026-09-21 - Errata 1

  • 2026-09-21 - Original Version