{"id":"CVE-2026-138121","aliases":["GHSA-94pv-f379-3gp3"],"title":"Kestra 1.3.24 before 1.3.41 Insufficient Credential Expiration via Basic-Auth Token Cache","originalDescription":"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.","severity":{"cvss":7.5,"vector":"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","label":"high"},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Kestra","range":">=1.3.24, <1.3.41","fixed":"1.3.41"}],"references":[{"url":"https://github.com/kestra-io/kestra/security/advisories/GHSA-94pv-f379-3gp3","type":"vendor-advisory"},{"url":"https://github.com/kestra-io/kestra/commit/16fa03d159270624bf3059f3ea79b1e7d7edfc1a","type":"patch"},{"url":"https://github.com/kestra-io/kestra/commit/ec11cfe89464aa8d4321219721d57c5d828b7571","type":"patch"},{"url":"https://github.com/kestra-io/kestra/releases/tag/v1.3.41","type":"release-notes"},{"url":"https://github.com/kestra-io/kestra/releases/tag/v2.0.0","type":"release-notes"},{"url":"https://github.com/kestra-io/kestra/blob/v1.3.40/webserver/src/main/java/io/kestra/webserver/services/BasicAuthService.java#L253-L260","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/kestra-1.3.24-before-1.3.41-insufficient-credential-expiration-via-basic-auth-token-cache","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138121.json","type":"advisory"},{"url":"https://github.com/kestra-io/kestra","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138121","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-28T02:21:36.967Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138121","license":"NVD terms of use","firstSeenAt":"2026-11-28T02:21:36.967Z"},{"name":"osv","at":"2026-11-28T04:01:00.389Z","url":"https://osv.dev/vulnerability/CVE-2026-138121","license":"CC-BY 4.0","firstSeenAt":"2026-11-28T03:27:38.187Z"},{"name":"cvelistV5","at":"2026-11-28T13:51:56.972Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-138121","license":"CVE Terms of Use","firstSeenAt":"2026-11-28T01:45:42.891Z"}],"firstSeenAt":"2026-11-28T01:45:42.891Z","publishedAt":"2026-11-28T01:43:04.937Z","modifiedAt":"2026-11-28T03:00:11.265Z"}