#1148175 Command Injection (RCE) on Octavia amphora via API

Package:
src:octavia
Source:
src:octavia
Submitter:
Thomas Goirand
Date:
2026-11-07 17:05:02 UTC
Severity:
normal
Tags:
#1148175#5
Date:
2026-09-17 20:18:26 UTC
From:
To:
This has been reported on Launchpad here:

https://bugs.launchpad.net/octavia/+bug/2162101

and here:
https://bugs.launchpad.net/octavia/+bug/2162103

though the author probably haven't realized how grave the bug was.
In fact, we're talking about an RCE, since it's possible inject any type
of command into Haproxy.

The fixes are here:
https://review.opendev.org/q/Ia6affaafcaa8b22ec2e0c94b3c4007cccaae41ba
and here:
https://review.opendev.org/q/I23c3ca392233c7e8223a9a00b9ee07c6f4b63615

I'll backport these patches to all the versions of OpenStack I still support,
meaning from Bookworm (zed) to Unstable (Gazpacho).

Cheers,

Thomas Goirand (zigo)

#1148175#10
Date:
2026-09-17 20:34:02 UTC
From:
To:
Hello,

Bug #1148175 in octavia reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/openstack-team/services/octavia/-/commit/1377e79fc5cafdb03bebc5afe4c691a69d0e5d68
------------------------------------------------------------------------
* Octavia is vulnerable to an RCE in its amphora via the Octavia API.
    Added upstream patches (Closes: #1148175):
    - Fix_HAProxy_config_injection_via_tls_ciphers_field.patch
    - Fix_HAProxy_config_injection_via_L7_policy_redirect_URLs.patch
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1148175

#1148175#15
Date:
2026-09-17 20:34:14 UTC
From:
To:
Hello,

Bug #1148175 in octavia reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/openstack-team/services/octavia/-/commit/7b58fc5e90a3dcc8703b16c436d4312851b6afc8
------------------------------------------------------------------------
* Octavia is vulnerable to an RCE in its amphora via the Octavia API.
    Added upstream patches (Closes: #1148175):
    - Fix_HAProxy_config_injection_via_tls_ciphers_field.patch
    - Fix_HAProxy_config_injection_via_L7_policy_redirect_URLs.patch
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1148175

#1148175#20
Date:
2026-09-17 21:06:54 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
octavia, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1148175@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <zigo@debian.org> (supplier of updated octavia package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 17 Sep 2026 22:04:33 +0200
Source: octavia
Architecture: source
Version: 18.0.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Closes: 1148175
Changes:
 octavia (18.0.0-4) unstable; urgency=medium
 .
   * Update debian/salsa-ci.yml.
   * Octavia is vulnerable to an RCE in its amphora via the Octavia API.
     Added upstream patches (Closes: #1148175):
     - Fix_HAProxy_config_injection_via_tls_ciphers_field.patch
     - Fix_HAProxy_config_injection_via_L7_policy_redirect_URLs.patch
   * Cleans better.
Checksums-Sha1:
 c8c75037c3aed54c8ad8ae58a27fa60480331698 4216 octavia_18.0.0-4.dsc
 1b428575830035688a16261b87ce642bb6c9dd1a 25212 octavia_18.0.0-4.debian.tar.xz
 b5c3a534681357ff413f36ebb80e38cca9f0c3a4 19860 octavia_18.0.0-4_amd64.buildinfo
Checksums-Sha256:
 6d5d3d9a5760c209427e60ec82ace9c9894dc161cd7d0f353de7f04886244023 4216 octavia_18.0.0-4.dsc
 35ee86c6c9f4d3bc145bd29b03cd9ecb3393396fd238c396bf00f2893bc7cff9 25212 octavia_18.0.0-4.debian.tar.xz
 7ab8d49720540a94b27d618c2a620c5f18197b41fedcf9028778ee9dc285ccd9 19860 octavia_18.0.0-4_amd64.buildinfo
Files:
 0c0736c03754a27311e6359f11b6a681 4216 net optional octavia_18.0.0-4.dsc
 9669501a86fddf407a3cf4b2d7d45568 25212 net optional octavia_18.0.0-4.debian.tar.xz
 b256a62aadabbd2e003cc52c7355a43a 19860 net optional octavia_18.0.0-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmqsUXIACgkQ1BatFaxr
Q/4rmA/8CJ3Aoj7ByOyBG/tJShkPPVkjl5G+hSnFOHCjtohPK/AtXoH388px3QAM
1VuhxXQpXrFxpIYoz3S9R8QZ2BsCzAAY8L5ybj3F7XKBvEAOZdYA5ZPWGpgDMyHM
E4ji7IDZ/UUG8KpjV6oaNPqD0bZZna4hMzI3By0lHqrDFP1WG+y8ltxX41ooenhy
RZaiXVnZ2T3e/fexTCSbTNe+8ERwuWEe70Ze2zGnvcz8qzL6pwuk9hoXWGMLdCio
nFOCjpmL5dBOMkgd3kDFEm5mgdl3MJP1AMmoOcoE0iVuKg6LFNF+FAnUw5rWy+LM
9BtJyXc1CSyy8TrrUqQP565HmC87hn+YBGvIWrI4QFcIYdXXhR3+u2ajLfinWlIH
iIsZ1yqgo3b0np2nE8cwnitX44h+uU/r12MphmO4XwHnHWDiXCk17hGspTcr/Eta
wFgeooHS7kH7ohCjaLWrzwHraTYxDIpePe61ukyMDO05vzyn/ehhNBotrLl9C/lU
u+6x2vRvp5Q43pXDSJ89n84BlneUm3uoBw9wTBYWqpBbf6jkjRPB/sFodYsXgHTL
OZiCwS04tOyMP3ienAUQk4bzOfoj3B04/YGNHUcI7J2PstyerOr+L/3cGvynSNva
ja5g8zH8lRdcPrtDb2qcsKqi2ipwy8+WRy7HqIDQKu5FuEGa66Q=
=FkLh
-----END PGP SIGNATURE-----

#1148175#31
Date:
2026-11-07 17:02:52 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
octavia, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1148175@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <zigo@debian.org> (supplier of updated octavia package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 13 Oct 2026 12:06:42 +0200
Source: octavia
Architecture: source
Version: 16.0.0-2+deb13u1
Distribution: trixie
Urgency: medium
Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Closes: 1144814 1148175
Changes:
 octavia (16.0.0-2+deb13u1) trixie; urgency=medium
 .
   * CVE-2026-74248 / OSSA-2026-035: Unauthorized QoS policy deletion lock.
     Applied upstream patch: "Fix QoS policy validation to use request context".
     (Closes: #1144814).
   * CVE-2026-94572, CVE-2026-94571:
     Octavia is vulnerable to an RCE in its amphora via the Octavia API.
     Added upstream patches (Closes: #1148175):
     - Fix_HAProxy_config_injection_via_tls_ciphers_field.patch
     - Fix_HAProxy_config_injection_via_L7_policy_redirect_URLs.patch
Checksums-Sha1:
 420fe214d9fbe39cf2258adbb39d70d0f851b702 4273 octavia_16.0.0-2+deb13u1.dsc
 189f65b81567e2034400a4cc5d788384c991eed1 25356 octavia_16.0.0-2+deb13u1.debian.tar.xz
 e4e2af7134776f258447b04ecfb7e1afbf0d4853 22395 octavia_16.0.0-2+deb13u1_amd64.buildinfo
Checksums-Sha256:
 040b79c7581b1a4a4cac28693606d84b6bf70654241f9a6b1d5009861fd6f373 4273 octavia_16.0.0-2+deb13u1.dsc
 009917657737450091d5c59d8d91fe26489a16db0d827a64c6c7517eee0a96d0 25356 octavia_16.0.0-2+deb13u1.debian.tar.xz
 d71a58a7d31caf6d1edcb4885bac0391e76e511dbd72e1c504cce6600a7577c2 22395 octavia_16.0.0-2+deb13u1_amd64.buildinfo
Files:
 e197504cad145a587dc559715c4756af 4273 net optional octavia_16.0.0-2+deb13u1.dsc
 84b94dc0ef66dd462e1c62fc0868bf77 25356 net optional octavia_16.0.0-2+deb13u1.debian.tar.xz
 7b5c3e4d9f91cba0557446958c8db386 22395 net optional octavia_16.0.0-2+deb13u1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmrOBlsACgkQ1BatFaxr
Q/7muxAAgwFF3CPlXGPJENGH7ttsCA34b74UQHEGxJjDEXwC/Ar4ZZqVaedOT02R
oCEje+8F6nSz2ndX/lP5duQ/T0cw0kH5wQS7GR0BiHxdfOpS9IEN3Klsy4QBPJc/
qfgGIBk6JEF+N3adENnthwR9nBiRB/IYxyJ4Gbh5mp9So5qaKPYwVZuLgCYCnLAk
sV1lNG1kqyOmpVdLqCwFvjnPuZPMV/j4mto5AzPq1dTWsGHakO2LO1dlg8q52B/w
jS/Hg7nYBbrKZI5oePMKknbsqWZTyo8XI7SH6hSyrYwK2dgYdtDtvmr8WGGQ2VTt
6CXk0aXj30z3KOeE+j6bDiDJVn+JnOxN8TB8PJ4PLaCAkOwqdkBMRcUMQ9Hz9bgD
mY7typhQoNU8Mf20hrjRMRGsNAh/HW0QllyobUgbqsClolBdgmqLoixt81dO0W+4
CbNY9/LnKCDZa7LsuobURjCUFAia0z8lD1FxDLzHHnHxjq5FWIx/zvWMTJOznY/o
3V6tG9emtaZi1f7eQl+uuuMzRUgUacCgHRC9KmkUR0iw+UxyvqeTZ7Vz5EMF7/Tk
MDIWOOWoaS93EAaGksG2bjOKwZM8dmd5FBds+JYgZrWQL/MLQG50lSd73EIfTm2R
YqNBYU0NtdRzxsZRkhZY0PmponHF0CICpqhdIUhDBW6rPrspRLU=
=E4sz
-----END PGP SIGNATURE-----