Technical impact
Kestra 1.3.24 through 1.3.40 suffers from an insufficient credential expiration flaw in the BasicAuthService. When an administrator password is revoked, the system fails to invalidate previously validated tokens stored in a process-local cache on peer webserver nodes. Users who still possess a revoked password can keep authenticating via this cached token and can invoke the POST /api/v1/{tenant}/basicAuth endpoint to overwrite the shared administrator credentials, effectively locking out the legitimate administrator.
Affected Systems
The vulnerability affects Kestra Kestra releases prior to version 1.3.41, specifically releases 1.3.24 through 1.3.40. The fix is included in the 1.3.41 release and all subsequent releases, including 2.0.0.
Risk and Exploitability
The CVSS score of 7.5 signals a high-impact issue. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires that the attacker already holds a cached revoked administrator token on a peer webserver node and can send authenticated HTTP requests to the application; through this, they can overwrite credentials and deny legitimate admin access, representing a denial‑of‑service and privilege‑escalation threat for site administrators.