CVE-2026-138121
Deferred Deferred - Pending Action

Kestra Peer Node Credential Cache Authentication Bypass

Vulnerability report for CVE-2026-138121, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-28

Last updated on: 2026-11-28

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-28
Last Modified
2026-11-28
Generated
2026-11-28
AI Q&A
2026-11-28
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Kestra Kestra From 1.3.24 (inc) to 1.3.41 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-613 According to WASC, "Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization."

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-138121 is an insufficient credential expiration vulnerability in Kestra versions 1.3.24 through 1.3.40. The issue occurs in multi-node deployments where BasicAuthService caches authenticated tokens locally using only their SHA-256 hash. When an administrator revokes a password on one node, the change does not invalidate cached tokens on other nodes. Attackers with a cached token can authenticate to peer nodes, overwrite shared administrator credentials via POST /api/v1/{tenant}/basicAuth, and lock out legitimate users.

The vulnerability stems from the token cache not verifying if centrally stored credentials have been updated. Even after password changes, cached tokens remain valid, allowing persistent access. The flaw affects High Availability deployments sharing a single database.

Detection Guidance

Check Kestra version with 'curl -s http://localhost:8080/api/v1/health | grep version' or 'kubectl get pods -n kestra -o jsonpath='{.items[*].spec.containers[0].image}''. If version is between 1.3.24 and 1.3.40, the system is vulnerable. Monitor logs for repeated POST /api/v1/{tenant}/basicAuth requests from unexpected sources.

Impact Analysis

This vulnerability allows attackers to gain persistent administrative access to Kestra clusters even after credentials are revoked. Attackers can lock out legitimate administrators by overwriting shared credentials. The impact includes unauthorized control over the system, data tampering, and potential data breaches in multi-node deployments.

The attack requires network access and low complexity but no user interaction. Successful exploitation grants high privileges across the entire cluster, making it critical for organizations using Kestra in High Availability setups.

Compliance Impact

This vulnerability likely violates compliance requirements for access control and data protection in GDPR and HIPAA. GDPR mandates timely revocation of access and secure credential management (Article 32). HIPAA requires strict access controls and audit logging (45 CFR Β§ 164.312). The flaw enables unauthorized access persistence, risking data breaches and non-compliance with these standards.

Mitigation Strategies

Upgrade Kestra to version 1.3.41 or 2.0.0 immediately. If immediate upgrade is not possible, restrict access to the /api/v1/{tenant}/basicAuth endpoint via network policies or firewall rules. Rotate all administrator credentials across all nodes in the cluster.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138121. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...