Skip to main content

Kestra EUVDEUVD-2026-137532

| CVE-2026-138119 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-28 VulnCheck GHSA-3f8c-9f35-p7hr
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft executions URL with malicious sort payload
  2. Delivery
    Lure logged-in admin to click link
  3. Exploit
    Invalid sort reflected unsanitized in error toast
  4. Execution
    onerror script steals non-HttpOnly BASIC_AUTH cookie
  5. Impact
    Replay Basic-auth credential for admin takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) the Kestra instance to be running BASIC_AUTH mode so that the JavaScript-readable, non-HttpOnly credential cookie actually exists to be stolen - this is the credential whose theft enables takeover; (2) a currently logged-in administrator (or privileged user) to click the attacker's crafted executions-page link, i.e. the UI:P/victim-interaction requirement; and (3) a Kestra OSS version before 1.3.36 where route.query.sort flows into the executions page and the invalid value is reflected into a 422 error that is rendered as raw HTML (markdown with HTML enabled) via v-html in the error toast. No authentication is required of the attacker (PR:N). Limiting factors for defenders: the single required victim click, the dependence on BASIC_AUTH being enabled (deployments using other auth may not expose a stealable reusable credential cookie), and the version ceiling of 1.3.36.

Impact

This is a genuine priority, not a high-CVSS-but-low-risk issue, though urgency is tempered by its reliance on user interaction and a specific deployment mode. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, VC/VI/VA:H) describes an unauthenticated, network-reachable, low-complexity reflected XSS whose only gating factor is a victim click (UI:P). The decision signals point to elevated but not emergency handling: vuln.today assigns a 'this_week' priority, the flaw is NOT in CISA KEV (so not confirmed actively exploited), and no EPSS score was supplied, so widespread automated exploitation cannot be inferred from the data. Working against that, a detailed public PoC exists in the vendor GHSA advisory demonstrating full cookie theft and administrator account takeover, which raises real-world feasibility well above a theoretical reflected XSS. The high VC/VI/VA rating is justified by the outcome: the stolen BASIC_AUTH cookie is a reusable credential that yields full admin control, not merely script execution in one session. Key missing signals: no EPSS probability and no KEV listing, so the 'this_week' label rather than 'act_now'/'emergency' is the operative urgency cue. Net: patch within the vendor-indicated week; the PoC plus trivial exploitation complexity make exploitation realistic, while the required victim click and dependence on BASIC_AUTH mode keep it targeted rather than mass-automatable on current evidence.

Exploit ScenarioDerived

An unauthenticated attacker crafts a Kestra executions-page URL with a malicious 'sort' value containing an HTML img/onerror payload and lures a logged-in administrator to click it (UI:P). Because the invalid sort value is reflected into a 422 error and rendered as raw HTML in the error toast, the payload executes in the admin's browser and exfiltrates the JavaScript-readable (non-HttpOnly) BASIC_AUTH credential cookie to an attacker listener. A working PoC in the vendor GHSA advisory confirms the stolen Base64 Basic-auth value can be replayed in the Authorization header to obtain 200 OK from authenticated API endpoints, achieving administrator takeover.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 28, 2026

Reflected cross-site scripting in the Kestra UI (OSS versions before 1.3.36) lets an unauthenticated attacker inject HTML through the executions page sort query parameter, whose invalid value is echoed unsanitized into a 422 error toast that the frontend renders as raw HTML, executing JavaScript in a logged-in user's session. With one victim click, the injected script can read Kestra's Base64-encoded, non-HttpOnly BASIC_AUTH credential cookie and send it to an attacker-controlled host, enabling full administrator takeover of the instance. The vendor fixed the issue in 1.3.36, and the advisory includes a public PoC reference that is not verified here as working exploit code; exploitation depends on a BASIC_AUTH-mode deployment and the required victim interaction, which is why the assessed vector carries UI:R while the attacker needs no credentials (PR:N).

RemediationAI

Upgrade to Kestra 1.3.36, which is the vendor-released fix (release: https://github.com/kestra-io/kestra/releases/tag/v1.3.36), incorporating the Markdown/HTML sanitization added in commits 6443b7f490b123316e7a57d94e31a16a5227aa4d and d91338290187bf3634fd23ce65282cb3c048a4dd as described in GHSA-j26h-55cv-c7pm. Prioritize this week given the assessed decision label; upgrade any instance older than 1.3.36 whose users hold administrative privileges. Because the takeover step depends on the attacker reading the Base64-encoded BASIC_AUTH cookie, which the advisory notes lacks the HttpOnly flag, deployments that do not require BASIC_AUTH mode can reduce exposure by using an alternative authentication front end rather than BASIC_AUTH, accepting the trade-off of changing how users sign in and how API clients authenticate; note that this does not remove the underlying reflected XSS, which is only fully corrected by the 1.3.36 sanitization. Until upgraded, the practical constraint defenders should communicate is that a successful attack needs a logged-in privileged user to open the crafted executions-page URL, so treat unsolicited links containing a sort query parameter as hostile, though the vendor's complete fix is the 1.3.36 upgrade rather than any configuration change.

Affected VersionsENISA

kestra 0 <1.3.36

Affected Packages

euvd kestra fix: 1.3.36

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-79 (improper neutralization of user-controlled input during web page generation), manifesting across a chain of components in the Kestra UI and webserver. The executions page reads route.query.sort without validation; when the value is not a valid sort field, webserver/src/main/java/io/kestra/webserver/utils/PageableUtils.java reflects it into a 422 response, which ErrorController.java returns and the frontend axios error interceptor (ui/src/utils/axios.ts) forwards to the global notification store. That error is processed as Markdown with raw HTML enabled (ui/src/utils/markdown.ts, Markdown.vue) and inserted with v-html in ErrorToastContainer.vue, so an <img src=x onerror=...> payload runs in the viewer's origin. The final link in the chain is credential handling: BasicAuthLogin.vue stores the Base64-encoded Basic-auth credentials in a JavaScript-readable cookie without the HttpOnly flag, so any XSS in the UI can exfiltrate a reusable administrator secret. The upstream fix in commit 6443b7f introduces the xss library and a sanitizeHtml wrapper applied to every md.render result, enforcing a tag/attribute whitelist, stripping script/style bodies, re-validating href/src schemes after entity decoding (blocking &#106;avascript: style bypasses), and restricting iframes to YouTube hosts, with unit tests covering event-handler stripping, javascript: hrefs, script tags, iframe allowlisting and data/aria attribute preservation. A second commit (d913382) is referenced alongside it, and the vulnerable code locations are pinned to the v1.3.35 tree.

Know when Kestra gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.6 CRITICAL

Unauthenticated network reflected XSS (PR:N, AC:L) needing a victim click (UI:R); script crosses into the admin's authenticated session (S:C) and stolen reusable Basic-auth creds yield full admin control (C/I/A:H).

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Kestra before 1.3.36 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to execute JavaScript by injecting HTML into the executions page sort parameter. Attackers can lure logged-in users to a crafted link whose invalid sort value is rendered unsanitized in an error toast, stealing the non-HttpOnly BASIC_AUTH credential cookie to take over the instance.

Technical POC Analysis

CWE-79 (reflected XSS), chained with a credential-exposure weakness: the Kestra BASICAUTH cookie is set without HttpOnly (ui/src/components/basicauth/BasicAuthLogin.vue:163-166), so any script runnin…

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Kestra OSS versions prior to 1.3.36 contain a reflected cross-site scripting flaw in the executions page sorting parameter that allows an unauthenticated attacker to hijack an administrator's session and gain full control of the instance. Because the exploit requires only a single click by a logged-in user and the affected credential cookie is not HttpOnly, any organization running the vulnerable versions in BASIC_AUTH mode faces a credible path to complete compromise of its Kestra deployment and the sensitive workflow data it orchestrates.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 54% exploitable
Prevalence
Low
open-source data/workflow orchestration platform, niche data-engineering adoption, no mass enterprise footprint
Social Media
4
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Related Vulnerabilities in Kestra Authentication and XSS Vulnerabilities

View all 3

More in Kestra

View all
CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-53576 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution in Kestra orchestration platform before 1.0.45 and 1.3.21 lets anonymous attackers

CVE-2026-55839 HIGH POC
8.7 Aug 18

Stored cross-site scripting in Kestra's custom Markdown renderer (versions before 1.3.24) allows any authenticated user

CVE-2026-29082 HIGH POC
7.3 Mar 06

Kestra versions 1.1.10 and earlier allow authenticated users to perform cross-site scripting (XSS) attacks through the e

CVE-2026-34612 CRITICAL
9.0 Apr 03

SQL injection in Kestra orchestration platform's flow search endpoint (GET /api/v1/main/flows/search) enables remote cod

CVE-2026-55069 HIGH
8.7 Jun 26

Offline administrator password recovery in Kestra OSS (versions prior to 1.3.24) stems from its BasicAuth component stor

CVE-2026-45807 HIGH
7.7 Jun 26

Arbitrary file read in Kestra orchestration platform (versions prior to 1.0.43 and 1.3.19) lets an authenticated user wi

CVE-2026-49984 HIGH
7.7 Jun 26

Authenticated path traversal in Kestra's local internal-storage backend (versions prior to 1.0.45 and 1.3.23) lets any l

CVE-2026-33664 HIGH
7.3 Mar 26

Cross-site scripting in Kestra orchestration platform versions up to 1.3.3 enables authenticated flow authors to inject

CVE-2026-48129 MEDIUM
6.5 Jun 19

Path traversal in Kestra's `inputFiles` task mechanism allows remote attackers to write arbitrary files to the worker fi

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy