Skip to content
RCE Write-up Intermediate

How I Found My First Real-Life RCE: Exploiting CVE-2026–53576 i

Kestra's authentication filter bypassed checks for any request path ending in '/configs', allowing an unauthenticated attacker to create and execute a workflow that ran shell commands as root. The author demonstrated remote code execution on a bug bounty target.

Scarabel0x Follow

Published on medium.com

For every bug hunter, achieving your first real-world Remote Code Execution (RCE) feels like a rite of passage.

Scarabel0x, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The authentication filter used a simple suffix check (endsWith) on the request path instead of exact route matching, so any path ending in '/configs' skipped authentication.

Impact

An unauthenticated attacker could execute arbitrary shell commands as root on the server, leading to full compromise.

What the attacker needed

Target runs vulnerable Kestra version; No authentication required

The fix

The authentication filter should use strict, exact route matching or a centralized security framework instead of simple string operations like endsWith().

How it was found

  1. Identify the Kestra application and its version via the configs endpoint.
  2. Search for known vulnerabilities and find CVE-2026-53576 published recently.
  3. Create a malicious workflow with namespace and ID 'configs' using an unauthenticated POST request.
  4. Trigger execution of the workflow via another unauthenticated POST request.
  5. Confirm command execution by checking the job status.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

The login check only looked at the end of the web address. If the address ended with the word 'configs', it let the request through without asking for a password. The attacker named their workflow 'configs' so the address ended that way, then used the workflow to run commands on the server.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Scarabel0x

View all

6 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.