sigstore
Affected
- introduced
0, fixed4.2.0(ecosystem)
Fixed versions
4.2.0
Fix
- Fixed version
4.2.0pip install --upgrade sigstore==4.2.0
Advisory
Also known as: CVE-2026-24408, PYSEC-2026-1924
sigstore CSRF possibility in OIDC authentication during signing
Summary
The sigstore-python OAuth authentication flow is susceptible to Cross-Site Request Forgery.
Details
_OAuthSession creates a unique "state" and sends it as a parameter in the authentication request but the "state" in the server response seems not not be cross-checked with this value.
Fix should be fairly trivial.
Impact
This should be low impact: A man-in-the middle attacker could trick a sigstore-python user into signing something with an identity controlled by the attacker (by returning the response to an authentication request they created). This would be quite confusing but not dangerous.
Low Basis: The source's own band: LOW
0, fixed 4.2.0 (ecosystem)4.2.0
4.2.0pip install --upgrade sigstore==4.2.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0