The sigstore-python tool versions from 2.0.1 up to but not including 4.2.0 have a Cross-Site Request Forgery (CSRF) vulnerability in the OAuth authentication flow used during signing. The issue arises because the unique "state" parameter sent in the authentication request is not properly verified against the server response. This flaw was fixed in version 4.2.0.