Keyrook

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.

The Kestra logo and its tagline, One Platform to Run All Your Workflows
Image: Kestra

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

02.557.510CVSS 3.1CVSS 4.08.88.7 02.557.510CVSS 3.1CVSS 4.08.88.7
Source: NIST National Vulnerability Database · in score out of 10
The numbers
score out of 10Severity score
CVSS 3.18.8
CVSS 4.08.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

  1. Find the version the Kestra instance runs and compare it with 1.3.36. Anything below that is affected.
  2. 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.
  3. 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.
  4. Look over recent executions and flow changes for anything nobody on the team recognises, and remove or revert it.

Sources

  1. Reflected XSS leading to Account TakeoverGitHub Security Advisory
  2. CVE-2026-138119 DetailNIST National Vulnerability Database
  3. Release v1.3.36Kestra
  4. Kestra before 1.3.36 Reflected XSS via Executions Page Sort ParameterVulnCheck

More news

All the news
  1. Patch Notes3 min

    D-Link DIR-629 has three flaws, two scoring 9.9 — and no fix is coming

    Three flaws in D-Link's DIR-629 router, published 29 November 2026, score up to 9.9 — and the router reached end of life in 2016, so no fix is coming. Owners should replace it.

    • D-Link DIR-629
  2. Patch Notes5 min

    Etherpad flaw now exploited in the wild — upgrade and rotate every secret

    VulnCheck listed Etherpad flaw CVE-2026-114516 as exploited on 29 November 2026. Servers below version 3.3.3 must upgrade to 3.3.22 and rotate every secret.

    • Etherpad
  3. Patch Notes4 min

    D-Link R15 flaw lets attackers run commands as root with no login

    NVD published CVE-2026-138165 on 29 November 2026, scoring the D-Link R15 command-injection flaw 10.0. It needs no login, exploit code is public, and D-Link has announced no fix yet.

    • D-Link