# CVE-2026-138120: Kestra 1.3.24 before 2.0.0 Username Enumeration via Basic-Auth Timing

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **CWE:** CWE-208
- **Published:** 2026-11-28T01:43:06.130Z
- **Modified:** 2026-11-28T02:17:33.830Z

> **AI summary (AI-generated, claude-haiku-5-5):** An unauthenticated attacker can enumerate the administrator username in Kestra via response timing differences in Basic-auth checks, aiding password guessing.

## Who should check

- Anyone running Kestra \>= 1.3.24, \< 2.0.0

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

## Affected and fixed versions

- Kestra: \>= 1.3.24, \< 2.0.0 (cvelist)

## Mitigation

- Upgrade Kestra to 2.0.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-138120. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-138120.md
Affected: Kestra >= 1.3.24, < 2.0.0
Fixed in: Kestra 2.0.0

Steps:
1. Search this machine and project for Kestra: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-138120 being exploited?

There is no confirmed exploitation: CVE-2026-138120 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-138120?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-138120?

Kestra \>= 1.3.24, \< 2.0.0.

### Is there a fix for CVE-2026-138120?

Yes. Fixed in Kestra 2.0.0. Upgrade Kestra to 2.0.0 or later.

### How do I check if I'm affected by CVE-2026-138120?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/kestra-io/kestra/security/advisories/GHSA-38rc-2jxj-2h75>
- patch: <https://github.com/kestra-io/kestra/commit/f08b4a08b631cfb244d48c1caed6131fd415797d>
- article: <https://github.com/kestra-io/kestra/blob/v1.3.49/webserver/src/main/java/io/kestra/webserver/services/BasicAuthService.java#L298-L299>
- other: <https://github.com/kestra-io/kestra/releases/tag/v2.0.0>
- other: <https://www.vulncheck.com/advisories/kestra-1.3.24-before-2.0.0-username-enumeration-via-basic-auth-timing>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-138120>

HTML: <https://flawdb.com/CVE-2026-138120> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-138120>
