Kestra reflected XSS in executions page sort parameter
Affects Kestra versions before 1.3.36 that store Basic-auth credentials in a JavaScript-readable BASIC_AUTH cookie. Fixed in 1.3.36.
- Exploited
- No known exploitation
- Fix
- Fixed in 1.3.36
- Who is exposed
- Specific setups only
Summary
Kestra, the workflow orchestration product, has a reflected cross-site scripting flaw in its executions page sort parameter. A remote attacker who is not logged in can lure a logged-in user to a crafted link, run JavaScript in that user's browser, and steal the session credential cookie to take over the instance.
Written by a model
Original description
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.
Who should check
Teams running Kestra OSS before 1.3.36 (Maven io.kestra:kestra) with Basic auth login, where logged-in users open links to the executions page.
“Affecting Kestra < 1.3.36”
What to do
Check whether your setup matches what the bug needs.
Kestra versions before 1.3.36 that store the Basic-auth credentials in a JavaScript-readable BASIC_AUTH cookie The victim is logged in to Kestra while opening the crafted linkUpgrade to a fixed version: 1.3.36.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-138119 (Kestra before 1.3.36 Reflected XSS via Executions Page Sort Parameter), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-138119 (entry last updated 2026-11-28):
Affected:
- Maven package io.kestra:kestra: fixed in 1.3.36
Fixed versions: 1.3.36.
Conditions (all must be true for the bug to be hit):
- Kestra versions before 1.3.36 that store the Basic-auth credentials in a JavaScript-readable BASIC_AUTH cookie (source: https://github.com/kestra-io/kestra/security/advisories/GHSA-j26h-55cv-c7pm)
- The victim is logged in to Kestra while opening the crafted link (source: https://github.com/kestra-io/kestra/security/advisories/GHSA-j26h-55cv-c7pm)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, a user action.
CISA KEV: CVE-2026-138119 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-138119 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (Maven): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/kestra-io/kestra/security/advisories/GHSA-j26h-55cv-c7pm
- https://github.com/kestra-io/kestra/commit/6443b7f490b123316e7a57d94e31a16a5227aa4d
- https://github.com/kestra-io/kestra/commit/d91338290187bf3634fd23ce65282cb3c048a4dd
- https://github.com/kestra-io/kestra/releases/tag/v1.3.36
- https://github.com/kestra-io/kestra/blob/v1.3.35/ui/src/components/ErrorToastContainer.vue#L64-L68
- https://github.com/kestra-io/kestra/blob/v1.3.35/webserver/src/main/java/io/kestra/webserver/utils/PageableUtils.java#L50-L54
- https://www.vulncheck.com/advisories/kestra-before-1.3.36-reflected-xss-via-executions-page-sort-parameter
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-138119
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-138119"}.Affected versions
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure12/25Specific setups only, reachable over the network without a login
- Reach10/20Affects Maven packages
- Severity8.7/10CVSS 8.7
- No patch0/5No signal
What would change the score
- Would score about 81 if added to CISA KEV
- Would score about 76 if CISA's SSVC rates exploitation active
Timeline
- CVE published
- First seen by cve.now
Evidence 9
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · kestra-io/kestra · Advisory GHSA-j26h-55cv-c7pm |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-138119 |
| Record | NVD · CVE-2026-138119 |
| Other links 6 | |
| Patch | GitHub · kestra-io/kestra · Commit 6443b7f4 |
| Patch | GitHub · kestra-io/kestra · Commit d9133829 |
| Repository | GitHub · kestra-io/kestra · Release v1.3.36 |
| Repository | GitHub · kestra-io/kestra · ui/src/components/ErrorToastContainer.vue · L64-L68 |
| Repository | GitHub · kestra-io/kestra · webserver/src/main/java/io/kestra/webserver/utils/PageableUtils.java · L50-L54 |
| Link | vulncheck.com · advisories/kestra-before-1.3.36-reflected-xss-via-executions-page-sort-parameter |
Questions about CVE-2026-138119
Is CVE-2026-138119 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The Executions page sort parameter is reflected into the page, so a crafted link can make a logged-in user's browser run attacker JavaScript. That script can read the Base64-encoded Basic-auth credentials from the BASIC_AUTH cookie and reuse them to access protected data, change flows and configuration, and perform administrator actions.
Source: github.com
Which versions are affected by CVE-2026-138119?
io.kestra:kestra (Maven): before 1.3.36.
Source: cve.now feed data
Am I affected, and how do I check?
Kestra versions before 1.3.36 that store the Basic-auth credentials in a JavaScript-readable BASIC_AUTH cookie. Check the installed Kestra version against 1.3.36, and check whether the instance uses Basic-auth so that the BASIC_AUTH cookie is set.
Source: github.com
How do I fix CVE-2026-138119?
Upgrade Kestra to 1.3.36 or later, the fixed version listed for this vulnerability.
Source: github.com
Related
- CVE-2026-55839Kestra: Stored XSS via custom Markdown [[link]] attribute injection
- CVE-2026-138121Kestra 1.3.24 before 1.3.41 Insufficient Credential Expiration via Basic-Auth Token Cache
- CVE-2026-138120Kestra 1.3.24 before 2.0.0 Username Enumeration via Basic-Auth Timing
- CVE-2026-73245Kestra: Unauthenticated management/actuator endpoints exposed on port 8081 (/env, /loggers) bypass API basic-auth
- CVE-2026-122263Kestra: Content-Disposition filename parameter injection through unvalidated `namespace` path segment in namespace-files export endpoint
- CVE-2026-131776WordPress LiteSpeed Cache plugin <= 7.9.3 - Cross Site Scripting (XSS) vulnerability
No corrections so far. Something wrong on this page? Report an error.