CVE-2026-138121
Kestra 1.3.24 before 1.3.41 Insufficient Credential Expiration via Basic-Auth Token Cache
AI summary AI generated
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.
Mitigation
- Upgrade Kestra to 1.3.41 or later.
Who should check
- Anyone running Kestra >= 1.3.24, < 1.3.41
Vulnerability facts
- Affected
- Kestra >= 1.3.24, < 1.3.41
- Fixed in
- Kestra 1.3.41
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.5 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Attack requirements: Present
- Privileges required: High
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- CWE
- CWE-613
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Kestra | >= 1.3.24, < 1.3.41 | — | cvelist |
Versions mentioned in the description AI generated
Extracted by AI; each line quotes the description word for word. Source data above takes precedence.
- Affected: kestra Kestra 1.3.24 before 1.3.41 contains an insufficient credential expiration vulnerability
Kestra 1.3.24 before 1.3.41 contains an insufficient credential expiration vulnerability
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-138121. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-138121.md Affected: Kestra >= 1.3.24, < 1.3.41 Fixed in: Kestra 1.3.41 Steps: 1. Search this machine and project for Kestra: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-138121 being exploited?
There is no confirmed exploitation: CVE-2026-138121 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-138121?
High: CVSS 7.5 (v4.0, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-138121?
Kestra >= 1.3.24, < 1.3.41.
Is there a fix for CVE-2026-138121?
Yes. Fixed in Kestra 1.3.41. Upgrade Kestra to 1.3.41 or later.
How do I check if I'm affected by CVE-2026-138121?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More kestra vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 8.7 | CVE-2026-138119 Kestra before 1.3.36 Reflected XSS via Executions Page Sort Parameter | Kestra | ||
| MEDIUM 6.9 | CVE-2026-138120 Kestra 1.3.24 before 2.0.0 Username Enumeration via Basic-Auth Timing | Kestra |