Home › Vulnerabilities › Kestra
Kestra Patches Three Flaws Covering XSS, Credential Expiry and Admin Username Enumeration
NVD published three Kestra vulnerabilities together: a reflected cross-site scripting flaw rated HIGH (CVSS 8.7), an insufficient credential expiration flaw rated HIGH (CVSS 7.5), and a timing side-channel that can reveal the administrator username, rated MEDIUM (CVSS 6.9). The records give fixed versions for each but do not say any of them is being exploited.
What to look into
- 3 vulnerabilities in Kestra: 2 high, 1 medium (CVSS up to 8.7).
- None of them is known to be exploited yet.
- Start with CVE-2026-138119 (8.7 high): Kestra Before 1.3.36 Contains Reflected XSS Vulnerability. An attacker without an account can exploit this over the network if a user views or visits something.
- 2 of 3 can be attacked over the network without logging in, 1 of them without anyone clicking anything.
- Kinds of flaws: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'); Insufficient Session Expiration; Observable Timing Discrepancy.
Key points
- Three Kestra flaws published together: reflected XSS (CVE-2026-138119, HIGH 8.7), credential expiration (CVE-2026-138121, HIGH 7.5), and timing-based username enumeration (CVE-2026-138120, MEDIUM 6.9).
- The XSS flaw can lead to theft of the BASICAUTH cookie after a victim opens a crafted link, according to the record.
- The credential flaw lets a revoked administrator password keep working on peer webserver nodes, per the record.
- The records do not say any of these flaws is known to be exploited.
- Fixed versions are 1.3.36, 1.3.41 and 2.0.0 respectively; no workaround is stated.
What the batch contains
The three records cover different weakness types in the same product. CVE-2026-138119 is a reflected cross-site scripting (XSS) flaw in Kestra before 1.3.36. An unauthenticated attacker can inject HTML through the sort parameter of the executions page. The invalid value is rendered unsanitized in an error toast, so a logged-in user who opens a crafted link can have JavaScript run. According to the record, the attacker can then steal the BASICAUTH credential cookie, which is not marked HttpOnly, and take over the instance.
CVE-2026-138121 is rated HIGH (CVSS 7.5) and affects Kestra 1.3.24 before 1.3.41. It is an insufficient credential expiration problem. A holder of a revoked administrator password can keep authenticating on peer webserver nodes through a process-local verified-token cache in BasicAuthService. The record says such an attacker can call POST /api/v1/{tenant}/basicAuth to overwrite the shared administrator credentials and lock out the legitimate administrator.
CVE-2026-138120 is rated MEDIUM (CVSS 6.9) and affects Kestra 1.3.24 before 2.0.0. A timing side-channel in BasicAuthService.isAuthenticated() lets unauthenticated attackers send Basic-auth requests with candidate usernames and measure bcrypt response times. A slower check suggests a valid account, which can then be targeted for password guessing.
Which issues matter most
CVE-2026-138119 and CVE-2026-138121 carry the highest scores in the batch. The XSS flaw needs a victim to click a link, while the credential flaw is described as a way for a revoked password to keep working on other nodes.
Exploitation and workarounds
None of the three records says the flaws are known to be exploited. The records do not state a workaround or detection method.
Actions
The fixed versions are named in the records: 1.3.36 for CVE-2026-138119, 1.3.41 for CVE-2026-138121, and 2.0.0 for CVE-2026-138120. Moving to 2.0.0 or later is the only version that all three records name as fixed.
What to do
- Upgrade Kestra to 2.0.0 or later, which is the fixed version named for CVE-2026-138120 and is later than the fixes named for the other two.
- If you cannot upgrade yet, note that the records name 1.3.36 as the fix for CVE-2026-138119 and 1.3.41 for CVE-2026-138121; no interim workaround is given in the sources.
The 3 vulnerabilities
- CVE-2026-138119 8.7 Kestra Before 1.3.36 Contains Reflected XSS Vulnerability
- CVE-2026-138121 7.5 Kestra 1.3.24 before 1.3.41: Insufficient Credential Expiration via Basic Auth Token Cache
- CVE-2026-138120 6.9 Kestra 1.3.24 before 2.0.0 contains a timing side-channel vulnerability in BasicAuthService.isAuthenticated() that allows unauthenticated attackers to enumerate the administrator username. Attackers can send Basic-auth requests with candid…
Frequently asked questions
How many Kestra vulnerabilities were published on November 28, 2026?
3 vulnerabilities: 2 high, 1 medium, with CVSS scores up to 8.7.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-138119 (CVSS 8.7): Kestra Before 1.3.36 Contains Reflected XSS Vulnerability.