# CVE-2026-138121: Kestra 1.3.24 before 1.3.41 Insufficient Credential Expiration via Basic-Auth Token Cache

- Severity: High 7.5 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-28T01:43:04.937Z
- Modified: 2026-11-30T16:17:20.117Z
- Weaknesses: CWE-613
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- Kestra Kestra: from 1.3.24 before 1.3.41

## Every score

- VulnCheck: CVSS:4.0 7.5 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/kestra-io/kestra/security/advisories/GHSA-94pv-f379-3gp3> (exploit, vendor-advisory)
- <https://github.com/kestra-io/kestra/commit/16fa03d159270624bf3059f3ea79b1e7d7edfc1a> (patch)
- <https://github.com/kestra-io/kestra/commit/ec11cfe89464aa8d4321219721d57c5d828b7571> (patch)
- <https://github.com/kestra-io/kestra/releases/tag/v1.3.41> (release-notes)
- <https://github.com/kestra-io/kestra/releases/tag/v2.0.0> (release-notes)
- <https://github.com/kestra-io/kestra/blob/v1.3.40/webserver/src/main/java/io/kestra/webserver/services/BasicAuthService.java#L253-L260> (technical-description)
- <https://www.vulncheck.com/advisories/kestra-1.3.24-before-1.3.41-insufficient-credential-expiration-via-basic-auth-token-cache> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-138121](https://www.cve.org/CVERecord?id=CVE-2026-138121), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138121](https://nvd.nist.gov/vuln/detail/CVE-2026-138121), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138121 · Whole record: https://cve.day/CVE-2026-138121.json · Rebuilt by cve.day 2026-11-30T16:32:18.957Z
