Written by Uptycs Threat Research | Aug 28, 2026, 4:00 PM UTC
Severity: High · Exploitation: Public exploit available, no confirmed attacks · Fix available: No
Summary
A newly disclosed Apache Log4j2 issue, tracked upstream as #4255 with no CVE assigned and still open at the time of reporting, revives deserialization remote code execution in Log4j. It is not Log4Shell: it cannot be triggered by putting a string into a log message. It requires an application that accepts attacker-controlled serialized LogEvent objects over Java deserialization, and in that setup it defeats Log4j's own class allowlist and reaches a gadget chain on the classpath. A public proof of concept demonstrated code execution against Log4j 2.26.1 on JDK 17.
Technical details
Log4j's FilteredObjectInputStream enforces an allowlist when reading serialized log events. One allowed type, java.rmi.MarshalledObject, stores another object as an opaque byte array, so the filter only sees the outer class. Later, MarshalledObject.get() deserializes those bytes with a fresh, unfiltered ObjectInputStream. Log4j's own Log4jLogEvent$LogEventProxy stores the event message in a MarshalledObject and calls get() during its reconstruction, so deserializing a crafted event triggers the unfiltered nested deserialization automatically. With a gadget library such as Commons Collections 3.2.1 on the classpath, that leads to code execution. Apache notes that current Log4j Core does not normally deserialize external data and describes the filter as defense in depth, so exposure is limited to legacy or custom socket-style receivers.
Affected products
- log4j-api 2.11.0 to 2.26.1 and log4j-core 2.8.0 to 2.26.1, only where serialized LogEvents are accepted from untrusted sources — no fix available at the time of reporting
Impact
- Remote code execution. On exposed receivers with a usable gadget chain on the classpath.
- Denial of service. Crafted events can disrupt log receivers.
- Malicious log injection. Attackers can insert forged events into log streams.
- Narrow exposure. Systems that ship logs as JSON or syslog are not affected through this path.
Exploitation status
A public proof of concept exists. No in-the-wild exploitation was reported. Treat it as a targeted risk for legacy log receivers rather than a fleet-wide emergency, and track the upstream issue for a CVE and official Apache advisory.
Recommended actions
- Inventory legacy or custom services that receive serialized Log4j events over the network, especially unauthenticated socket receivers; if you have none, exposure is effectively nil.
- As a stopgap, configure the JVM serialization filter (
jdk.serialFilter/ObjectInputFilter) to rejectjava.rmi.MarshalledObject, after testing that it does not break legitimate traffic. - Upgrade or remove vulnerable gadget libraries such as Commons Collections 3.2.1.
- Replace Java serialization in log transport with structured formats (JSON or RFC 5424 syslog over TLS) and mutually authenticated endpoints.
How Uptycs helps
Uptycs vulnerability management identifies hosts, containers and cloud workloads running affected Log4j versions so teams can review exposed receivers. Uptycs Threat Research continues to monitor this issue and will update this bulletin when a CVE or official fix is published.