)]}'
{"id":"openstack%2Fkeystone~986389","triplet_id":"openstack%2Fkeystone~stable%2F2026.1~I7c10c8a52e57e63cb9c66d03d69540abefe5425c","project":"openstack/keystone","branch":"stable/2026.1","topic":"clean-stack-stable/2026.1","attention_set":{},"removed_from_attention_set":{"14250":{"account":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"last_update":"2026-05-06 12:38:45.000000000","reason":"Change was submitted"},"37598":{"account":{"_account_id":37598,"name":"Ivan Anfimov","display_name":"Ivan Anfimov","email":"lazekteam@gmail.com","username":"anfimovir"},"last_update":"2026-05-06 12:38:45.000000000","reason":"Change was submitted"}},"hashtags":[],"change_id":"I7c10c8a52e57e63cb9c66d03d69540abefe5425c","subject":"Enforce app cred project boundary on EC2 credential paths","status":"MERGED","created":"2026-04-27 15:15:01.000000000","updated":"2026-05-06 12:41:12.000000000","submitted":"2026-05-06 12:38:45.000000000","submitter":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"986389-clean-stack-stable/2026.1","cherry_pick_of_change":985804,"cherry_pick_of_patch_set":4,"meta_rev_id":"793ee0e6200c3df715bfe5a1aea11e59ae06a35e","_number":986389,"virtual_id_number":986389,"owner":{"_account_id":37598,"name":"Ivan Anfimov","display_name":"Ivan Anfimov","email":"lazekteam@gmail.com","username":"anfimovir"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},{"tag":"autogenerated:zuul:gate","value":2,"date":"2026-05-06 12:38:45.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"all":[{"value":2,"date":"2026-05-06 08:49:14.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"all":[{"value":1,"date":"2026-05-06 08:49:14.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"}],"reviewers":{"REVIEWER":[{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-04-27 15:15:01.000000000","updated_by":{"_account_id":37598,"name":"Ivan Anfimov","display_name":"Ivan Anfimov","email":"lazekteam@gmail.com","username":"anfimovir"},"reviewer":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"state":"CC"},{"updated":"2026-04-28 08:47:18.000000000","updated_by":{"_account_id":37598,"name":"Ivan Anfimov","display_name":"Ivan Anfimov","email":"lazekteam@gmail.com","username":"anfimovir"},"reviewer":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"state":"REVIEWER"},{"updated":"2026-04-28 10:46:57.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2026-05-06 08:49:14.000000000","updated_by":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"reviewer":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"state":"REVIEWER"}],"messages":[{"id":"5a76eab401985fbdbb14b086e542825451da090f","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":37598,"name":"Ivan Anfimov","display_name":"Ivan Anfimov","email":"lazekteam@gmail.com","username":"anfimovir"},"date":"2026-04-27 15:15:01.000000000","message":"Patch Set 1: Cherry Picked from branch master.","accounts_in_message":[],"_revision_number":1},{"id":"2e4762054f9edda65e076b59be3c4b28c3d2ae1c","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":37598,"name":"Ivan Anfimov","display_name":"Ivan Anfimov","email":"lazekteam@gmail.com","username":"anfimovir"},"date":"2026-04-27 15:15:40.000000000","message":"Patch Set 2: Patch Set 1 was rebased","accounts_in_message":[],"_revision_number":2},{"id":"9929c782cf9a900679f8a6380883365dd7b79d4b","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":37598,"name":"Ivan Anfimov","display_name":"Ivan Anfimov","email":"lazekteam@gmail.com","username":"anfimovir"},"date":"2026-04-28 08:47:12.000000000","message":"Patch Set 3: Patch Set 2 was rebased","accounts_in_message":[],"_revision_number":3},{"id":"71a83014a0bf181dc3d323a6d385fd23eec1195f","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-04-28 10:46:57.000000000","message":"Patch Set 3: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/cc1a9ad9343f4ca5b929844d2d23f7e4\n\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/ac96311e7ecb45da90c37441009716b2 : SUCCESS in 13m 50s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/ccea0ec002464df89fac3e32cf91be46 : SUCCESS in 5m 32s\n- openstack-tox-py310 https://zuul.opendev.org/t/openstack/build/040ada4946c647f1b11a019b6433183a : SUCCESS in 11m 21s\n- openstack-tox-py313 https://zuul.opendev.org/t/openstack/build/b86bdfc0682c440885f91598c9ed7521 : SUCCESS in 10m 48s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/cf3e9884e0cf445b86d702a8484ce1c9 : SUCCESS in 13m 59s\n- grenade https://zuul.opendev.org/t/openstack/build/80031805bc194dc7895d9af279d88dae : SUCCESS in 1h 04m 20s\n- tempest-full-py3 https://zuul.opendev.org/t/openstack/build/7ef3eba4abe24cd6a2a5727a6880ed82 : SUCCESS in 1h 54m 20s\n- keystoneclient-devstack-functional https://zuul.opendev.org/t/openstack/build/0b1444e47479428cbd38ed52391146c7 : SUCCESS in 16m 47s (non-voting)\n- keystone-tempest https://zuul.opendev.org/t/openstack/build/f26549ae77644b88a3f8913d75d2effc : SUCCESS in 21m 32s\n- keystone-tempest-fips https://zuul.opendev.org/t/openstack/build/bb3a2864518b470cab1a0baf66e5e00e : FAILURE in 17m 29s (non-voting)\n- keystone-tempest-federation https://zuul.opendev.org/t/openstack/build/6402513bbfbd44baa7337648a6b56a9f : FAILURE in 23m 51s (non-voting)\n- keystone-tempest-federation-k2k https://zuul.opendev.org/t/openstack/build/012e88c845b54ff3bcec3095fe1b3c20 : SUCCESS in 30m 26s\n- keystone-tempest-oidc-federation https://zuul.opendev.org/t/openstack/build/e54fbe09b337499f91281887e55e7d3d : SUCCESS in 29m 59s\n- keystone-tempest-ldap-domain-specific-driver https://zuul.opendev.org/t/openstack/build/e67ec2acced049fd92f41d179ebc7ec4 : SUCCESS in 38m 14s (non-voting)\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/3a5298e6c07f4305bee87bf862eb5e8b : SUCCESS in 58m 32s\n- keystone-protection-functional https://zuul.opendev.org/t/openstack/build/ce41a1f67bc0471788865fbd2caa3f78 : FAILURE in 34m 38s (non-voting)\n- codegenerator-openapi-identity-tips-with-api-ref https://zuul.opendev.org/t/openstack/build/e4f1ba47f75d469ca166b247250fea7b : SUCCESS in 6m 24s (non-voting)","accounts_in_message":[],"_revision_number":3},{"id":"ae8c4fd0b04bf8f0aec0afe3fb25564aa127681e","author":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"date":"2026-05-06 08:49:14.000000000","message":"Patch Set 3: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":3},{"id":"19f80eeef8c2c27b3c07ca5b0e9c5ade339e4689","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-05-06 08:49:54.000000000","message":"Patch Set 3: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":3},{"id":"8a9fc7aa9f2189e14c16b3e3656c488294b7b830","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-05-06 12:38:45.000000000","message":"Patch Set 3: Verified+2\n\nBuild succeeded (gate pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/65de1c461d764066be1066dfe76deb22\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/81cfdc144daf4a7eb6dbbd44442ecf40 : SUCCESS in 5m 21s\n- openstack-tox-py310 https://zuul.opendev.org/t/openstack/build/916588f16c29436097b1be0ffb92127f : SUCCESS in 8m 30s\n- openstack-tox-py313 https://zuul.opendev.org/t/openstack/build/5191b0d8456548188795ec6b3ebd9056 : SUCCESS in 11m 40s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/9bfd59e171de4b52b12c1085f4511012 : SUCCESS in 14m 26s\n- grenade https://zuul.opendev.org/t/openstack/build/b22831e32b464bf8a0428abb1d659f21 : SUCCESS in 31m 59s\n- tempest-full-py3 https://zuul.opendev.org/t/openstack/build/a081cdb945f54e29bb68450d4e92664d : SUCCESS in 1h 26m 34s\n- keystone-tempest https://zuul.opendev.org/t/openstack/build/16b45066cd6d413c914d40e1d55f16bb : SUCCESS in 31m 11s\n- keystone-tempest-federation-k2k https://zuul.opendev.org/t/openstack/build/604b0ed614994afcac85ff68dc32ae03 : SUCCESS in 18m 55s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/7db7348b8d914288a6d149ddc39dbaa5 : SUCCESS in 53m 20s\n- keystone-protection-functional https://zuul.opendev.org/t/openstack/build/b2dcb227fab245d8ae6fd60056c5b97f : FAILURE in 40m 46s (non-voting)","accounts_in_message":[],"_revision_number":3},{"id":"79a622ca3b337a31665d5d25c519b1f48955f840","tag":"autogenerated:gerrit:merged","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-05-06 12:38:45.000000000","message":"Change has been successfully merged","accounts_in_message":[],"_revision_number":3},{"id":"793ee0e6200c3df715bfe5a1aea11e59ae06a35e","tag":"autogenerated:zuul:promote","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-05-06 12:41:12.000000000","message":"Patch Set 3:\n\nBuild succeeded (promote pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/eaf3da351b8b43afaaef15098b45465e\n\n- promote-openstack-tox-docs https://zuul.opendev.org/t/openstack/build/a2c6d9107f6e4dffbc9411718ea7d0b3 : SUCCESS in 52s","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"60770681b4e4e0b23e048285ec1e82523dc241da","revisions":{"91e0eb577f4d5ea9e5678d6de9831dda55f182e8":{"kind":"REWORK","_number":1,"created":"2026-04-27 15:15:01.000000000","uploader":{"_account_id":37598,"name":"Ivan Anfimov","display_name":"Ivan Anfimov","email":"lazekteam@gmail.com","username":"anfimovir"},"ref":"refs/changes/89/986389/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/keystone","ref":"refs/changes/89/986389/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/keystone refs/changes/89/986389/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/keystone refs/changes/89/986389/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/keystone refs/changes/89/986389/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/keystone refs/changes/89/986389/1"}}},"commit":{"parents":[{"commit":"4ec1f8a0120548da213d45e6f98712c6eb52ac0d","subject":"Block restricted app creds from creating EC2 credentials via /credentials","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/keystone/commit/4ec1f8a0120548da213d45e6f98712c6eb52ac0d"}]}],"author":{"name":"Grzegorz Grasza","email":"xek@redhat.com","date":"2026-04-22 11:23:44.000000000","tz":120},"committer":{"name":"Ivan Anfimov","email":"lazekteam@gmail.com","date":"2026-04-27 15:15:01.000000000","tz":0},"subject":"Enforce app cred project boundary on EC2 credential paths","message":"Enforce app cred project boundary on EC2 credential paths\n\nPOST /v3/credentials did not validate that the caller-supplied\nproject_id for an EC2-type credential matched the project of the\nauthenticating application credential. This allowed an attacker\nholding an unrestricted application credential for project A to\ncreate an EC2 credential targeting project B; a subsequent\n/v3/ec2tokens exchange would then issue a Keystone token scoped to\nproject B while still carrying the original app_cred_id, enabling\ncross-project lateral movement within the credential owner\u0027s role\nfootprint.\n\nTwo fixes:\n\n1. credentials.py: after extracting app_cred_id from the token,\n   check that credential[\u0027project_id\u0027] \u003d\u003d app_cred[\u0027project_id\u0027]\n   for EC2-type credentials and raise ForbiddenAction otherwise.\n\n2. EC2_S3_Resource.py: in handle_authenticate(), assert that the\n   stored EC2 credential project_id matches the application\n   credential\u0027s project before issuing the token.\n\nThis issue is orthogonal to CVE-2026-33551 (LP#2142138 / Gerrit\n983655), which blocks restricted application credentials from\ncreating EC2 credentials at all. The project-boundary check is\nabsent regardless of the restricted flag and requires separate\ntreatment.\n\nCloses-Bug: #2149775\nRelated-Bug: #OSPRH-29345\nAssisted-by: claude-sonnet-4-6 \u003cnoreply@anthropic.com\u003e\nChange-Id: I7c10c8a52e57e63cb9c66d03d69540abefe5425c\nSigned-off-by: Grzegorz Grasza \u003cxek@redhat.com\u003e\n(cherry picked from commit b6fd80996b882890a51f3e2aab41d952d7ff68ae)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/keystone/commit/91e0eb577f4d5ea9e5678d6de9831dda55f182e8"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/keystone/commit/91e0eb577f4d5ea9e5678d6de9831dda55f182e8"}]},"branch":"refs/heads/stable/2026.1","conflicts":{"ours":"4ec1f8a0120548da213d45e6f98712c6eb52ac0d","theirs":"b6fd80996b882890a51f3e2aab41d952d7ff68ae","contains_conflicts":false}},"7ff8b41d3ac2e3200510a1e62744d125e689809c":{"kind":"TRIVIAL_REBASE","_number":2,"created":"2026-04-27 15:15:40.000000000","uploader":{"_account_id":37598,"name":"Ivan Anfimov","display_name":"Ivan Anfimov","email":"lazekteam@gmail.com","username":"anfimovir"},"ref":"refs/changes/89/986389/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/keystone","ref":"refs/changes/89/986389/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/keystone refs/changes/89/986389/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/keystone refs/changes/89/986389/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/keystone refs/changes/89/986389/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/keystone refs/changes/89/986389/2"}}},"commit":{"parents":[{"commit":"cf4da08b977e2c857892a284f7a57bebcba076ad","subject":"Block app cred tokens from authorizing OAuth1 requests","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/keystone/commit/cf4da08b977e2c857892a284f7a57bebcba076ad"}]}],"author":{"name":"Grzegorz Grasza","email":"xek@redhat.com","date":"2026-04-22 11:23:44.000000000","tz":120},"committer":{"name":"Ivan Anfimov","email":"lazekteam@gmail.com","date":"2026-04-27 15:15:40.000000000","tz":0},"subject":"Enforce app cred project boundary on EC2 credential paths","message":"Enforce app cred project boundary on EC2 credential paths\n\nPOST /v3/credentials did not validate that the caller-supplied\nproject_id for an EC2-type credential matched the project of the\nauthenticating application credential. This allowed an attacker\nholding an unrestricted application credential for project A to\ncreate an EC2 credential targeting project B; a subsequent\n/v3/ec2tokens exchange would then issue a Keystone token scoped to\nproject B while still carrying the original app_cred_id, enabling\ncross-project lateral movement within the credential owner\u0027s role\nfootprint.\n\nTwo fixes:\n\n1. credentials.py: after extracting app_cred_id from the token,\n   check that credential[\u0027project_id\u0027] \u003d\u003d app_cred[\u0027project_id\u0027]\n   for EC2-type credentials and raise ForbiddenAction otherwise.\n\n2. EC2_S3_Resource.py: in handle_authenticate(), assert that the\n   stored EC2 credential project_id matches the application\n   credential\u0027s project before issuing the token.\n\nThis issue is orthogonal to CVE-2026-33551 (LP#2142138 / Gerrit\n983655), which blocks restricted application credentials from\ncreating EC2 credentials at all. The project-boundary check is\nabsent regardless of the restricted flag and requires separate\ntreatment.\n\nCloses-Bug: #2149775\nRelated-Bug: #OSPRH-29345\nAssisted-by: claude-sonnet-4-6 \u003cnoreply@anthropic.com\u003e\nChange-Id: I7c10c8a52e57e63cb9c66d03d69540abefe5425c\nSigned-off-by: Grzegorz Grasza \u003cxek@redhat.com\u003e\n(cherry picked from commit b6fd80996b882890a51f3e2aab41d952d7ff68ae)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/keystone/commit/7ff8b41d3ac2e3200510a1e62744d125e689809c"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/keystone/commit/7ff8b41d3ac2e3200510a1e62744d125e689809c"}]},"branch":"refs/heads/stable/2026.1","description":"Rebase","conflicts":{"ours":"91e0eb577f4d5ea9e5678d6de9831dda55f182e8","theirs":"cf4da08b977e2c857892a284f7a57bebcba076ad","contains_conflicts":false}},"60770681b4e4e0b23e048285ec1e82523dc241da":{"kind":"TRIVIAL_REBASE","_number":3,"created":"2026-04-28 08:47:12.000000000","uploader":{"_account_id":37598,"name":"Ivan Anfimov","display_name":"Ivan Anfimov","email":"lazekteam@gmail.com","username":"anfimovir"},"ref":"refs/changes/89/986389/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/keystone","ref":"refs/changes/89/986389/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/keystone refs/changes/89/986389/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/keystone refs/changes/89/986389/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/keystone refs/changes/89/986389/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/keystone refs/changes/89/986389/3"}}},"commit":{"parents":[{"commit":"4ec1f8a0120548da213d45e6f98712c6eb52ac0d","subject":"Block restricted app creds from creating EC2 credentials via /credentials","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/keystone/commit/4ec1f8a0120548da213d45e6f98712c6eb52ac0d"}]}],"author":{"name":"Grzegorz Grasza","email":"xek@redhat.com","date":"2026-04-22 11:23:44.000000000","tz":120},"committer":{"name":"Ivan Anfimov","email":"lazekteam@gmail.com","date":"2026-04-28 08:47:12.000000000","tz":0},"subject":"Enforce app cred project boundary on EC2 credential paths","message":"Enforce app cred project boundary on EC2 credential paths\n\nPOST /v3/credentials did not validate that the caller-supplied\nproject_id for an EC2-type credential matched the project of the\nauthenticating application credential. This allowed an attacker\nholding an unrestricted application credential for project A to\ncreate an EC2 credential targeting project B; a subsequent\n/v3/ec2tokens exchange would then issue a Keystone token scoped to\nproject B while still carrying the original app_cred_id, enabling\ncross-project lateral movement within the credential owner\u0027s role\nfootprint.\n\nTwo fixes:\n\n1. credentials.py: after extracting app_cred_id from the token,\n   check that credential[\u0027project_id\u0027] \u003d\u003d app_cred[\u0027project_id\u0027]\n   for EC2-type credentials and raise ForbiddenAction otherwise.\n\n2. EC2_S3_Resource.py: in handle_authenticate(), assert that the\n   stored EC2 credential project_id matches the application\n   credential\u0027s project before issuing the token.\n\nThis issue is orthogonal to CVE-2026-33551 (LP#2142138 / Gerrit\n983655), which blocks restricted application credentials from\ncreating EC2 credentials at all. The project-boundary check is\nabsent regardless of the restricted flag and requires separate\ntreatment.\n\nCloses-Bug: #2149775\nRelated-Bug: #OSPRH-29345\nAssisted-by: claude-sonnet-4-6 \u003cnoreply@anthropic.com\u003e\nChange-Id: I7c10c8a52e57e63cb9c66d03d69540abefe5425c\nSigned-off-by: Grzegorz Grasza \u003cxek@redhat.com\u003e\n(cherry picked from commit b6fd80996b882890a51f3e2aab41d952d7ff68ae)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/keystone/commit/60770681b4e4e0b23e048285ec1e82523dc241da"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/keystone/commit/60770681b4e4e0b23e048285ec1e82523dc241da"}]},"branch":"refs/heads/stable/2026.1","description":"Rebase","conflicts":{"ours":"7ff8b41d3ac2e3200510a1e62744d125e689809c","theirs":"4ec1f8a0120548da213d45e6f98712c6eb52ac0d","contains_conflicts":false}}},"requirements":[],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"CLOSED","labels":[{"label":"Verified","status":"MAY","applied_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"MAY","applied_by":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"}},{"label":"Workflow","status":"MAY","applied_by":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"}}]}],"submit_requirements":[{"name":"Verified","description":"Verified in gate by CI","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Verified\u003dMAX AND -label:Verified\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Verified\u003dMAX"],"failing_atoms":["label:Verified\u003dMIN"],"atom_explanations":{"label:Verified\u003dMAX":"","label:Verified\u003dMIN":""}}},{"name":"Code-Review","description":"Code reviewed by core reviewer","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX AND -label:Code-Review\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Code-Review\u003dMAX"],"failing_atoms":["label:Code-Review\u003dMIN"],"atom_explanations":{"label:Code-Review\u003dMAX":"","label:Code-Review\u003dMIN":""}}},{"name":"Workflow","description":"Approved for gate by core reviewer","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Workflow\u003dMAX AND -label:Workflow\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Workflow\u003dMAX"],"failing_atoms":["label:Workflow\u003dMIN"],"atom_explanations":{"label:Workflow\u003dMAX":"","label:Workflow\u003dMIN":""}}}]}
