Skip to content

chore(deps): bump oauthlib from 4.0.0 to 4.0.1 in the security-updates group across 1 directory - #41

Merged
thxCode merged 1 commit into
mainfrom
dependabot/uv/security-updates-a59637112a
Nov 8, 2026
Merged

thxCode merged 1 commit into
mainfrom
dependabot/uv/security-updates-a59637112a

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the security-updates group with 1 update in the / directory: oauthlib.

Updates 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 Pull requests that update a dependency file label Nov 6, 2026
Copilot AI balanced review requested due to automatic review settings November 6, 2026 00:12
@dependabot dependabot Bot added the python:uv Pull requests that update python:uv code label Nov 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown

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.

thxCode added a commit that referenced this pull request Nov 8, 2026
GitHub retired all macOS 14 runner images from GitHub Actions on 2026-11-02 (actions/runner-images#15226); jobs requesting macos-14 now queue indefinitely and get cancelled with "configuration not supported", which broke the darwin legs of the CI matrix and left dependabot PR #41 red. macos-26 is the newest supported arm64 label and keeps the same runner shape (3-vCPU M1).

Signed-off-by: thxCode <thxcode0824@gmail.com>
@thxCode

thxCode commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps the security-updates group with 1 update in the / directory: [oauthlib](https://github.com/oauthlib/oauthlib).


Updates `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
  dependency-group: security-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/uv/security-updates-a59637112a branch from 925a7d5 to bf5d2c6 Compare November 8, 2026 07:27
@thxCode
thxCode merged commit f693e91 into main Nov 8, 2026
6 checks passed
@thxCode
thxCode deleted the dependabot/uv/security-updates-a59637112a branch November 8, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants