Skip to content

chore(deps): bump oauthlib from 4.0.0 to 4.0.1 in /python/packages/lab - #10129

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/python/packages/lab/oauthlib-4.0.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/python/packages/lab/oauthlib-4.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Bumps oauthlib from 4.0.0 to 4.0.1.

Release notes

Sourced from oauthlib's releases.

4.0.1

Security

  • CVE-2026-49272 / GHSA-3jp2-3mrg-2vxc: The device code flow token endpoint did not validate the device_code parameter. A request with a known client_id and a bogus device_code could obtain a bearer token. DeviceCodeGrant.validate_token_request now calls DeviceCodeGrant.validate_device_code(), which rejects missing or unknown device codes (invalid_request / invalid_grant) and delegates the code's authorization status to the new RequestValidator.validate_device_code() hook, per RFC 8628 Section 3.5. (cherry-picked from #954)

Upgrade note for device flow integrators

Custom RequestValidator implementations using the device flow must now implement validate_device_code(client_id, code, request). Return one of the DeviceCodeGrant.DEVICE_CODE_* statuses for known codes, or None for an unknown code. When returning AUTHORIZED, the validator must also populate request.user and request.scopes from the stored authorization.

Changelog

Sourced from oauthlib's changelog.

4.0.1 (2026-11-04):

OAuth2.0 Provider (Security):

  • Security: CVE-2026-49272 / GHSA-3jp2-3mrg-2vxc: The device code flow token endpoint did not validate the device_code parameter. A request with a known client_id and a bogus device_code could obtain a bearer token. DeviceCodeGrant.validate_token_request now calls a new DeviceCodeGrant.validate_device_code() which rejects missing or unknown device codes (400 invalid_request / 400 invalid_grant) and delegates the code's authorization status to a new required RequestValidator.validate_device_code() hook, per RFC 8628 Section 3.5. (cherry-picked from #954, merged as 1c91d64)

    Upgrade note for device flow integrators: custom RequestValidator implementations using the device flow must now implement validate_device_code(client_id, code, request). Return one of the DeviceCodeGrant.DEVICE_CODE_* statuses (AUTHORIZED, PENDING, SLOW_DOWN or EXPIRED) for known codes, or None for an unknown code. When returning AUTHORIZED, the validator must also populate request.user and request.scopes from the stored authorization.

Commits

@dependabot dependabot Bot added the dependencies Usage: [Issues, PRs], Target: dependencies in the project label Nov 5, 2026
@dependabot dependabot Bot added the lab Usage: [Issues, PRs], Target: lab packages label Nov 5, 2026
Copilot AI balanced review requested due to automatic review settings November 5, 2026 23:51
@dependabot dependabot Bot added the python Usage: [Issues, PRs], Target: Python label Nov 5, 2026
@dependabot
dependabot Bot temporarily deployed to github-app-auth November 5, 2026 23:51 Inactive

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

@dependabot
dependabot Bot temporarily deployed to github-app-auth November 5, 2026 23:51 Inactive
@github-actions github-actions Bot changed the title chore(deps): bump oauthlib from 4.0.0 to 4.0.1 in /python/packages/lab Python: chore(deps): bump oauthlib from 4.0.0 to 4.0.1 in /python/packages/lab Nov 5, 2026
@eavanvalkenburg

Copy link
Copy Markdown
Member

/review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAF Automated Review — Iteration 1

Result: No findings
Scope: full PR (1 commit(s)): 6cdc68e1cc7c
Model: gpt-5.6-sol

Overview

This PR updates only the Lab workspace's resolved transitive oauthlib artifact from 4.0.0 to 4.0.1, preserving the standalone package boundary and immutable artifact hashes. The lockfile remains consistent, the dependency chain and supported Python/platform matrix are unchanged, and Lab CI performs frozen installation across Python 3.11-3.14 on Linux and Windows. No repository-owned device-flow provider implementation is exposed to the upstream validator-hook compatibility change.

Reviewed the supplied pull-request change set across correctness, security/reliability, architecture, and failure behavior.
No publishable findings remained after source verification for this scope.

@dependabot
dependabot Bot deployed to github-app-auth November 6, 2026 09:53 Active
Bumps [oauthlib](https://github.com/oauthlib/oauthlib) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/oauthlib/oauthlib/releases)
- [Changelog](https://github.com/oauthlib/oauthlib/blob/v4.0.1/CHANGELOG.rst)
- [Commits](oauthlib/oauthlib@v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: oauthlib
  dependency-version: 4.0.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Python: chore(deps): bump oauthlib from 4.0.0 to 4.0.1 in /python/packages/lab chore(deps): bump oauthlib from 4.0.0 to 4.0.1 in /python/packages/lab Nov 6, 2026
@dependabot
dependabot Bot deployed to github-app-auth November 6, 2026 09:54 Active
@dependabot
dependabot Bot force-pushed the dependabot/uv/python/packages/lab/oauthlib-4.0.1 branch from 6cdc68e to 3c5f08f Compare November 6, 2026 09:54
@dependabot
dependabot Bot deployed to github-app-auth November 6, 2026 09:54 Active
@dependabot
dependabot Bot deployed to github-app-auth November 6, 2026 09:54 Active
@eavanvalkenburg

Copy link
Copy Markdown
Member

Superseded by #10151, which includes this dependency update in the Python release preparation.

@dependabot @github

dependabot Bot commented on behalf of github Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/uv/python/packages/lab/oauthlib-4.0.1 branch November 6, 2026 14:51

This branch was successfully deployed

1 active deployment
github-app-auth — 3c5f08fe Deployed Nov 6, 2026 by dependabot[bot] via add_label #27239
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Usage: [Issues, PRs], Target: dependencies in the project lab Usage: [Issues, PRs], Target: lab packages python Usage: [Issues, PRs], Target: Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants