{"id":"CVE-2026-138121","aliases":[],"kind":"cve","tier":"hot","status":"published","title":"Kestra 1.3.24 before 1.3.41 Insufficient Credential Expiration via Basic-Auth Token Cache","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.","ai_summary":{"text":"An attacker holding a revoked administrator password can keep authenticating via a process-local token cache on peer nodes and overwrite shared admin credentials in Kestra.","model":"claude-haiku-5-5","label":"AI summary"},"severity":"high","cvss":{"score":7.5,"version":"4.0","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","source":"CNA"},"scores":[{"score":7.5,"source":"cna","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","version":"4.0"},{"score":6.6,"source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"score":7.5,"source":"cna","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"}],"cwe":["CWE-613"],"remote":true,"remote_unauth":false,"epss":null,"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"source":"cvelist","vendor":"Kestra","product":"Kestra","versions":">= 1.3.24, < 1.3.41"}],"ai_versions":{"affected":[{"text":"Kestra 1.3.24 before 1.3.41 contains an insufficient credential expiration vulnerability","quote":"Kestra 1.3.24 before 1.3.41 contains an insufficient credential expiration vulnerability","product":"kestra"}],"fixed":[],"model":"claude-haiku-5-5","label":"AI-extracted versions"},"mitigation":"Upgrade Kestra to 1.3.41 or later.","technologies":[],"references":[{"url":"https://github.com/kestra-io/kestra/security/advisories/GHSA-94pv-f379-3gp3","kind":"vendor"},{"url":"https://github.com/kestra-io/kestra/commit/16fa03d159270624bf3059f3ea79b1e7d7edfc1a","kind":"patch"},{"url":"https://github.com/kestra-io/kestra/commit/ec11cfe89464aa8d4321219721d57c5d828b7571","kind":"patch"},{"url":"https://github.com/kestra-io/kestra/blob/v1.3.40/webserver/src/main/java/io/kestra/webserver/services/BasicAuthService.java#L253-L260","kind":"article"},{"url":"https://github.com/kestra-io/kestra/releases/tag/v1.3.41","kind":"other"},{"url":"https://github.com/kestra-io/kestra/releases/tag/v2.0.0","kind":"other"},{"url":"https://www.vulncheck.com/advisories/kestra-1.3.24-before-1.3.41-insufficient-credential-expiration-via-basic-auth-token-cache","kind":"other"}],"workarounds":null,"vendors":["kestra"],"products":["kestra"],"cpes":[],"published_at":"2026-11-28T01:43:04.937Z","modified_at":"2026-11-28T02:17:34.020Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138121"}],"links":{"html":"https://flawdb.com/CVE-2026-138121","markdown":"https://flawdb.com/CVE-2026-138121.md","json":"https://flawdb.com/api/v1/entries/CVE-2026-138121"}}