fix(security): resolve CVE-2026-26007 by migrating OpenSSL.crypto.verify and unblocking cryptography >= 46.0.5#1
Merged
Conversation
…ing crypto.verify (cherry picked from commit 9377d34)
Distinguishes the Baserow fork build (v7.5.4 + upstream PR IdentityPython#1021 cherry-pick) from the unpatched PyPI 7.5.4 release in dependency reports and pip freeze output.
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.
Recreation of upstream IdentityPython#1021 by @ascii-dev (cherry-picked from
9377d34with original authorship), plus a fork-identifying version bump.Why
Upgrading
cryptographyto a version that mitigates CVE-2026-26007 is blocked by pysaml2'spyopenssl < 24.3.0upper bound. That bound exists becauseOpenSSL.crypto.verifywas removed in pyopenssl 24.3.0.Changes (from upstream PR IdentityPython#1021)
OpenSSL.crypto.verifyAPI insrc/saml2/cert.pywithcryptography.hazmat.primitives.asymmetricimplementations (RSA via PKCS1v15, EC via ECDSA).< 24.3.0upper bound on pyopenssl; requirepyopenssl >= 25.3.0.cryptography >= 46.0.5(CVE-2026-26007 mitigation).Fork-specific changes
7.5.4+deps.upgradeso dependency reports distinguish this build from unpatched PyPI 7.5.4.Baserow consumes this fork pinned to the merge commit SHA; the merge commit is also tagged
v7.5.4+deps-upgrade.