{"id":"CVE-2026-138121","state":"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.","publishedAt":"2026-11-28T01:43:04.937Z","updatedAt":"2026-11-28T01:43:04.937Z","severity":{"score":7.5,"label":"High","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":"VulnCheck"},"assigner":"VulnCheck","products":["Kestra Kestra"],"affected":[{"vendor":"Kestra","product":"Kestra","packageURL":"pkg:maven/io.kestra/kestra","defaultStatus":"unaffected","versions":[{"version":"1.3.24","status":"affected","lessThan":"1.3.41","versionType":"semver"}],"repo":"https://github.com/kestra-io/kestra"}],"references":["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"],"weaknesses":["CWE-613"],"ingestedAt":"2026-11-28T01:48:06.029Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/138xxx/CVE-2026-138121.json","commit":"bafc8c82504acb338f60e61d73af6875ff7797ce","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-138121","state":"PUBLISHED","datePublished":"2026-11-28T01:43:04.937Z","dateUpdated":"2026-11-28T01:43:04.937Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-27T23:50:32.984Z"},"containers":{"cna":{"title":"Kestra 1.3.24 before 1.3.41 Insufficient Credential Expiration via Basic-Auth Token Cache","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Kestra","product":"Kestra","packageURL":"pkg:maven/io.kestra/kestra","defaultStatus":"unaffected","versions":[{"version":"1.3.24","status":"affected","lessThan":"1.3.41","versionType":"semver"}],"repo":"https://github.com/kestra-io/kestra"}],"references":[{"url":"https://github.com/kestra-io/kestra/security/advisories/GHSA-94pv-f379-3gp3","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-94pv-f379-3gp3)"},{"url":"https://github.com/kestra-io/kestra/commit/16fa03d159270624bf3059f3ea79b1e7d7edfc1a","tags":["patch"]},{"url":"https://github.com/kestra-io/kestra/commit/ec11cfe89464aa8d4321219721d57c5d828b7571","tags":["patch"]},{"url":"https://github.com/kestra-io/kestra/releases/tag/v1.3.41","tags":["release-notes"],"name":"Kestra v1.3.41 Release Notes"},{"url":"https://github.com/kestra-io/kestra/releases/tag/v2.0.0","tags":["release-notes"],"name":"Kestra v2.0.0 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","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/kestra-1.3.24-before-1.3.41-insufficient-credential-expiration-via-basic-auth-token-cache","name":"VulnCheck Advisory: Kestra 1.3.24 before 1.3.41 Insufficient Credential Expiration via Basic-Auth Token Cache","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":6.6,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-613","lang":"en","description":"Insufficient Session Expiration","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-28T01:43:04.937Z"},"datePublic":"2026-10-06T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:kestra:kestra:*:*:*:*:*:*:*:*","versionStartIncluding":"1.3.24","versionEndExcluding":"1.3.41"}]}]}],"credits":[{"lang":"en","value":"Apostolos Sakellariou","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}