TL;DR — A single sloppy line of authentication logic in Kestra OSS — the popular open-source workflow-orchestration platform — hands the internet root on your servers. CVE-2026-49869 (CVSS 10.0, CWE-287 → CWE-78) lets an unauthenticated attacker slip past Basic Auth, define a workflow and run OS commands as root inside the worker container — no credentials, no user interaction. Microsoft has documented real attacks using it to deploy crypto-miners and harvest cloud secrets, and CISA added it to the Known Exploited Vulnerabilities catalog on 2 September 2026 with a 5 September federal deadline. Vendor, NVD and Kestra’s own advisory all rate it the maximum 10.0. If you run Kestra, upgrade to 1.0.45 or 1.3.21 now and hunt for compromise.

CRITICALCVE-2026-49869Kestra OSS unauthenticated auth-bypass → RCECVSS 3.110.0 CriticalVECTORCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HWEAKNESSCWE-287 auth bypass → CWE-78 OS command injectionAFFECTEDKestra OSS ≤ 1.3.20 (all builds below 1.0.45; 1.1.0–1.3.20)ATTACK VECTORNetwork — unauthenticated, no user interactionFIXED INKestra 1.0.45 / 1.3.21 — released 3 Jun 2026EXPLOITEDYes — in the wild (Microsoft); public checker/PoC availableCISA KEVAdded 2 Sep 2026 — federal remediation deadline 5 Sep 2026
At-a-glance threat summary for the Kestra OSS authentication bypass (CVE-2026-49869).

What Is the Kestra Authentication Bypass (CVE-2026-49869)?

Kestra is a widely used open-source orchestration and scheduling platform — the engine that runs data pipelines, ETL jobs and automation flows, executing Shell, Python and Node.js scripts on worker nodes as it goes. That design makes any authentication weakness unusually dangerous: whoever can define a workflow can, by definition, run code. CVE-2026-49869 is exactly that weakness. It lets a remote, unauthenticated attacker reach the workflow API, define a malicious flow and execute operating-system commands as root inside the Kestra worker container.

It carries the maximum CVSS 3.1 base score of 10.0 with the vector AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H — and there is no scoring nuance to hide behind here: the vendor advisory (GHSA-5vc5-wxxq-3fjx), the NVD and CIRCL all agree on the same 10.0. The changed scope (S:C) reflects that a request handled by the web tier ends up executing code on the worker tier — crossing a trust boundary it should never cross. Crucially, the flaw lives in Kestra’s default deployment mode: Kestra OSS with Basic Auth enabled, which is precisely how most self-hosted installations run.

How the Kestra Exploit Works

In plain terms: Kestra tries to leave one harmless page — its public configuration endpoint — open without a login, but it checks whether an incoming request is for that page by looking at how the URL ends. Anything ending in the right characters is waved through. An attacker simply makes sensitive, authenticated URLs end that way, and the login check never fires.

The root cause is a single line in Kestra’s AuthenticationFilter, which whitelists the public config route with request.getPath().endsWith("/configs"). Because endsWith is a suffix match rather than an exact-path match, any API path whose final segment is /configs bypasses Basic Auth entirely (CWE-287). The guard meant to expose one read-only endpoint accidentally exposes everything reachable behind a URL that ends in those characters.

From there the escalation is short. Kestra ships with the Process and Shell script plugins enabled by default, so once an attacker can reach the workflow API without authenticating, they define a flow that runs shell commands — and the worker executes them as root inside its container (CWE-78, OS command injection). That is the chain from a URL trick to full remote code execution. Because the worker often has a Docker socket mounted and cloud credentials in its environment, the same flaw doubles as a server-side request forgery (CWE-918) risk against internal services and cloud metadata endpoints.

Impact Nuance: Default Config, Unauthenticated Root

There is little nuance to soften here, which is unusual. The vendor, NVD and CIRCL all record a single CVSS 3.1 base score of 10.0 — no NVD-versus-vendor disagreement, and no “vendor-rated RCE but only DoS demonstrated” caveat. Code execution as root is both rated and observed in the wild. The one honest qualifier is scope: the flaw affects Kestra OSS with Basic Auth, the default self-hosted mode. A deployment fronted by a separate identity-aware proxy or SSO gateway that rejects unauthenticated API traffic is harder to reach directly — but that is defence-in-depth luck, not a fix, and it should not delay patching. Treat any internet-reachable, unpatched Kestra as exploitable.

A single endsWith("/configs") check — a suffix match where an exact match was needed — is all that stands between the public internet and root on the worker.

ATTACK CHAIN1Reach an internet-facing Kestra OSS instanceAn exposed, unpatched Kestra (≤ 1.3.20) serves its workflow API and UI to the network.2Bypass authentication (CVE-2026-49869)A request to any path ending “/configs” skips Basic Auth — a suffix match, not an exact match.3Create a malicious workflowThe unauthenticated attacker defines a flow using the default Process / Shell script plugin.4Execute code as root on the workerThe worker container runs the attacker’s shell commands with root privileges.5Harvest secrets & deploy a minerEnumerate the mounted Docker socket for cloud keys, drop XMRig, and exfil output via the KV store.
One flawed authentication check turns a public URL into root on the Kestra worker — reconstructed from Microsoft’s incident analysis.

Active Exploitation of CVE-2026-49869

This is not a theoretical bug. On 26 August 2026, Microsoft published analysis of intrusions in which CVE-2026-49869 was used as the initial-access vector against internet-exposed Kestra instances. The documented playbook is opportunistic and financially motivated: exploit the auth bypass, create a workflow using the Process runner to obtain a shell, enumerate the mounted Docker socket to pull environment variables (cloud keys, database credentials, API tokens), then retrieve XMRig from public sources, rename the binary for evasion and begin Monero mining — with follow-on curl | sh patterns pulling further scripts and stashing encoded output through Kestra’s key-value store.

CISA added CVE-2026-49869 to its Known Exploited Vulnerabilities catalog on 2 September 2026 — one of seven flaws added that day — setting a federal remediation deadline of 5 September 2026 under Binding Operational Directive 22-01. A public “auth-bypass checker” for the CVE is also circulating on GitHub, lowering the bar for opportunistic scanning still further. Given a maximum-severity, unauthenticated flaw in widely-deployed automation infrastructure, already exploited in the wild, the short KEV clock is entirely warranted.

DISCLOSURE TIMELINE3 Jun 2026Vendor advisory GHSA-5vc5-wxxq-3fjx; fixes 1.0.45 & 1.3.21 released26 Jun 2026NVD publishes CVE-2026-49869 (CVSS 10.0; CWE-287 / CWE-78)26 Aug 2026Microsoft documents in-the-wild exploitation (reverse shells, XMRig)2 Sep 2026CISA adds CVE-2026-49869 to KEV (federal deadline 5 Sep 2026)
Patched in June, weaponised by late August, on the KEV catalog within days — with a five-day federal patch clock.

Remediation & Mitigation: Patching Kestra

Upgrade immediately. Move Kestra OSS to 1.3.21 (or 1.0.45 if you are still on the 1.0.x line). These builds replace the suffix match with a correct exact-path check and are the only complete fix. The vulnerable range is everything at or below 1.3.20 — all builds under 1.0.45, and 1.1.0 through 1.3.20. The key actions:

  • Patch every Kestra instance now to 1.0.45 or 1.3.21. This is an internet-facing service under active exploitation — treat it as an emergency change, not a maintenance-window item.
  • Federal agencies must comply by 5 September 2026 under the CISA KEV listing; everyone else should treat that as the sensible outer bound, not a target.
  • Restrict network access to the Kestra UI and API in the meantime — put them behind a VPN or an authenticating reverse proxy that rejects unauthenticated requests before they ever reach Kestra.

If you were exposed, assume compromise. Any internet-reachable, unpatched instance should be treated as potentially breached, not merely at risk:

  • Rotate every secret the worker could touch — environment variables, cloud credentials, database passwords and API tokens — because credential harvesting is part of the documented attack chain.
  • Hunt for indicators: unexpected workflow creation or execution, new or modified key-value store entries, XMRig/RandomX-style CPU saturation, and outbound connections to mining pools or to the cloud metadata endpoint (169.254.169.254).
  • Review the Docker socket mount. If workers do not need it, remove it — it turns a container compromise into a host-and-credentials problem.

Related ZeroDayHub Coverage

CVE-2026-49869 landed in the same 2 September 2026 CISA KEV batch as two other maximum- and critical-severity flaws we have already covered — a reminder that unauthenticated access bugs in widely-deployed infrastructure are the perimeter’s softest target. See our write-ups of the SonicWall SMA 1000 pre-auth SSRF-to-RCE chain and the JFrog Artifactory authentication bypass — different products, the same lesson: skip the login and you own the box.

Sources & Further Reading

ZeroDayHub reports on vulnerabilities for defensive purposes only. This article deliberately omits working exploit code.

2 responses to “Kestra Unauthenticated RCE Exploited in the Wild – CVE-2026-49869”

  1. […] turn edge appliances and self-hosted infrastructure into footholds. See our write-ups of the Kestra unauthenticated auth-bypass-to-RCE and the SonicWall SMA 1000 pre-auth SSRF chain — different products, the same lesson: an […]

  2. […] and AI infrastructure — a pattern we have tracked repeatedly. See our write-up of the Kestra unauthenticated RCE, added to KEV the same day, and of the Langflow RCE under active exploitation — different AI […]

Leave a Reply

Trending