CVE-2026-138121
Kestra 1.3.24 before 1.3.41 contains an insufficient credential expiration vulnerability that allows holders of a revoked administrator password to keep authen…
Impact
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.
An attacker can exploit this over the network, with an administrator account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Kestra | Kestra | from 1.3.24 before 1.3.41 |
| Kestra-io | Kestra | from 1.3.24 before 1.3.41 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/kestra-io/kestra/security/advisories/GHSA-94pv-f379-3gp3
- https://github.com/kestra-io/kestra/commit/16fa03d159270624bf3059f3ea79b1e7d7edfc1a
- https://github.com/kestra-io/kestra/commit/ec11cfe89464aa8d4321219721d57c5d828b7571
- https://github.com/kestra-io/kestra/releases/tag/v1.3.41
- https://github.com/kestra-io/kestra/releases/tag/v2.0.0
- https://github.com/kestra-io/kestra/blob/v1.3.40/webserver/src/main/java/io/kestra/webserver/services/BasicAuthService.java#L253-L260
- https://www.vulncheck.com/advisories/kestra-1.3.24-before-1.3.41-insufficient-credential-expiration-via-basic-auth-token-cache
- https://github.com/advisories/GHSA-3pm5-4cwg-5rmr
- https://nvd.nist.gov/vuln/detail/CVE-2026-138121