CVE-2026-138121 — Kestra
One of 3 Kestra vulnerabilities published together by NVD: our article covers all of them.
WebVulnerabilitiesResearch article
Kestra 1.3.24 before 1.3.41: Insufficient Credential Expiration via Basic Auth Token Cache
| CVE | CVE-2026-138121 |
|---|---|
| Vendor and product | Kestra |
| Published | November 28, 2026 13:10 UTC |
| Research cut-off | November 28, 2026 12:45 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-28); CISA KEV catalog |
Executive summary
enabling holders of revoked administrator credentials to keep authenticating if their verified token remains in a peer node's local token cache [1]. The vulnerability has a CVSS 3.1 score of 6.6, classified as MEDIUM, and is not currently listed in CISA's Known Exploited Vulnerabilities Catalog [1, 2]. The recommended action is to update to version 1.3.41, which the record lists as the fixed version [1].
Key points
- CVE-2026-138121 impacts Kestra versions from 1.3.24 up to but not including 1.3.41 [1].
- Revoked administrator credentials can still be used if they are cached in a peer node's local token cache [1].
- The CVSS 3.1 score for this vulnerability is 6.6, rated as MEDIUM, with a scorer of disclosure@vulncheck.com [1].
- CVE-2026-138121 is not listed in CISA's Known Exploited Vulnerabilities Catalog [2].
- Upgrade to Kestra version 1.3.41, the fixed version listed in the record [1].
Vulnerability identification
| Field | Value |
|---|---|
| CVE ID | CVE-2026-138121 |
| Vendor | Kestra |
| Product | Kestra |
| CWE | CWE-613 (Insufficient Session Expiration) |
| CVSS 3.1 | 6.6 MEDIUM, scored by disclosure@vulncheck.com |
| CVSS 4.0 | 7.5 HIGH, scored by disclosure@vulncheck.com |
| Published | 2026-11-28 |
| Last Modified | 2026-11-28 |
| Record Status | Deferred |
Vulnerability description
This flaw involves a credential expiration issue in Kestra versions 1.3.24 through 1.3.40. If an administrator's password is revoked, it can still be used for authentication on peer webserver nodes if it remains in the BasicAuthService's local token cache [1]. Attackers with access to this cached token can exploit the POST /api/v1/{tenant}/basicAuth endpoint to replace shared administrator credentials, potentially blocking the legitimate user from logging in [1].
Attack surface and exploitation prerequisites
The attack requires access to a peer webserver node and the ability to retain a cached BasicAuthService token, and the vector indicates high privileges are required [1]. The attacker can use the token to call the POST endpoint and overwrite shared administrator credentials without needing user interaction [1].
Impact analysis
The flaw affects confidentiality, integrity, and availability. Confidentiality impact is rated high in the vector, though the record does not describe attackers reading credentials [1]. Integrity is compromised as credentials can be modified, allowing unauthorized actions. Availability is also impacted because the legitimate administrator may be locked out of the system [1].
Affected products and versions
| Product | Affected Versions | Fixed Version |
|---|---|---|
| Kestra | ≥ 1.3.24, < 1.3.41 | 1.3.41 |
Exploitation and threat intelligence status
CVE-2026-138121 is not listed in CISA's Known Exploited Vulnerabilities Catalog as of 2026-11-28 [2]. The reviewed sources do not report any known exploitation. The reviewed sources do not include an EPSS score [2].
Detection and exposure assessment
To assess exposure, verify whether the installed version of Kestra falls within the affected range: ≥ 1.3.24 and < 1.3.41 [1]. No specific detection methods are detailed in the sources [1].
Remediation
The vulnerability is resolved in Kestra version 1.3.41 [1]. To mitigate the risk, upgrade to this version or a newer release. The record lists 1.3.41 as the fixed version, and does not say how quickly to install it [1].
Remediation checklist
- Upgrade to Kestra version 1.3.41, the fixed version listed in the record [1].
- Ensure all peer webserver nodes are updated to the fixed version as general guidance.
- Evaluate access control policies to limit token caching and credential reuse as general guidance.
Evidence gaps
- The sources do not describe the internal workings of the affected component.
- The sources do not mention a workaround.
- The sources do not provide a complete version range for affected products.
- The sources do not report any exploitation.
- The sources do not give indicators of compromise.
References
- CVE-2026-138121 record. NIST National Vulnerability Database (NVD), 2026-11-28. https://nvd.nist.gov/vuln/detail/CVE-2026-138121. Accessed 2026-11-28.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-28. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-28.
Summary
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.
Severity breakdown
High · 7.5
An attacker with administrator rights can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- yes, an administrator account
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-613: Insufficient Session Expiration
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Kestra | ≥ 1.3.24, < 1.3.41 | 1.3.41 |
References by type
Vendor advisories
Patches and fixed releases
- github.com/kestra-io/kestra/commit/16fa03d159270624bf3059f3ea79b1e7d7ed…
- github.com/kestra-io/kestra/commit/ec11cfe89464aa8d4321219721d57c5d828b…
- github.com/kestra-io/kestra/releases/tag/v1.3.41
- github.com/kestra-io/kestra/releases/tag/v2.0.0
Other references
Affected
- Kestra
Frequently asked questions
What is CVE-2026-138121?
enabling holders of revoked administrator credentials to keep authenticating if their verified token remains in a peer node's local token cache. The vulnerability has a CVSS 3.1 score of 6.6, classified as MEDIUM, and is not currently listed in CISA's Known Exploited Vulnerabilities Catalog. The recommended action is to update to version 1.3.41, which the record lists as the fixed version. Weakness type: Insufficient Session Expiration (CWE-613).
How severe is CVE-2026-138121?
CVE-2026-138121 has a CVSS 4.0 base score of 7.5 (high), from the CNA (vulncheck.com). An attacker with administrator rights can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-138121 being exploited?
Not as far as is known: CVE-2026-138121 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.7% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-138121?
Kestra ≥ 1.3.24, < 1.3.41 (fixed in 1.3.41).
How do I fix CVE-2026-138121?
Upgrade to Kestra version 1.3.41, the fixed version listed in the record. Ensure all peer webserver nodes are updated to the fixed version as general guidance. Evaluate access control policies to limit token caching and credential reuse as general guidance.