CVE-2026-138120

Kestra 1.3.24 before 2.0.0 Username Enumeration via Basic-Auth Timing

Published Nov 28, 2026 CVSS 4.0 · 6.9 Medium EPSS n/a KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Kestra versions 1.3.24 up to 2.0.0 contain a timing side‑channel flaw in the BasicAuthService.isAuthenticated() routine. The flaw enables an unauthenticated attacker to send HTTP Basic‑Auth requests with different usernames to protected API endpoints and infer the existence of the administrator account by measuring the slightly longer bcrypt hash checks performed on valid usernames. This disclosure permits enumeration of the admin username, which is a prerequisite for password‑guessing or credential‑stuffing attacks and increases the success probability of subsequent compromise attempts. The weakness is categorized as CWE‑208, a timing side‑channel vulnerability.

Affected Systems

The exposure applies to Kestra deployments using any version before 2.0.0. Affected versions include 1.3.24 and all subsequent releases up to but not including 2.0.0. Early 2.0.x releases are not affected. Users should verify their patch level and upgrade if necessary.

Risk and Exploitability

The CVSS base score of 6.9 indicates a medium severity risk. Because the vulnerability does not require authentication, any internet‑reachable or internal host that exposes Kestra API endpoints is a target. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting that exploit data in the wild may be limited. Nonetheless, the attack surface is large in environments that expose basic authentication over untrusted networks, making timely remediation advisable. No known public exploit code exists, but the side‑channel provides a low‑effort technique for enumerating the username.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Kestra to version 2.0.0 or later, which eliminates the timing side‑channel in BasicAuthService.isAuthenticated().
  • If an upgrade is not immediately possible, restrict access to the Kestra API endpoints using network segmentation or firewall rules so that only trusted hosts can attempt authentication.
  • Apply rate‑limiting or throttling to Basic‑Auth requests on API endpoints to reduce the advantage gained from timing differences.

Generated by OpenCVE AI on November 28, 2026 at 02:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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.
Title Kestra 1.3.24 before 2.0.0 Username Enumeration via Basic-Auth Timing
First Time appeared Kestra
Kestra kestra
Weaknesses CWE-208
CPEs cpe:2.3:a:kestra:kestra:*:*:*:*:*:*:*:*
Vendors & Products Kestra
Kestra kestra
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 6.9, 'vector': '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'}

Weaknesses
  • CWE-208

    Observable Timing Discrepancy

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 28, 2026, 1:43 AM
Reserved
Nov 27, 2026, 11:50 PM
Status
Deferred
Published
Nov 28, 2026, 2:17 AM
Modified
Nov 28, 2026, 2:17 AM