Skip to content

OCPBUGS-74117: Bump keystonemiddleware version to 10.9.0-0.20260216145500.557d173 for CVE-2026-22797 fix#792

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:release-4.20from
mabulgu:cve/bump-keystonemiddleware-vers-ocp4.20
Feb 26, 2026
Merged

OCPBUGS-74117: Bump keystonemiddleware version to 10.9.0-0.20260216145500.557d173 for CVE-2026-22797 fix#792
openshift-merge-bot[bot] merged 1 commit intoopenshift:release-4.20from
mabulgu:cve/bump-keystonemiddleware-vers-ocp4.20

Conversation

@mabulgu
Copy link

@mabulgu mabulgu commented Feb 18, 2026

Summary

Update the required version of keystonemiddleware to 10.9.0-0.20260216145500.557d173 to address
CVE-2026-22797.

CVE Details

CVE-2026-22797 (CVSS 9.9 - Important)

The external_oauth2_token middleware in keystonemiddleware fails to sanitize
incoming authentication headers before processing OAuth 2.0 tokens. By sending
forged identity headers such as X-Is-Admin-Project, X-Roles, or X-User-Id,
an authenticated attacker may escalate privileges or impersonate other users.

Affected versions

keystonemiddleware 10.5 through 10.7 (before 10.7.2), 10.8 and 10.9 (before
10.9.1), and 10.10 through 10.12 (before 10.12.1).

Tracking

  • OCPBUGS-76935 (4.22)
  • OCPBUGS-76934 (4.21)
  • OCPBUGS-74117 (4.20)
  • OCPBUGS-74116 (4.19)
  • OCPBUGS-74115 (4.18)
  • OCPBUGS-74114 (4.17)

Fix

This PR bumps keystonemiddleware to 10.9.0-0.20260216145500.557d173 for the 4.20 release branch.

@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Feb 18, 2026
@openshift-ci-robot
Copy link

@mabulgu: This pull request references Jira Issue OCPBUGS-74117, which is invalid:

  • release note text must be set and not match the template OR release note type must be set to "Release Note Not Required". For more information you can reference the OpenShift Bug Process.
  • expected dependent Jira Issue OCPBUGS-76934 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but it is POST instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Summary

Update the required version of keystonemiddleware to 10.9.0-0.20260216145500.557d173 to address
CVE-2026-22797.

CVE Details

CVE-2026-22797 (CVSS 9.9 - Important)

The external_oauth2_token middleware in keystonemiddleware fails to sanitize
incoming authentication headers before processing OAuth 2.0 tokens. By sending
forged identity headers such as X-Is-Admin-Project, X-Roles, or X-User-Id,
an authenticated attacker may escalate privileges or impersonate other users.

Affected versions

keystonemiddleware 10.5 through 10.7 (before 10.7.2), 10.8 and 10.9 (before
10.9.1), and 10.10 through 10.12 (before 10.12.1).

Tracking

  • OCPBUGS-76935 (4.22)
  • OCPBUGS-76934 (4.21)
  • OCPBUGS-74117 (4.20)
  • OCPBUGS-74116 (4.19)
  • OCPBUGS-74115 (4.18)
  • OCPBUGS-74114 (4.17)

Fix

This PR bumps keystonemiddleware to 10.9.0-0.20260216145500.557d173 for the 4.20 release branch.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@mabulgu
Copy link
Author

mabulgu commented Feb 18, 2026

/jira refresh

@openshift-ci-robot
Copy link

@mabulgu: This pull request references Jira Issue OCPBUGS-74117, which is invalid:

  • expected dependent Jira Issue OCPBUGS-76934 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but it is POST instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

/jira refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested review from dtantsur and elfosardo February 18, 2026 13:04
@elfosardo
Copy link

/approve
/label backport-risk-assessed

@openshift-ci openshift-ci bot added the backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. label Feb 18, 2026
@openshift-ci
Copy link

openshift-ci bot commented Feb 18, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: elfosardo, mabulgu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 18, 2026
@elfosardo
Copy link

/verified bypass

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Feb 18, 2026
@openshift-ci-robot
Copy link

@elfosardo: The verified label has been added.

Details

In response to this:

/verified bypass

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@mabulgu
Copy link
Author

mabulgu commented Feb 25, 2026

(.venv) ➜  ironic-ocp-tools git:(master) ironic-builds list production ocp-4.20 | grep keystonemiddleware
python-keystonemiddleware-10.9.0-0.20260216145500.557d173.el9ocp

@elfosardo would you mind /override ci/prow/images no need. thanks!

@mabulgu
Copy link
Author

mabulgu commented Feb 25, 2026

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Feb 25, 2026
@openshift-ci-robot
Copy link

@mabulgu: This pull request references Jira Issue OCPBUGS-74117, which is valid.

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.20.z) matches configured target version for branch (4.20.z)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note text is set and does not match the template
  • dependent bug Jira Issue OCPBUGS-76934 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
  • dependent Jira Issue OCPBUGS-76934 targets the "4.21.z" version, which is one of the valid target versions: 4.21.0, 4.21.z
  • bug has dependents

Requesting review from QA contact:
/cc @xiaojiey

Details

In response to this:

/jira refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested a review from xiaojiey February 25, 2026 14:23
@mabulgu
Copy link
Author

mabulgu commented Feb 25, 2026

@elfosardo I think I both need a /lgtm and a /override ci/prow/images here

(.venv) ➜  ironic-ocp-tools git:(master) ironic-builds list production ocp-4.20 | grep keystonemiddleware
python-keystonemiddleware-10.9.0-0.20260216145500.557d173.el9ocp

@elfosardo
Copy link

/lgtm

@elfosardo
Copy link

/override ci/prow/images

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 26, 2026
@openshift-ci
Copy link

openshift-ci bot commented Feb 26, 2026

@elfosardo: Overrode contexts on behalf of elfosardo: ci/prow/images

Details

In response to this:

/override ci/prow/images

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-ci
Copy link

openshift-ci bot commented Feb 26, 2026

@mabulgu: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit 9d5e435 into openshift:release-4.20 Feb 26, 2026
8 checks passed
@openshift-ci-robot
Copy link

@mabulgu: Jira Issue Verification Checks: Jira Issue OCPBUGS-74117
✔️ This pull request was pre-merge verified.
✔️ All associated pull requests have merged.
✔️ All associated, merged pull requests were pre-merge verified.

Jira Issue OCPBUGS-74117 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓

Details

In response to this:

Summary

Update the required version of keystonemiddleware to 10.9.0-0.20260216145500.557d173 to address
CVE-2026-22797.

CVE Details

CVE-2026-22797 (CVSS 9.9 - Important)

The external_oauth2_token middleware in keystonemiddleware fails to sanitize
incoming authentication headers before processing OAuth 2.0 tokens. By sending
forged identity headers such as X-Is-Admin-Project, X-Roles, or X-User-Id,
an authenticated attacker may escalate privileges or impersonate other users.

Affected versions

keystonemiddleware 10.5 through 10.7 (before 10.7.2), 10.8 and 10.9 (before
10.9.1), and 10.10 through 10.12 (before 10.12.1).

Tracking

  • OCPBUGS-76935 (4.22)
  • OCPBUGS-76934 (4.21)
  • OCPBUGS-74117 (4.20)
  • OCPBUGS-74116 (4.19)
  • OCPBUGS-74115 (4.18)
  • OCPBUGS-74114 (4.17)

Fix

This PR bumps keystonemiddleware to 10.9.0-0.20260216145500.557d173 for the 4.20 release branch.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants