Skip to main content
3 CVEs HIGH CVSS 8.7

Kestra Authentication and XSS Vulnerabilities

2026-11-28

CVE-2026-138119 HIGH PATCH

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).

8.7
CVSS
0.7%
EPSS
CVE-2026-138121 HIGH PATCH

Kestra 1.3.24 through 1.3.40 can keep honoring a revoked administrator Basic-auth password on peer webserver nodes in a high-availability deployment, because each node caches the last verified token in a process-local AtomicReference rather than re-checking the password against the shared settings database. An attacker who is a former administrator - authenticated (PR:H) and previously warmed the cache on a peer node - can reuse the stale credential to call POST /api/v1/{tenant}/basicAuth on that node and overwrite the centrally stored administrator credentials, locking out the legitimate operator across the cluster. The CVSS 4.0 base score is 7.5 (High) with AC:H and AT:P reflecting the multi-node, prior-credential prerequisites; a public proof-of-concept reproduction script accompanies the upstream GHSA advisory, and no active exploitation is confirmed (not in CISA KEV).

7.5
CVSS
0.7%
EPSS
CVE-2026-138120 MEDIUM PATCH

Username enumeration in Kestra 1.3.24 through 1.3.x (fixed in 2.0.0) lets unauthenticated remote attackers discover the configured administrator username by measuring response times against Basic-auth-protected API endpoints. Because password verification is skipped entirely when the submitted username does not match, a valid username costs a full bcrypt comparison while an invalid one returns almost immediately; the published proof-of-concept script in the GitHub advisory measured roughly 0.34 s versus 0.005 s, a timing ratio near 36×. Exposure is limited to deployments that have Kestra's HTTP Basic authentication enabled and reachable, the flaw discloses only the account name (not a password or session) and still requires a separate password-guessing step, and there is no CISA KEV listing or other evidence of active exploitation at time of analysis, consistent with a moderate-priority, this-month remediation timeline.

6.9
CVSS
0.4%
EPSS

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