{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138121",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-11-27T23:50:32.984Z",
        "datePublished": "2026-11-28T01:43:04.937Z",
        "dateUpdated": "2026-11-28T01:43:04.937Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-11-28T01:43:04.937Z"
            },
            "datePublic": "2026-10-06T00:00:00.000Z",
            "title": "Kestra 1.3.24 before 1.3.41 Insufficient Credential Expiration via Basic-Auth Token Cache",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Insufficient Session Expiration",
                            "cweId": "CWE-613",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Kestra",
                    "product": "Kestra",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "1.3.24",
                            "lessThan": "1.3.41",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "packageURL": "pkg:maven/io.kestra/kestra",
                    "repo": "https://github.com/kestra-io/kestra"
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:kestra:kestra:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "1.3.24",
                                    "versionEndExcluding": "1.3.41"
                                }
                            ]
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "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",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "HIGH",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "HIGH",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "HIGH",
                        "baseScore": 6.6,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/kestra-io/kestra/security/advisories/GHSA-94pv-f379-3gp3",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "name": "GitHub Security Advisory (GHSA-94pv-f379-3gp3)"
                },
                {
                    "url": "https://github.com/kestra-io/kestra/commit/16fa03d159270624bf3059f3ea79b1e7d7edfc1a",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/kestra-io/kestra/commit/ec11cfe89464aa8d4321219721d57c5d828b7571",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/kestra-io/kestra/releases/tag/v1.3.41",
                    "tags": [
                        "release-notes"
                    ],
                    "name": "Kestra v1.3.41 Release Notes"
                },
                {
                    "url": "https://github.com/kestra-io/kestra/releases/tag/v2.0.0",
                    "tags": [
                        "release-notes"
                    ],
                    "name": "Kestra v2.0.0 Release Notes"
                },
                {
                    "url": "https://github.com/kestra-io/kestra/blob/v1.3.40/webserver/src/main/java/io/kestra/webserver/services/BasicAuthService.java#L253-L260",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://www.vulncheck.com/advisories/kestra-1.3.24-before-1.3.41-insufficient-credential-expiration-via-basic-auth-token-cache",
                    "name": "VulnCheck Advisory: Kestra 1.3.24 before 1.3.41 Insufficient Credential Expiration via Basic-Auth Token Cache",
                    "tags": [
                        "third-party-advisory"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Apostolos Sakellariou",
                    "type": "finder"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        }
    }
}