CVE-2026-138121: Kestra 1.3.24 before 1.3.41 Insufficient Credential Expiration via Basic-Auth Token Cache
Kestra 1.3.24 before 1.3.41 contains an insufficient credential expiration vulnerability that allows holders of a revoked administrator password to keep authenticating on peer webserver nodes through BasicAuthService's process-local verified-token cache. Attackers whose token remains cached on a peer node can call POST /api/v1/{tenant}/basicAuth to overwrite the shared administrator credentials and lock out the legitimate administrator.
Affected Software
Event History
Frequently Asked Questions
Does revoking an administrator password immediately terminate all access associated with it?
No. A holder of the revoked password may continue authenticating if their verified token remains in the process-local BasicAuthService cache on a peer webserver node.
What access does an attacker need to take over the shared administrator credentials?
The attacker needs to hold a revoked administrator password whose token remains cached on a peer node. They can then call POST /api/v1/{tenant}/basicAuth to overwrite the shared administrator credentials.
What is the practical impact of successful exploitation?
An attacker can replace the shared administrator credentials and lock out the legitimate administrator. The vulnerability affects confidentiality, integrity, and availability.