Skip to content

[GHSA-3jp2-3mrg-2vxc] Remove patched version 4.0.0 - #10765

Merged
advisory-database[bot] merged 1 commit into
github:Rania193/advisory-improvement-10765from
Rania193:GHSA-3jp2-3mrg-2vxc
Nov 5, 2026
Merged

advisory-database[bot] merged 1 commit into
github:Rania193/advisory-improvement-10765from
Rania193:GHSA-3jp2-3mrg-2vxc

Conversation

@Rania193

Copy link
Copy Markdown

Updates

  • Affected versions: >= 3.3.0, < 4.0.0 → >= 3.3.0, <= 4.0.0
  • Patched versions: 4.0.0 → none

Comments
The record lists 4.0.0 as patched, but the fix, 1c91d64 ("Merge pull request #954 from hekhuisk/improve-device-workflow", 2026-10-01), was merged after oauthlib 4.0.0 was published to PyPI on 2026-09-28. No release contains it yet; 4.0.0 is still the latest version on PyPI.

GitHub's compare API reports the v4.0.0 tag as diverged from 1c91d64 (3 commits behind it), so the fix is not in 4.0.0:

The upstream issue tracking this asks for a 4.0.1 or 4.1.0 release with the fix:

The repository advisory (GHSA-3jp2-3mrg-2vxc) also lists 4.0.0 as patched, which looks like the source of this value.

Copilot AI auto review requested due to automatic review settings October 29, 2026 10:05

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.

🟢 Approval recommended

No active review issues are reported for the oauthlib affected-range correction.

No open issues 🎉

What changed in this PR

Corrects the oauthlib advisory to mark version 4.0.0 as affected rather than patched, reflecting that the fix was merged after that release.

Changes:

  • Replaces "fixed": "4.0.0" with "last_affected": "4.0.0".
  • Includes 4.0.0 in the affected range and removes the listed patched version.
File Description
advisories/​github-reviewed/​2026/​10/​GHSA-3jp2-3mrg-2vxc/​GHSA-3jp2-3mrg-2vxc.json Corrects the affected-range endpoint for oauthlib 4.0.0.

Review effort: Balanced (auto)

@github-actions
github-actions Bot changed the base branch from main to Rania193/advisory-improvement-10765 October 29, 2026 10:17
@paulsuh

paulsuh commented Nov 2, 2026

Copy link
Copy Markdown

FYI - oauthlib released 4.0.1 with a fix on 2026-10-31.

@Alina-Podoba

Copy link
Copy Markdown

The fix is now released. oauthlib 4.0.1 (tag v4.0.1, commit 6e3aa05, 2026-10-31) contains oauthlib/oauthlib#954 (merge 77a5f1c). It adds DeviceCodeGrant.validate_device_code() and calls it from validate_token_request, and the 4.0.1 CHANGELOG names CVE-2026-49272 / GHSA-3jp2-3mrg-2vxc as fixed. v4.0.0 (145a9a4) still lacks any device_code check in oauthlib/oauth2/rfc8628/grant_types/device_code.py.

Suggested update: affected >= 3.3.0, < 4.0.1, patched 4.0.1 ("fixed": "4.0.1" instead of last_affected), and change the release reference from .../releases/tag/v4.0.0 to .../releases/tag/v4.0.1. The lower bound 3.3.0 is correct: DeviceCodeGrant was added in oauthlib/oauthlib#889 (028c563), first released in 3.3.0.

@paulsuh

paulsuh commented Nov 3, 2026

Copy link
Copy Markdown

Base security advisory from the developer has been updated with info about 4.0.1. Please update this advisory. . GHSA-3jp2-3mrg-2vxc

@advisory-database
advisory-database Bot merged commit e23f86e into github:Rania193/advisory-improvement-10765 Nov 5, 2026
2 checks passed
@advisory-database

Copy link
Copy Markdown
Contributor

Hi @Rania193! Thank you so much for contributing to the GitHub Advisory Database. This database is free, open, and accessible to all, and it's people like you who make it great. Thanks for choosing to help others. We hope you send in more contributions in the future!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants