vciy
Triage Architecture · For Remediation Owners · 2026-11-20

Kestra CVE-2026-49869: One endsWith("/configs") Check, CVSS 10.0 Root RCE, and an Empty NVD Score

One Java suffix check (request.getPath().endsWith("/configs")) turned Basic Auth across Kestra OSS < 1.0.45 and 1.1.0 to 1.3.20 into unauthenticated root code execution (CVE-2026-49869).

GitHub CNA scored it 10.0. CISA mandated a 72-hour KEV fix. NIST NVD still lists no CVSS score.

Primary corpus receipts · frozen evidence
CVE-2026-49869 · GitHub CNA CVSS 3.1 vs NIST NVD CVSS
GitHub_M CVSS 3.1: 10.0 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H) | NVD CVSS: null (nvd_modified 2026-09-03T13:05Z copied CWE-78; CWE-184; CWE-287; CWE-918 only)as of 2026-09-28 · GitHub CNA / NIST NVD
CVE-2026-49869 · CISA KEV 72h mandate and BOD 26-04 forensic triage
kev_listed: true | added: 2026-09-02 | due: 2026-09-05 | kev_forensic_triage: Yesas of 2026-09-02 · CISA KEV
CVE-2026-49869 · Public PoC lead time and FIRST EPSS
Published 2026-06-26 | Public PoC: 2026-06-30 (Ap0dexMe0/CVE-2026-49869) | EPSS: 0.02095 (2.10%, prior 0.01917)as of 2026-09-28 · CVE / GitHub PoC / FIRST EPSS
CVE-2026-49869 · Affected and fixed Kestra OSS trains
Affected: kestra < 1.0.45 and kestra >= 1.1.0 < 1.3.21 | Fixed: 1.0.45 and 1.3.21 (GHSA-5vc5-wxxq-3fjx)as of 2026-09-28 · GitHub CNA

Why a suffix whitelist on an orchestrator is a master-key defect

Every web service has two or three public bootstrap routes (/health, /login, /api/v1/configs) that must answer before the browser holds a session token. Writing that allowlist with endsWith("/configs") instead of an exact canonical path match is telling the night guard to wave through anyone whose last name matches the CEO.

In Kestra OSS prior to 1.0.45 and 1.3.21, AuthenticationFilter called request.getPath().endsWith("/configs") to exempt the public UI configuration endpoint from Basic Auth (GHSA-5vc5-wxxq-3fjx). Because HTTP routers resolve path parameters, matrix segments, and nested resource routes before or alongside filter suffixes, any API path whose final segment was configs skipped authentication completely. An unauthenticated remote caller could create and trigger arbitrary workflows.

On a stateless web app, an auth bypass leaks rows. On an event-driven workflow orchestrator that ships plugin-script-shell and plugin-script-python enabled by default, workflow creation is arbitrary OS command execution as root inside the Kestra worker container, complete with every cloud IAM role, database secret, and downstream API token wired into the orchestration plane. That is why GitHub's CNA stamped S:C (Changed Scope) and the maximum 10.0 base score (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H).

Sixty-eight days of public PoC, active KEV, 2.10% EPSS, and NVD null

Trace how standard vulnerability management automation handled CVE-2026-49869 across the summer of 2026. GitHub published the advisory on 2026-06-26. Four days later, on 2026-06-30, a public Proof-of-Concept exploit (Ap0dexMe0/CVE-2026-49869) landed on GitHub. For sixty-eight days, any team running Kestra OSS in a data or platform cluster had a 10.0 unauthenticated RCE with public exploit code sitting in open view.

On 2026-09-02, CISA confirmed active exploitation in the wild, adding CVE-2026-49869 to KEV with a 72-hour deadline (2026-09-05) and kev_forensic_triage = Yes. One day later (2026-09-03T13:05:55Z), NIST NVD updated the record to copy the four CWE identifiers (CWE-78, CWE-184, CWE-287, CWE-918) and left cvss_nvd null. Even on 2026-09-28, three weeks past the federal remediation deadline, cvss_nvd remained null and EPSS sat at 0.02095 (2.10%).

Look at what failed simultaneously if your remediation queue relied on textbook defaults: WHERE nvd_cvss >= 9.0 missed it (null), and WHERE epss >= 0.05 missed it (2.10%). Meanwhile, attackers did not need mass internet scanning; one unauthenticated request to an exposed Kestra port (8080) yielded root execution inside the job runner and pivoted straight into AWS, GCP, or Snowflake credentials (S:C).

KESTRA CVE-2026-49869 · SUFFIX BYPASS TO S:C WORKER ROOT RCE1. BROKEN FILTER (<1.3.21)path.endsWith("/configs")Intended: /api/v1/configsBypass: .../flows/.../configsSkips Basic Auth completelyCWE-287 + CWE-1842. DEFAULT SCRIPT PLUGINSplugin-script-shellplugin-script-pythonUnauth workflow POST + runExecutes as root in workerCWE-78 + CWE-9183. CHANGED SCOPE (S:C)Cloud IAM roles (AWS/GCP)Warehouse & DB secretsGitHub CNA: 10.0 CriticalNVD: null | EPSS: 2.10%Fix: 1.0.45 or 1.3.21REMEDIATION PRECEDENCE:1. Gate port 8080 behind OIDC/VPN · 2. Audit flows/executions since 2026-06-303. Upgrade 1.0.x -> >=1.0.45 or 1.1..1.3.x -> >=1.3.21 (never hop 1.0.40 -> 1.2.0) · 4. Rotate worker IAM/secrets.
How AuthenticationFilter's endsWith('/configs') check turns an unauthenticated HTTP request into S:C root execution across Kestra workers while NVD CVSS remains null and EPSS sits at 2.10%.

Outrank leaf-service 9.8s, upgrade to 1.0.45 / 1.3.21, and rotate worker secrets

For a Remediation Owner balancing twenty tickets on Monday morning, CVE-2026-49869 outranks every 9.8 bug on an isolated microservice for three structural reasons: kev_listed = true with public PoC since June 30, S:C blast radius across every downstream secret held by Kestra workers, and tiny upgrade risk (1.0.45 on the 1.0.x train or 1.3.21 on the 1.1.0..1.3.x train tightens AuthenticationFilter path matching without breaking workflow YAML syntax).

Execute remediation in three locked steps. Step one: block external ingress to Kestra's HTTP API (8080) at your load balancer or ingress controller immediately, or enforce upstream OIDC/mTLS proxy authentication ahead of Kestra, never relying on an internal nginx rule that also matches suffixes. Step two: before redeploying an internet-exposed < 1.0.45 or 1.1.0..1.3.20 cluster, export Kestra's flows, executions, and audit logs to verify no unauthorized shell or Python tasks ran (kev_forensic_triage = Yes); if the port was reachable without an upstream auth proxy after 2026-06-30, rotate every secret, KV store credential, and cloud IAM key mounted on the workers.

Step three: upgrade to >= 1.0.45 (for 1.0.x) or >= 1.3.21 (for 1.1.x..1.3.x; note 1.0.45 through 1.0.x above 1.0.45 is clean, whereas upgrading 1.0.40 to 1.2.0 lands right back inside the vulnerable >= 1.1.0 < 1.3.21 range). Freeze a patch_by or mitigated decision record capturing the running version check, GitHub CNA's 10.0 (S:C) vector, and CISA's September 2 KEV receipt.

Where surface signals mislead.

Each triplet separates the shortcut a naive rule takes from the mechanism underneath and the call you can defend to an auditor.

NVD >= 9.0 + EPSS >= 5% automation gate · CVE-2026-49869

Surface signal: Scanner suppresses CVE-2026-49869 because cvss_nvd is null (after NVD's September 3 CWE update) and EPSS is 2.10%.

Actual mechanism: GitHub CNA scored it 10.0 (S:C), public PoC shipped 2026-06-30, and CISA KEV mandated remediation by 2026-09-05 with BOD 26-04 forensic triage.

Defensible call: Route any KEV = true or CNA CVSS >= 9.0 (S:C) orchestrator vulnerability straight to P0 emergency patching regardless of cvss_nvd or EPSS.

Split-train version jump · Upgrading 1.0.42 to 1.2.5

Surface signal: Platform engineer upgrades Kestra from 1.0.42 to 1.2.5, assuming any version higher than 1.0.45 includes the security patch.

Actual mechanism: The fix backported to 1.0.45 on the 1.0.x branch and landed in 1.3.21 on the 1.x branch; 1.1.0 through 1.3.20 are all vulnerable.

Defensible call: Verify semantic version membership against both vulnerable intervals (< 1.0.45 and >= 1.1.0 < 1.3.21) before signing off a container tag bump.

Patch-only closure on internet-exposed Kestra · BOD 26-04 triage

Surface signal: Team bumps the Helm chart image tag to 1.3.21 on an internet-reachable Kestra server and closes the incident without rotating worker credentials.

Actual mechanism: Public PoC existed for 68 days before KEV listing, and any unauthenticated workflow run had full read access to worker environment variables and cloud IAM roles.

Defensible call: Audit Kestra flows and executions history back to 2026-06-26 and rotate every credential mounted into exposed worker containers before marking remediation complete.

Standalone Go verifier: check Kestra split-train version bounds, audit auth-filter suffix patterns, and safely probe /api/v1/configs.

Save as kestra_check.go and run go run kestra_check.go (or pass a live Kestra base URL such as go run kestra_check.go http://127.0.0.1:8080 1.2.4). Standard library only. Evaluates the non-contiguous vulnerable ranges (< 1.0.45 and >= 1.1.0 < 1.3.21), demonstrates why HasSuffix(path, "/configs") fails against normalized exact-path allowlists, and performs a safe read-only GET /api/v1/configs version check.

Verification artifact · go · compiled cleanly by build gate
package main

import (
	"encoding/json"
	"fmt"
	"net/http"
	"os"
	"path"
	"strconv"
	"strings"
	"time"
)

type semver struct{ maj, min, pat int }

func parseVer(s string) (semver, bool) {
	s = strings.TrimPrefix(strings.TrimSpace(s), "v")
	s = strings.SplitN(s, "-", 2)[0]
	p := strings.Split(s, ".")
	if len(p) != 3 {
		return semver{}, false
	}
	a, e1 := strconv.Atoi(p[0])
	b, e2 := strconv.Atoi(p[1])
	c, e3 := strconv.Atoi(p[2])
	if e1 != nil || e2 != nil || e3 != nil {
		return semver{}, false
	}
	return semver{a, b, c}, true
}

func lessVer(a, b semver) bool {
	if a.maj != b.maj {
		return a.maj < b.maj
	}
	if a.min != b.min {
		return a.min < b.min
	}
	return a.pat < b.pat
}

// CVE-2026-49869 affects kestra < 1.0.45 and >= 1.1.0 < 1.3.21.
func isVulnerableKestra(v semver) (vuln bool, fixTarget string) {
	if lessVer(v, semver{1, 0, 45}) {
		return true, "1.0.45 (or >= 1.3.21)"
	}
	if !lessVer(v, semver{1, 1, 0}) && lessVer(v, semver{1, 3, 21}) {
		return true, "1.3.21"
	}
	return false, "none"
}

func buggySuffixAllowlist(reqPath string) bool {
	return strings.HasSuffix(reqPath, "/configs")
}

func safeExactAllowlist(reqPath string) bool {
	clean := path.Clean("/" + strings.TrimSpace(reqPath))
	return clean == "/api/v1/configs"
}

func probeConfigVersion(baseURL string) string {
	c := &http.Client{Timeout: 5 * time.Second}
	r, err := c.Get(strings.TrimRight(baseURL, "/") + "/api/v1/configs")
	if err != nil {
		return "" 
	}
	defer r.Body.Close()
	var doc struct {
		Version string `json:"version"`
	}
	_ = json.NewDecoder(r.Body).Decode(&doc)
	return doc.Version
}

func main() {
	// Self-test split-train bounds and suffix vs exact allowlist.
	for _, tc := range []struct {
		ver  string
		want bool
	}{
		{"1.0.44", true},
		{"1.0.45", false},
		{"1.2.5", true}, // regression trap when hopping from 1.0.42 -> 1.2.5
		{"1.3.20", true},
		{"1.3.21", false},
	} {
		v, ok := parseVer(tc.ver)
		g, fix := isVulnerableKestra(v)
		if !ok || g != tc.want {
			fmt.Fprintf(os.Stderr, "self-test mismatch on %s\n", tc.ver)
			os.Exit(1)
		}
		fmt.Printf("train_check version=%-8s vulnerable=%-5v required_fix=%s\n", tc.ver, g, fix)
	}

	probePath := "/api/v1/flows/prod/configs"
	fmt.Printf("filter_check path=%s buggy_endswith=%v safe_exact=%v\n",
		probePath, buggySuffixAllowlist(probePath), safeExactAllowlist(probePath))

	if len(os.Args) > 1 {
		verStr := ""
		if len(os.Args) > 2 {
			verStr = os.Args[2]
		} else {
			verStr = probeConfigVersion(os.Args[1])
		}
		if v, ok := parseVer(verStr); ok {
			vuln, fix := isVulnerableKestra(v)
			fmt.Printf("live_target=%s version=%s vulnerable=%v fix=%s\n", os.Args[1], verStr, vuln, fix)
		}
	}
}

What travels.

Never write authentication filter exemptions with endsWith or prefix wildcards.

Normalize the request URI first and compare against an exact allowlist (path == "/api/v1/configs"). Suffix checks turn parameterized sub-routes into unauthenticated backdoors.

Promote S:C orchestrators and CI/CD runners above leaf-service CVSS ties.

Compromising a workflow engine with default shell/Python execution (CVE-2026-49869, CVSS 10.0 S:C) hands over every cloud role and warehouse credential wired into its workers.

Check non-contiguous backport intervals before approving minor-version jumps.

Because 1.0.45 is patched while 1.1.0 through 1.3.20 are vulnerable, a careless jump from 1.0.42 to 1.2.5 leaves the cluster wide open.

Pair late KEV patches with full credential rotation whenever public PoC led by weeks.

Ap0dexMe0/CVE-2026-49869 sat public for 68 days prior to CISA's September 2 KEV listing. Any unshielded port 8080 during that window requires secret rotation, not just a container restart.

Suffix matching is not access control, and an orchestrator is never a leaf node.

Jonathan Corners · Founder, Voxell, Inc. · Referenced records: CVE-2026-49869