Kestra flaw lets attackers steal an admin's login with one click — update now
CVE-2026-138119, published 28 November and scored 8.8 out of 10, lets an attacker steal a logged-in Kestra admin's login with one crafted link. Versions before 1.3.36 are affected — update to 1.3.36 or newer.
Affects
- Kestra
Tracked as
CVE-2026-138119Kestra · CVSS 8.8
A single link can hand a stranger the keys to a Kestra server. The flaw, published on 28 November as CVE-2026-138119, turns an ordinary page of Kestra’s web interface into a trap: a logged-in admin who clicks a doctored link runs the attacker’s script inside their own browser, and that script can read the login cookie Kestra stores there. With those credentials, the attacker can walk in as the admin. The fix has existed since 1 September in version 1.3.36, but the public security record only appeared now — so any team still running an older version should check today.

What happened
Kestra is open-source software that runs data, AI and infrastructure workflows: scheduled jobs, pipelines and automated tasks, often with access to cloud accounts and databases. The problem sits on its executions page, which lists past and running workflow runs. That page takes a sort value from the address bar, and an invalid value is rejected with an error that carries the value back, unsanitised.
The web interface then shows that error in a small pop-up message — and renders it as HTML instead of plain text. So markup hidden in the link executes as code in the victim’s browser, the classic shape of a reflected cross-site scripting flaw. Building the link needs no login at all; anyone can send one. It only needs a logged-in admin to click it.
What turns this from a script flaw into a full takeover is where Kestra keeps the login. With Basic Auth switched on, the login is stored, encoded in Base64, in a cookie that JavaScript can read — it is not marked HttpOnly, the flag that would keep scripts away from it. The researcher who reported the flaw, Apostolos Sakellariou, showed the whole chain works: a test page read the cookie, and the captured value opened an authenticated Kestra API call.
How severe is the flaw
The numbers
| score out of 10 | Severity score |
|---|---|
| CVSS 3.1 | 8.8 |
| CVSS 4.0 | 8.7 |
Kestra confirmed the fix in the 1.3.36 release notes, which name the advisory and the researcher. The flaw is scored 8.8 out of 10 under CVSS 3.1 and 8.7 under CVSS 4.0, and is listed as CWE-79, cross-site scripting.
What this means for you
Only Kestra before 1.3.36 is affected. If an instance runs 1.3.36 or newer — the 1.3 line is now at 1.3.49, and the 2.x line at 2.0.13 — this flaw does not touch it. Anything older, including 1.3.30 and 1.3.35, is open to it.
An orchestration server is a valuable target. It runs workflows that often carry cloud credentials, database logins and API keys, and it can trigger jobs across other systems. An attacker with admin access can read those secrets, change flows, start new executions and alter settings — damage that reaches well beyond the Kestra server itself.
Ordinary users of a Kestra instance are not the target here: the link has to be clicked by somebody logged in as an admin. But anyone who administers a Kestra server, or works on a team that does, should pass this on.
What to do
- Find the version the Kestra instance runs and compare it with 1.3.36. Anything below that is affected.
- Update to 1.3.36 or newer — the current 1.3 release is 1.3.49, or move to the 2.x line, now at 2.0.13. The 1.3.36 release page lists the fix.
- If the instance uses Basic Auth, treat any suspicious Kestra link clicked by an admin as a possible credential theft: change the admin credentials in the Kestra configuration, and change any other credentials the instance stores that an admin could reach.
- Look over recent executions and flow changes for anything nobody on the team recognises, and remove or revert it.
Sources
- Reflected XSS leading to Account TakeoverGitHub Security Advisory
- CVE-2026-138119 DetailNIST National Vulnerability Database
- Release v1.3.36Kestra
- Kestra before 1.3.36 Reflected XSS via Executions Page Sort ParameterVulnCheck


