Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain valid Kestra admin credentials
-
DeliveryAuthenticate to peer node B, warming process-local token cache
-
ExploitLegitimate admin rotates password via node A
-
InstallRevoked credential still accepted by node B cache
-
C2POST attacker-chosen password to /api/v1/{tenant}/basicAuth on node B
-
ExecuteAttacker password persisted to shared settings database
-
ImpactLegitimate admin locked out cluster-wide across all nodes
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
|
| Exploitation Conditions | Exploitation requires all four of the following conditions to hold simultaneously: (1) A Kestra HA deployment with at least two webserver nodes sharing the same settings database - single-node deployments are not vulnerable because there is no peer-node cache divergence; (2) Basic authentication must be explicitly enabled, as it is a configured feature of Kestra's OSS deployment mode and is not the default authentication mechanism in cloud or enterprise tiers; (3) the attacker must have previously possessed a valid administrator credential and made at least one authenticated request through the target peer node before the legitimate administrator rotates the password, so that the peer node's process-local AtomicReference cache holds the now-revoked token hash; (4) the attacker must retain network access to any peer node's API endpoint after the password rotation event. The flaw does not allow external unauthenticated attackers to exploit it; the attacker must have been a former administrator of the cluster. The exploit window on a given peer node persists until the node is restarted or its process-local cache is otherwise cleared - the fix addresses this by binding the cache entry to a credentials fingerprint derived from the shared database on every cache hit. |
| Impact | The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:H/UI:N) yields a score of 7.5 (High). Real-world risk is meaningfully bounded by the attack prerequisites: PR:H confirms the attacker must have previously held valid administrator credentials, and AC:H combined with AT:P reflects the HA-specific cache state that must be in place before password rotation occurs - single-node deployments are entirely unaffected. These constraints make this a targeted insider or post-compromise scenario rather than a broadly exploitable flaw. The decision label of 'this_week' aligns with this read: a genuine, impactful vulnerability in affected deployments but not an emergency requiring immediate out-of-band response. No CISA KEV listing is present and no EPSS score was supplied, so exploitation breadth cannot be quantified from available signals. However, a complete, plug-and-play bash PoC demonstrating the full end-to-end Docker-based attack chain was published in the GHSA advisory (GHSA-94pv-f379-3gp3), substantially lowering the barrier to exploitation for anyone who previously held admin access. The 'Information Disclosure' tag in the input does not match the actual impact - this is an authentication persistence and credential takeover vulnerability, not an information disclosure issue. |
| Exploit ScenarioDerived | An attacker who previously held valid Kestra administrator credentials authenticates through peer node B in a multi-node HA cluster, warming the process-local BasicAuthService token cache on that node. After the legitimate administrator rotates the password on node A, the revoked token remains accepted by node B due to the stale per-process cache, which had no cross-node invalidation mechanism. The attacker then calls POST /api/v1/{tenant}/basicAuth through node B - still accepted due to the cached token - to replace the centrally stored administrator password in the shared database, locking out the legitimate administrator across the entire cluster with persistence that survives node restarts. A complete, functional bash PoC script was published in the GHSA advisory and confirmed this full attack chain against Kestra v1.3.30. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 28, 2026
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).
RemediationAI
Vendor-released patch: upgrade to Kestra 1.3.41 or 2.0.0 (both branches are fixed per the advisory GHSA-94pv-f379-3gp3; the code changes are in commits 16fa03d159270624bf3059f3ea79b1e7d7edfc1a and ec11cfe89464aa8d4321219721d57c5d828b7571). After upgrading, the Basic-auth change endpoint POST /api/v1/{tenant}/basicAuth requires a correct currentPassword whenever credentials already exist, and cache entries are bound to a credentials fingerprint so a rotation on any node takes effect on peers' next request; API clients or automation that previously sent only username and password to that endpoint must be updated to include currentPassword or they will receive a validation error. For deployments that cannot upgrade immediately, the exposure window described by the assessed conditions lasts until a peer node is restarted or its process-local verified-token cache is otherwise cleared, so restarting every webserver node after any administrator password rotation will drop cached revoked tokens - with the trade-offs of a brief per-node outage and the fact that the window reopens on the next rotation unless restarts are repeated every time; restricting network access to the /api/v1/{tenant}/basicAuth endpoint to trusted management networks also shrinks the attack surface but does not fix the stale-cache behavior and can break legitimate automation. Until patched, treat any departed or demoted administrator as still holding cluster admin access on any node they previously authenticated to.
Affected VersionsENISA
Affected Packages
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
Kestra is a JVM/Java workflow orchestration platform whose webserver component is deployed in HA as multiple nodes sharing one settings database (e.g., PostgreSQL). BasicAuthService in webserver/src/main/java/io/kestra/webserver/services/BasicAuthService.java stores bcrypt-strength hashes at rest but, for per-request performance, memoizes the SHA-256 of the last successfully verified token in a process-local AtomicReference<String> so bcrypt verification only runs on a cache miss. That design assumes a single source of truth about credential validity per process; in a multi-node deployment, the cache is cleared by save() only on the node where the password was changed, leaving peer nodes' caches intact indefinitely - a CWE-613 Insufficient Session Expiration flaw. The upstream fix (commits 16fa03d159270624bf3059f3ea79b1e7d7edfc1a and ec11cfe89464aa8d4321219721d57c5d828b7571) replaces the plain token hash with a CachedToken record keyed on both the token SHA-256 and a credentials fingerprint re-derived from configuration() on every fast-path check, so a rotation on any node invalidates the cache on the next request to every other node without a cross-node signal. It additionally adds a currentPassword field to BasicAuthCredentials and a validateCurrentPassword() check that bypasses the cache, wire enforcement in MiscController so that authenticated callers must prove knowledge of the current password before saving new basic-auth credentials, and a ValidationErrorException path that returns a 400-family rejection instead of the previous 204 when the current password is wrong or missing.
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
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
PR:H required because prior administrator credential possession is a hard prerequisite; AC:H reflects HA deployment and pre-rotation cache-warming requirement; S:U because all impact stays within the Kestra credential store.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Kestra 1.3.24 before 1.3.41 contains an insufficient credential expiration vulnerability that allows holders of a revoked administrator password to keep authenticating on peer webserver nodes through BasicAuthService's process-local verified-token cache. Attackers whose token remains cached on a peer node can call POST /api/v1/{tenant}/basicAuth to overwrite the shared administrator credentials and lock out the legitimate administrator.
Technical POC Analysis
CWE-613, insufficient session expiration, in Kestra's own webserver/src/main/java/io/kestra/webserver/services/BasicAuthService.java.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity vulnerability in Kestra (versions 1.3.24 through 1.3.40) allows a revoked administrator to reuse a stale password on HA peer nodes, potentially overwriting central administrator credentials and locking out legitimate operators cluster-wide. This affects organizations running Kestra in multi-node deployments, exposing them to operational disruption and unauthorized access if a former admin retains knowledge of the old password. Leadership should care because a successful attack could halt business processes and require recovery efforts, with potential reputational and compliance implications.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Related Vulnerabilities in Kestra Authentication and XSS Vulnerabilities
View all 3Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Kestra orchestration platform before 1.0.45 and 1.3.21 lets anonymous attackers
Stored cross-site scripting in Kestra's custom Markdown renderer (versions before 1.3.24) allows any authenticated user
Kestra versions 1.1.10 and earlier allow authenticated users to perform cross-site scripting (XSS) attacks through the e
SQL injection in Kestra orchestration platform's flow search endpoint (GET /api/v1/main/flows/search) enables remote cod
Offline administrator password recovery in Kestra OSS (versions prior to 1.3.24) stems from its BasicAuth component stor
Arbitrary file read in Kestra orchestration platform (versions prior to 1.0.43 and 1.3.19) lets an authenticated user wi
Authenticated path traversal in Kestra's local internal-storage backend (versions prior to 1.0.45 and 1.3.23) lets any l
Cross-site scripting in Kestra orchestration platform versions up to 1.3.3 enables authenticated flow authors to inject
Path traversal in Kestra's `inputFiles` task mechanism allows remote attackers to write arbitrary files to the worker fi
EUVD-2026-137530
GHSA-3pm5-4cwg-5rmr
NVD
CVE.org
EPSS
Exploit-DB