CVE-2026-138121

Kestra 1.3.24 before 1.3.41 Insufficient Credential Expiration via Basic-Auth Token Cache

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

Analysis

AI-generated

Technical impact

Kestra 1.3.24 through 1.3.40 suffers from an insufficient credential expiration flaw in the BasicAuthService. When an administrator password is revoked, the system fails to invalidate previously validated tokens stored in a process-local cache on peer webserver nodes. Users who still possess a revoked password can keep authenticating via this cached token and can invoke the POST /api/v1/{tenant}/basicAuth endpoint to overwrite the shared administrator credentials, effectively locking out the legitimate administrator.

Affected Systems

The vulnerability affects Kestra Kestra releases prior to version 1.3.41, specifically releases 1.3.24 through 1.3.40. The fix is included in the 1.3.41 release and all subsequent releases, including 2.0.0.

Risk and Exploitability

The CVSS score of 7.5 signals a high-impact issue. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires that the attacker already holds a cached revoked administrator token on a peer webserver node and can send authenticated HTTP requests to the application; through this, they can overwrite credentials and deny legitimate admin access, representing a denial‑of‑service and privilege‑escalation threat for site administrators.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Kestra 1.3.41 or later, including version 2.0.0, which contains the fix for certificate eviction and token cache invalidation.
  • If an immediate upgrade is not feasible, terminate and restart all Kestra webserver processes to clear any cached tokens, or delete the token cache files manually to force credential revalidation.
  • After any upgrade or cache cleanup, revoke all administrator passwords and verify that no cached tokens remain before attempting further privileged actions.

Generated by OpenCVE AI on November 28, 2026 at 02:22 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 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.
Title Kestra 1.3.24 before 1.3.41 Insufficient Credential Expiration via Basic-Auth Token Cache
First Time appeared Kestra
Kestra kestra
Weaknesses CWE-613
CPEs cpe:2.3:a:kestra:kestra:*:*:*:*:*:*:*:*
Vendors & Products Kestra
Kestra kestra
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-613

    Insufficient Session Expiration

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