Skip to main content

Kestra CVE-2026-138120

| EUVDEUVD-2026-137531 MEDIUM
Observable Timing Discrepancy (CWE-208)
2026-11-28 VulnCheck GHSA-vcvv-9cv9-c963
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Send Basic-auth requests to protected API
  2. Exploit
    Measure bcrypt response timing differences
  3. Execution
    Identify valid administrator username
  4. Impact
    Mount targeted password-guessing attack

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication Timing attack prevention
Exploitation Conditions

Exploitation requires Kestra's HTTP Basic authentication to be enabled and configured (the timing oracle lives in BasicAuthService.isAuthenticated() / the Basic-auth-protected endpoints filter), and the attacker must be able to reach a Basic-auth-protected API endpoint over the network. No credentials, user interaction, or special privileges are needed (PR:N/UI:N), and default behavior in affected versions 1.3.24 through before 2.0.0 is vulnerable where Basic auth is in use. Limiting factors: the flaw only discloses the valid administrator username, not any password or session - it is a precursor that still requires a separate successful password-guessing step; the attacker must issue enough requests to distinguish the timing signal (the advisory PoC uses ~130 requests, though the measured ~36× difference is large and easily separable); and instances that do not use Kestra Basic auth are not exposed via this path.

Impact

This is a real but low-to-moderate priority issue, not a high-impact emergency. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L, score 6.9) correctly captures a remote, unauthenticated, low-complexity attack whose only impact is a low confidentiality leak (VC:L) - specifically enumeration of the administrator username, with no integrity or availability impact (VI:N/VA:N) and no scope change. The vulnerability itself does not grant access; it only reduces the unknowns for a follow-on password-guessing attack, so its danger is strictly as a precursor. No EPSS score was supplied and the CVE is not listed in CISA KEV, so there is no signal of active or widespread exploitation; the vuln.today decision label is 'this_month' (routine patching), not act_now or emergency. A public PoC reference exists in the GHSA advisory (a bash script plus demonstration output showing a ~36× timing ratio between a valid and invalid username); it is not marked in the input as confirmed working exploit code, but it does demonstrate the oracle is trivially observable rather than a marginal statistical effect. EPSS is absent (not an error), so probabilistic exploitation likelihood cannot be quantified from the data. Net: treat as a defense-in-depth/credential-hardening fix within normal monthly cycles, weighted up only if the Kestra admin account is otherwise exposed to online password guessing.

Exploit ScenarioDerived

An unauthenticated attacker sends HTTP Basic-auth requests with candidate usernames and a random wrong password to a protected Kestra API endpoint (e.g. /api/v1/pebble/functions) and times the responses; a correct username triggers the expensive bcrypt check and responds dramatically slower (the advisory PoC shows ~0.32s vs ~0.005s, a ~36× difference), revealing the valid administrator account. The attacker then focuses an online or offline-informed password-guessing campaign on that confirmed username. A public PoC reference (shell script with demonstrated output) is included in the vendor security advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 28, 2026

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.

RemediationAI

Vendor-released patch: Kestra 2.0.0. Upgrade any instance running 1.3.24 through 1.3.x to 2.0.0, which contains commit f08b4a08b631cfb244d48c1caed6131fd415797d replacing the short-circuiting credential checks in BasicAuthService and BasicAuthEndpointsFilter with AuthUtils.constantTimeEquals() and non-short-circuiting comparison; details are in advisory GHSA-38rc-2jxj-2h75 and the release notes at https://github.com/kestra-io/kestra/releases/tag/v2.0.0. If the upgrade cannot be applied immediately, note that instances which do not use Kestra's HTTP Basic authentication are not exposed through this path, so deployments relying on other authentication mechanisms are unaffected by this specific oracle; where Basic auth is required, restricting network reachability of Basic-auth-protected API endpoints reduces the sample volume an attacker needs to distinguish the roughly 36× timing signal (the PoC issues around 130 requests across a shuffled candidate list), at the cost of limiting legitimate API access from untrusted networks. No other compensating control is documented by the vendor, and the authoritative fix is upgrading to 2.0.0.

Affected VersionsENISA

kestra 1.3.24 <2.0.0

Affected Packages

euvd kestra fix: 2.0.0

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-208 (Observable Timing Discrepancy). In BasicAuthService.isAuthenticated() and validateCredentials(), credentials were checked with Java short-circuit evaluation: username.equals(credentials.getUsername()) && AuthUtils.matches(credentials.getSalt(), password, credentials.getPassword()). When the username does not match, the && short-circuits and the expensive bcrypt hash comparison in AuthUtils.matches() never executes, so a wrong username returns in single-digit milliseconds while a correct username with a wrong password pays the full bcrypt cost - a large and easily separable timing oracle. A parallel instance of the same anti-pattern existed in BasicAuthEndpointsFilter.validateUser(), which compared the configured endpoint Basic-auth username and password with equals() joined by &&. Only successful token checks were cached, so every failure reached the vulnerable comparison path. The upstream fix (commit f08b4a08b631cfb244d48c1caed6131fd415797d) introduces AuthUtils.constantTimeEquals(), which compares SHA-256 digests of both operands via MessageDigest.isEqual so that neither content nor length differences short-circuit, and replaces the && chains with non-short-circuiting & so that both username and password comparisons always execute; the code comment notes that every failure now pays the full bcrypt cost. The vulnerable logic is visible in the v1.3.49 source referenced by the advisory, and the fix shipped in the 2.0.0 release.

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 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Remote unauthenticated timing oracle with a large, easily measured difference (AC:L), leaking only the admin username, so low confidentiality impact and no integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/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
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Kestra 1.3.24 before 2.0.0 contains a timing side-channel vulnerability in BasicAuthService.isAuthenticated() that allows unauthenticated attackers to enumerate the administrator username. Attackers can send Basic-auth requests with candidate usernames to protected API endpoints and detect slower bcrypt checks to identify the valid account for password guessing.

Threat Intelligence Overview

EPSS Score
0.4%
Top 75% exploitable
Prevalence
Medium
open-source workflow orchestration platform, moderately adopted, not ubiquitous infrastructure
Social Media
1
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Yes
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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