You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ghost changed the title [-][Security] FilteredObjectInputStream allowlist bypass via java.rmi.MarshalledObject with auto-trigger during LogEvent deserialization (2.11.0-2.26.1)[/-][+]Something wrong Happen[/+]on Aug 26, 2026
TL;DR: if your application uses java.io.ObjectInputStream to deserialize untrusted data, this can lead to remote code execution (see warning in OpenJDK Javadoc). The same applies to deserializing untrusted data using o.a.l.l.util.FilteredObjectInputStream, which is a hardening measure and never was a trust boundary.
The report itself is accurate on the details: java.rmi.MarshalledObject is on the allowlist, MarshalledObject.get() opens a fresh unfiltered stream. None of that changes the precondition. You still need an application feeding untrusted bytes to a Java deserialization endpoint, and once you have that, you have remote code execution with or without this allowlist entry.
We have been aware of the limitation for some time and discussion #4168 is open since July to see if any user is interested in implementing the missing hardening. No one is, which means our limited volunteer time can be spent on more useful tasks. Patches are welcome.
No CVE, no embargo, nothing here that needs to be kept confidential.
What made the news in this issue is that it was nearly deleted before anyone had triaged it. Let me remind you the first rule of security response: brew some good ☕ .
Reacted by Ramanathan Muthu, Florian Roth, Ngocnn97, Arnout Engelen, joshhighet, Daily CyberSecurity, Carlos Moro, Richlv, Puneeth, Caitlin Condon and 5 more
Reacted by Philippe Ombredanne, Cristiano Perdigao and Greaux
@ppkarwasz I am currently working on the custom header for the SMTP Appender. Once I complete that, I will look into this issue and fix it as per our discussion thread. In the meantime, if anyone else is interested in picking this up, I would be happy to review the PR.
I have a PR stack ready (#4274). My reticence to spend time on this is not the difficulty of the fix, but that it takes time away from features users have actually asked for, like the SMTP headers you mentioned.
Activity
[-][Security] FilteredObjectInputStream allowlist bypass via java.rmi.MarshalledObject with auto-trigger during LogEvent deserialization (2.11.0-2.26.1)[/-][+]Something wrong Happen[/+]jedisct1 commentedon Aug 26, 2026
?
jedisct1 commentedon Aug 26, 2026
Wrong like, that was a false alert, or wrong like it should not be public yet?
h4x0r-dz commentedon Aug 26, 2026
hi
MFj821 commentedon Aug 26, 2026
为啥删除了
ricardobranco777 commentedon Aug 26, 2026
Archived here: https://archive.ph/Xowgn
MouadAssouam commentedon Aug 26, 2026
@ricardobranco777 is doing God's work here. Thank you for archiving it for us
ricardobranco777 commentedon Aug 26, 2026
It was already archived LOL. God works in mysterious ways.
jedisct1 commentedon Aug 26, 2026
https://github.com/dinosn/log4j-4255
joshhighet commentedon Aug 26, 2026
它太强大了,亲爱的。
joanbono commentedon Aug 26, 2026
https://github.com/joanbono/log4j-4255-exploit
hypnguyen1209 commentedon Aug 26, 2026
cleaned poc: https://github.com/hypnguyen1209/log4j2-rce
ppkarwasz commentedon Aug 27, 2026
In case you are wondering what this was, this was an independent discovery of a known security non-finding: FAQ entry about deserialization of untrusted data.
TL;DR: if your application uses
java.io.ObjectInputStreamto deserialize untrusted data, this can lead to remote code execution (see warning in OpenJDK Javadoc). The same applies to deserializing untrusted data usingo.a.l.l.util.FilteredObjectInputStream, which is a hardening measure and never was a trust boundary.The report itself is accurate on the details:
java.rmi.MarshalledObjectis on the allowlist,MarshalledObject.get()opens a fresh unfiltered stream. None of that changes the precondition. You still need an application feeding untrusted bytes to a Java deserialization endpoint, and once you have that, you have remote code execution with or without this allowlist entry.We have been aware of the limitation for some time and discussion #4168 is open since July to see if any user is interested in implementing the missing hardening. No one is, which means our limited volunteer time can be spent on more useful tasks. Patches are welcome.
No CVE, no embargo, nothing here that needs to be kept confidential.
What made the news in this issue is that it was nearly deleted before anyone had triaged it. Let me remind you the first rule of security response: brew some good ☕ .
ramanathan1504 commentedon Aug 27, 2026
@ppkarwasz I am currently working on the custom header for the SMTP Appender. Once I complete that, I will look into this issue and fix it as per our discussion thread. In the meantime, if anyone else is interested in picking this up, I would be happy to review the PR.
ppkarwasz commentedon Aug 27, 2026
I have a PR stack ready (#4274). My reticence to spend time on this is not the difficulty of the fix, but that it takes time away from features users have actually asked for, like the SMTP headers you mentioned.