#1153094 aodh: authorization bypass in alarm listing API allows

Package:
src:aodh
Source:
src:aodh
Submitter:
Thomas Goirand
Date:
2026-11-13 21:35:03 UTC
Severity:
normal
Tags:
#1153094#5
Date:
2026-11-05 10:05:47 UTC
From:
To:
A flaw in AODH's alarm listing API allows an authenticated non-admin
user to list the alarm definitions of another project, including their
action URLs, which may contain secret-bearing credentials (for
example trust+http:// URLs embedding a keystone trust token).

In aodh/api/controllers/v2/alarms.py, the request authorization checked
the first occurrence of a project_id query filter, while the storage
filter dict built afterwards kept the last one. By passing two
project_id filters (their own project first, a foreign project second),
a non-admin caller passed the authorization check while the storage
lookup ran against the foreign project.

Upstream bug:
https://bugs.launchpad.net/aodh/+bug/2167496

Fixed upstream on master by rejecting duplicated query fields with an
HTTP 400 response, so that the authorization check and the storage
filter always operate on the same value. Upstream patches:
https://opendev.org/openstack/aodh/commit/7381d2cd6ef922fb6aed912e7366268176d42b06 (master)
https://review.opendev.org/c/openstack/aodh/+/1014283 (stable/2026.2)
https://review.opendev.org/c/openstack/aodh/+/1014284 (stable/2026.1)
https://review.opendev.org/c/openstack/aodh/+/1014285 (stable/2025.2)

The defect affects every version of the aodh source package currently
in Debian (23.0.0-2 in testing/unstable, 20.0.0-2 in trixie,
15.0.0-3 in bookworm, 11.0.0-2 in bullseye).

The fix is ready in the packaging Git; aodh 23.0.0-3 will be uploaded
to unstable shortly, and updates for the stable releases will follow
through the usual security process:
https://salsa.debian.org/openstack-team/services/aodh

I am not aware of a CVE assignment for this issue yet.

#1153094#8
Date:
2026-11-05 10:17:33 UTC
From:
To:
Hello,

Bug #1153094 in aodh 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/aodh/-/commit/8b01b2f9fe62f2569c3eec92049938a146856b1c
------------------------------------------------------------------------
lp-2167496: Fix an authorization bypass in the alarm listing API where
duplicated project_id query filters could bypass project scope:
authorization validated the first filter value while the storage query
kept the last one, letting a non-admin user list another project's
alarms, including action URLs. Applied upstream patch: "Duplicated
query fields are now rejected with a 400 response" (Closes: #1153094):
- lp-2167496_Fix_duplicate_project_id_query_filter_bypass_project....patch
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1153094

#1153094#15
Date:
2026-11-05 10:35:10 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
aodh, 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 1153094@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 aodh 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: Wed, 28 Oct 2026 10:25:53 +0100
Source: aodh
Architecture: source
Version: 23.0.0-3
Distribution: unstable
Urgency: high
Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Closes: 1153094
Changes:
 aodh (23.0.0-3) unstable; urgency=high
 .
   * lp-2167496: Fix an authorization bypass in the alarm listing API where
     duplicated project_id query filters could bypass project scope:
     authorization validated the first filter value while the storage query
     kept the last one, letting a non-admin user list another project's
     alarms, including action URLs. Applied upstream patch: "Duplicated
     query fields are now rejected with a 400 response" (Closes: #1153094):
     - lp-2167496_Fix_duplicate_project_id_query_filter_bypass_project....patch
Checksums-Sha1:
 43683f71212773919ba3fc5f483c279e3f41b2fd 3543 aodh_23.0.0-3.dsc
 521a4ff79ff140ce182163fc8ecf9422fb314029 13804 aodh_23.0.0-3.debian.tar.xz
 3b3de851d8624317d8335cbe258846f138f4bffc 17224 aodh_23.0.0-3_amd64.buildinfo
Checksums-Sha256:
 80a96f5a00003a0f627169ca665dcfd9471b35c9caa9ec3971fee5e6405b4268 3543 aodh_23.0.0-3.dsc
 054d56be71e52c6b5a95dc4ccfdedd801e161d9ebd2d9640a829482613461b58 13804 aodh_23.0.0-3.debian.tar.xz
 7c7c32696380f1c9d5fae9e3dab9af388d2e49d26517aea37c953743505e716d 17224 aodh_23.0.0-3_amd64.buildinfo
Files:
 88c68c291e724d558b2bb176f89b6fea 3543 web optional aodh_23.0.0-3.dsc
 a6891af3814a1521315f21e7e9aa511b 13804 web optional aodh_23.0.0-3.debian.tar.xz
 01a91403c3a543aff02980268ce01d77 17224 web optional aodh_23.0.0-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIyBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmrsV7EACgkQ1BatFaxr
Q/6gkQ/3dYBgDlsKcEwhQSjXjgD0TwLvsGsoOGI1cFa5HLjNZ+LxcOdTs7a3LNWt
a51AqwX/QozBRWo37piiddNLxUuk8tCXUiZa6KD5XqAXsa6SzUD1OpYkuWTr8duZ
xYJ7PpSIhYMI1rDfwNQynret8FnYpLF9MdBdBkTEmheWUGR0otZliUC9lRpsIOqo
J9uOMyF5y84yefzF/aueqzmyHOdrd0akSu5uQ6jEGuESIrvNNgzkHnMGnCmNO774
BBjMtvBFTav5Kt5BW74Tqjdm0lAJFS+4NkXqUL9iB9oT/brhRvywTMuDXNbnR5un
MB1s/jKLWvyzTPOZeOEHhCEFGxbcpHRCu8RfqJERWR5PqAssTTuI1FDLa97FPMke
a5LW0wue3AOnRjmKiOOlr2R9rMKeg31p8KTpxyxayiyB0O0sUqzmWyMZwzNXpHvR
2mLHYXgb8QKABwaDpTQ6djv9iSVuDvqK8pSCT8OFgzP3NlSqYtl8tarHtlv8wcGc
+G7jsr0VXAoSHhTtWtIVmeux1F/j7uPdeaePAeTK/AmOO2qQ0LfR0h1O/zFB6LXC
JvNN4zPpT4mhccphgOthi0pS4ufYycMW8K4f5FlqF9C9YyFPxn2iglXgZr5RIBrp
C51WehOGkl/1CUkDpNwEYHoubAMtUT6tt9czKVVpbivwz7051w==
=xFz6
-----END PGP SIGNATURE-----

#1153094#18
Date:
2026-11-05 10:36:59 UTC
From:
To:
Hello,

Bug #1153094 in aodh 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/aodh/-/commit/27a0e0d08602399dbea25ae68cedd71f206b67a2
------------------------------------------------------------------------
lp-2167496: Fix an authorization bypass in the alarm listing API where
duplicated project_id query filters could bypass project scope:
authorization validated the first filter value while the storage query
kept the last one, letting a non-admin user list another project's
alarms, including action URLs. Applied upstream patch: "Duplicated
query fields are now rejected with a 400 response" (Closes: #1153094):
- lp-2167496_Fix_duplicate_project_id_query_filter_bypass_project....patch
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1153094

#1153094#27
Date:
2026-11-13 21:32:05 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
aodh, 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 1153094@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 aodh 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, 05 Nov 2026 12:40:16 +0100
Source: aodh
Architecture: source
Version: 20.0.0-2+deb13u2
Distribution: trixie
Urgency: high
Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Closes: 1153094
Changes:
 aodh (20.0.0-2+deb13u2) trixie; urgency=high
 .
   * lp-2167496: Fix an authorization bypass in the alarm listing API where
     duplicated project_id query filters could bypass project scope:
     authorization validated the first filter value while the storage query
     kept the last one, letting a non-admin user list another project's
     alarms, including action URLs. Applied upstream patch: "Duplicated
     query fields are now rejected with a 400 response" (Closes: #1153094):
     - lp-2167496_Fix_duplicate_project_id_query_filter_bypass_project....patch
Checksums-Sha1:
 947ad62e889b2edc6218ba6acb0a7b43697c4633 3649 aodh_20.0.0-2+deb13u2.dsc
 8815f6614b78514da388fc46e399f7d57bab7ee2 14288 aodh_20.0.0-2+deb13u2.debian.tar.xz
 91f52e1e2472c489544242539b1f7bd2763c1248 18639 aodh_20.0.0-2+deb13u2_amd64.buildinfo
Checksums-Sha256:
 ce902448079f979cb0e20b52b6e220073a309bd380b45398cbe90726604dd633 3649 aodh_20.0.0-2+deb13u2.dsc
 88c0c67f8313e8eca97a96a2dd2d8f80fe6c7ac2472729d5e7dc96561da62154 14288 aodh_20.0.0-2+deb13u2.debian.tar.xz
 8e3aa2d3c8f6f1672fd56cc45b30d34ba618aa0db0fe0afdda850e1e0d92343d 18639 aodh_20.0.0-2+deb13u2_amd64.buildinfo
Files:
 b894d08a6587d8ca923b0cdd8f60ca74 3649 web optional aodh_20.0.0-2+deb13u2.dsc
 28c89609bfbccda3d5e3ab96ebe6167c 14288 web optional aodh_20.0.0-2+deb13u2.debian.tar.xz
 755e88a13232613f614870bdf86db275 18639 web optional aodh_20.0.0-2+deb13u2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmr0UZEACgkQ1BatFaxr
Q/6Tgw/8Dx3AgmMQgyWttDvjlpCsasIzgcp1L2Q68noD3DhZmgepRhubgRt/Facq
gPkchJrGRcAfNpzlFe8ACs4bpx2vNDZaqtAziiWoOsF8FhgV9P9N0BM6Hd85nue0
q5+7WnVSlSDDp20pGawiyl82Br/Wzw4n6a+xeiJZr/cUJ/uoFN8/blB9VYGoZzF8
xpDivdarQKPwAVD8V0lqvlUh5z7I6HpFIH0oXjIpjaLaajqM0uRJqa0Row6nVpir
ZIR6G0SRCHMA8CvdBfLw2wZ+DSr5BzKcJJEKHmfxsUImwIJ6rq0DEnO2C7c8Ii6T
0+exTRm7N1VCZ4M4Or+/123trxzQSYZ1ishVnM58hG+F6prkNRE4RxIUCUeHildd
HKQ1iHcrshym2UGqrkT5FtEI5BYLQmKY5NGZ7RzK6aC870ChJVg4nSXzTmJBZ3yv
Anp+jYVeqvS2/aqfwetGYGFO3dxwJ+upzqZ9szuPfUwPvxOmlw2+RlEXEgKonwiu
8nPj2AWXndhciio+4HGDEPgQ4HGSFVQnHisQy7TZjrWkop/7Ckt/mEGsl9AvijtI
+yuN4tgTOxQvG0v2FO05tXG+62tw67ReCd2sNj80K/BlRCd1MW7td9tYsDEWVuVP
JDPRjEPAZsjylD9tRX0hmHPUJAh6qj06kuferqKL4y6X3MTc870=
=S0L9
-----END PGP SIGNATURE-----