fix: bump cryptography to ~=50.0 - #706
Merged
Merged
Conversation
Move the cryptography requirement from ~=49.0 to ~=50.0 (>=50.0,<51.0) and re-lock to 50.0.0. This clears CVE-2026-69247 / GHSA-g6cj-pr64-35w5 (PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle), which affects >=44.0.0,<50.0.0 and is fixed in 50.0.0. The SDK only uses long-stable cryptography APIs (Fernet in session.py, Cipher/algorithms/modes + default_backend in vault/_resource.py), which are unchanged in the 50.x line.
Contributor
Greptile SummaryUpdates the supported
Confidence Score: 5/5The PR appears safe to merge with no actionable changed-code defects identified. The manifest and lockfile consistently select cryptography 50.0.0, while the other advisory-matched dependencies are unchanged from the base branch and do not represent regressions introduced here. Important Files Changed
Reviews (1): Last reviewed commit: "chore: bump cryptography to ~=50.0" | Re-trigger Greptile |
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.
Summary
cryptographyrequirement from~=49.0to~=50.0(>=50.0,<51.0) and re-lock to 50.0.0.>=44.0.0,<50.0.0and is fixed in 50.0.0.cryptographyAPIs (Fernetinsession.py,Cipher/algorithms/modes+default_backendinvault/_resource.py), which are unchanged in the 50.x line.Closes #705