
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-56822 is a Time-of-Check Time-of-Use (TOCTOU) race condition in Netty's OcspServerCertificateValidator component, affecting the Maven package io.netty:netty-handler-ssl-ocsp. The flaw causes the SslHandshakeCompletionEvent to be forwarded to downstream pipeline handlers before the asynchronous OCSP certificate revocation check completes, allowing sensitive application data to be transmitted to a server with a revoked certificate. Affected versions include all releases < 4.1.136.Final and >= 4.2.0.Final, < 4.2.16.Final. The vulnerability was published on July 14, 2026, and added to the GitHub Advisory Database on July 22, 2026, with a CVSS v3.1 base score of 7.4 (High) (Github Advisory, Netty Advisory).
The root cause is a TOCTOU race condition (CWE-367) in io.netty.handler.ssl.ocsp.OcspServerCertificateValidator#userEventTriggered. When an SslHandshakeCompletionEvent is received, the validator immediately calls ctx.fireUserEventTriggered(evt) to notify downstream handlers that the TLS handshake succeeded, and only then initiates an asynchronous OCSP query via OcspClient.query. This ordering means downstream handlers may begin sending or receiving application data before the OCSP response is evaluated. If the OCSP response later indicates the server certificate is REVOKED, the channel is closed — but the data exchange has already occurred. A proof-of-concept test case is included in the advisory, demonstrating that a client sends SECRET_DATA to a server before the OCSP check can intervene (Github Advisory, Netty Advisory).
Exploitation allows a malicious server operating with a revoked TLS certificate to receive sensitive application data (e.g., HTTP requests, credentials, session tokens) from a Netty client during the window between TLS handshake completion and OCSP validation failure. Conversely, the client may also process and act upon malicious responses sent by the revoked server during this window, creating both confidentiality and integrity risks. Availability is not directly impacted. Only client applications that use OcspServerCertificateValidator for server certificate revocation enforcement are affected (Github Advisory).
io.netty:netty-handler-ssl-ocsp versions < 4.1.136.Final or >= 4.2.0.Final, < 4.2.16.Final) that uses OcspServerCertificateValidator for OCSP-based revocation checking.OcspServerCertificateValidator will immediately fire SslHandshakeCompletionEvent downstream before initiating the OCSP check.OcspServerCertificateValidator closing a channel after data was already written.Upgrade the io.netty:netty-handler-ssl-ocsp Maven dependency to the patched versions: 4.1.136.Final or 4.2.16.Final, which ensure the SslHandshakeCompletionEvent is only forwarded to downstream handlers after OCSP validation completes. No configuration-based workaround is documented; upgrading is the only recommended remediation. Applications not using OcspServerCertificateValidator are not affected (Netty 4.1.136 Release, Netty 4.2.16 Release, Github Advisory).
The advisory was published by Netty maintainer normanmaurer on July 14, 2026, and credited reporter violetagg for discovery. No significant broader media coverage or notable community commentary beyond the official advisory has been identified at this time (Netty Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."