Io.netty:netty handler ssl ocsp: Netty: Missing CertificateID Validation in OCSP Response Allows Replay Attacks (CVE-2026-56820)
Netty's OCSP client implementation does not validate that the CertificateID in an OCSP response matches the requested certificate's CertificateID. This allows an attacker to replay a valid OCSP response for a different certificate issued by the same CA, bypassing revocation checks and causing the client to accept revoked certificates as valid.
AI Analysis
Technical Summary
The vulnerability in io.netty.handler.ssl.ocsp.OcspClient arises because the validateResponse method does not verify that the CertificateID in the BasicOCSPResp matches the CertificateID of the certificate being checked. While the OCSP response signature is verified against the trusted issuer, the client ignores whether the response corresponds to the queried certificate. An attacker with access to a valid OCSP response for any non-revoked certificate issued by the same CA can replay that response to bypass revocation checks for other certificates, including revoked ones. This behavior violates RFC 6960 section 3.2, which mandates that OCSP clients confirm the certificate identity in the response matches the request. A proof-of-concept test demonstrates this bypass.
Potential Impact
This vulnerability allows an attacker to bypass OCSP revocation checks by replaying a valid OCSP response for an unrelated certificate issued by the same CA. As a result, revoked certificates may be incorrectly accepted as valid by the Netty client, potentially undermining the security guarantees of certificate revocation and enabling use of compromised or revoked certificates.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should be aware of this validation omission and consider additional certificate revocation verification methods or avoid relying solely on Netty's OCSP client for critical validation.
Io.netty:netty handler ssl ocsp: Netty: Missing CertificateID Validation in OCSP Response Allows Replay Attacks (CVE-2026-56820)
Description
Netty's OCSP client implementation does not validate that the CertificateID in an OCSP response matches the requested certificate's CertificateID. This allows an attacker to replay a valid OCSP response for a different certificate issued by the same CA, bypassing revocation checks and causing the client to accept revoked certificates as valid.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in io.netty.handler.ssl.ocsp.OcspClient arises because the validateResponse method does not verify that the CertificateID in the BasicOCSPResp matches the CertificateID of the certificate being checked. While the OCSP response signature is verified against the trusted issuer, the client ignores whether the response corresponds to the queried certificate. An attacker with access to a valid OCSP response for any non-revoked certificate issued by the same CA can replay that response to bypass revocation checks for other certificates, including revoked ones. This behavior violates RFC 6960 section 3.2, which mandates that OCSP clients confirm the certificate identity in the response matches the request. A proof-of-concept test demonstrates this bypass.
Potential Impact
This vulnerability allows an attacker to bypass OCSP revocation checks by replaying a valid OCSP response for an unrelated certificate issued by the same CA. As a result, revoked certificates may be incorrectly accepted as valid by the Netty client, potentially undermining the security guarantees of certificate revocation and enabling use of compromised or revoked certificates.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should be aware of this validation omission and consider additional certificate revocation verification methods or avoid relying solely on Netty's OCSP client for critical validation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-272m-gcwp-mpwg
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-56820"]
- Ecosystems
- ["Maven"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6150d69c2644c7f8da0c2d
Added to database: 07/22/2026, 23:23:02 UTC
Last enriched: 07/22/2026, 23:30:35 UTC
Last updated: 07/22/2026, 23:30:35 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.