fix(deps): pin oauthlib to 4.0.0 for oauthlib 3.3.1 CVE batch - #4552
Merged
Merged
Conversation
Transitive dependency (via requests-oauthlib); direct pin clears timing attack and XSS findings (CVE-2026-49265, CVE-2026-49264). Part of elastic/search-team#16332 Part of elastic/search-team#16333
erikcurrin-elastic
approved these changes
Sep 30, 2026
Jan-Kazlouski-elastic
enabled auto-merge (squash)
October 1, 2026 10:00
This was referenced Oct 1, 2026
Jan-Kazlouski-elastic
added a commit
that referenced
this pull request
Oct 1, 2026
Jan-Kazlouski-elastic
added a commit
that referenced
this pull request
Oct 1, 2026
1 of 2 tasks
Jan-Kazlouski-elastic
added a commit
that referenced
this pull request
Oct 2, 2026
…4552) (#4561) ## Part of - elastic/search-team#16332 - elastic/search-team#16333 ## Summary Backport of #4552 for `8.19`: pin `oauthlib==4.0.0` in `requirements/framework.txt` (8.19 uses requirements pins instead of `pyproject.toml`). ## Test plan - [ ] Buildkite green on `8.19`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of
Summary
Pins
oauthlibto4.0.0inapp/connectors_service/pyproject.toml. The package is transitive (viarequests-oauthlib/ OAuth client flows); a direct pin is needed because no parent release forces4.xyet.Clears Snyk findings CVE-2026-49264 (XSS on revocation JSONP) and CVE-2026-49265 (PKCE timing side-channel on the authorization-server token endpoint).
Changes
app/connectors_service/pyproject.toml:oauthlib==4.0.0Scanner A/B (2 CVE IDs)
Minimal venv A/B on
oauthlib==3.3.1vsoauthlib==4.0.0:3.3.1)4.0.0)Test plan
make clean install autoformat lint test PYTHON=python3.11— 2546 passed, 92.09% coverage4.0.0Changes Requiring Extra Attention