{"id":"CVE-2026-138121","summary":"Kestra 1.3.24 before 1.3.41 Insufficient Credential Expiration via Basic-Auth Token Cache","details":"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.","aliases":["GHSA-94pv-f379-3gp3"],"modified":"2026-11-28T03:00:11.265810053Z","published":"2026-11-28T01:43:04.937Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-613"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138121.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138121.json"},{"type":"PACKAGE","url":"https://github.com/kestra-io/kestra"},{"type":"ARTICLE","url":"https://github.com/kestra-io/kestra/blob/v1.3.40/webserver/src/main/java/io/kestra/webserver/services/BasicAuthService.java#L253-L260"},{"type":"FIX","url":"https://github.com/kestra-io/kestra/commit/16fa03d159270624bf3059f3ea79b1e7d7edfc1a"},{"type":"FIX","url":"https://github.com/kestra-io/kestra/commit/ec11cfe89464aa8d4321219721d57c5d828b7571"},{"type":"ADVISORY","url":"https://github.com/kestra-io/kestra/releases/tag/v1.3.41"},{"type":"ADVISORY","url":"https://github.com/kestra-io/kestra/releases/tag/v2.0.0"},{"type":"ADVISORY","url":"https://github.com/kestra-io/kestra/security/advisories/GHSA-94pv-f379-3gp3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138121"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/kestra-1.3.24-before-1.3.41-insufficient-credential-expiration-via-basic-auth-token-cache"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kestra-io/kestra","events":[{"introduced":"3be7399585d749b691376d5cdca2d5f305d3e69d"},{"fixed":"5228a1ca42d9a2c756aff8b702c52db21516a9fa"},{"fixed":"16fa03d159270624bf3059f3ea79b1e7d7edfc1a"},{"fixed":"ec11cfe89464aa8d4321219721d57c5d828b7571"},{"fixed":"f3f5461e829953715ba446a5439f1d4526f14d5e"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"1.3.24"},{"fixed":"1.3.41"}]},{"range":[{"fixed":"16fa03d159270624bf3059f3ea79b1e7d7edfc1a"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"ec11cfe89464aa8d4321219721d57c5d828b7571"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"v1.3.41","range":[{"fixed":"5228a1ca42d9a2c756aff8b702c52db21516a9fa"}]},{"source":"REFERENCES_TAG","original_tag":"v2.0.0","range":[{"fixed":"f3f5461e829953715ba446a5439f1d4526f14d5e"}]}]}}],"versions":["v1.3.40","v1.3.39","v1.3.38","v1.3.37","v1.3.36","v1.3.35","v1.3.34","v1.3.33","v1.3.32","v1.3.31","v1.3.30","v1.3.29","v1.3.28","v1.3.27","v1.3.26","v1.3.25","v1.3.24"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138121.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}