Advisory

GHSA-hm8f-75xx-w2vr

Also known as: CVE-2026-24408, PYSEC-2026-1924

Summary

sigstore CSRF possibility in OIDC authentication during signing

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-01-26 21:34 UTC
Modified
2026-07-07 17:56 UTC

Affected packages and fixes

sigstore

PyPI · All systems

Affected

  • introduced 0, fixed 4.2.0 (ecosystem)

Fixed versions

4.2.0

Fix

  • Fixed version 4.2.0
    pip install --upgrade sigstore==4.2.0

Fix 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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences