Insufficient credential expiration in Kestra allows administrator lockout
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-613.
Summary
Kestra from 1.3.24 before 1.3.41 has insufficient credential expiration (CWE-613). A process-local verified-token cache in BasicAuthService lets holders of a revoked administrator password keep authenticating on peer webserver nodes. An attacker with a token still cached on a peer node can call the basicAuth endpoint to overwrite the shared administrator credentials and lock out the legitimate administrator.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Kestra to version 1.3.41 or later, which fixes the issue. The sources list no advisory identifier for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Kestra (Kestra) Fixed in 1.3.41
Timeline
- 2026-11-28 Threatist record created from CVE-2026-138121
- 2026-11-28 Alias added: GHSA-3pm5-4cwg-5rmr
- 2026-11-30 CISA SSVC decision points changed
References
Patch 2
More Kestra vulnerabilities
- TI-2026-36769 Kestra authentication bypass allows unauthenticated code execution KEVCVSS 3.1CRITICAL 10.0
- TI-2026-38637 Kestra: Unauthenticated RCE via /configs path-suffix auth-filter bypass CVSS 3.1CRITICAL 10.0
- TI-2026-28138 Kestra v1.3.3 and before is vulnerable to SQL Injection. CVSS 3.1CRITICAL 9.8
- TI-2026-51384 Kestra: SSRF via Pebble http() function allows unauthenticated access to internal services & cloud metadata CVSS 3.1HIGH 8.6
- TI-2026-26858 Kestra: Remote Code Execution via SQL Injection CVSS 3.1CRITICAL 10.0
- TI-2026-39775 Kestra BasicAuth Password Stored as SHA-512 Enables Offline Brute-Force Attack CVSS 3.1HIGH 8.7
Sources
- CVE-2026-138121 · CVE Program
- CVE-2026-138121 · NVD
- FIRST EPSS
- GHSA-3pm5-4cwg-5rmr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences