What’s Vulnerable › Vulnerabilities

CVE-2026-57527: ZAP ViewState Add-on Insecure Deserialization via JSFViewState.decode()

Description

Zed Attack Proxy (ZAP) ViewState add-on before version 4 contains an insecure deserialization vulnerability that allows attackers who control a proxied web server to achieve arbitrary code execution by embedding a malicious serialized Java object in the javax.faces.ViewState HTTP response parameter. The JSFViewState.decode() method base64-decodes the ViewState value and passes it directly to ObjectInputStream.readObject() without a deserialization filter, allowlist, or type restriction, causing the malicious object to be deserialized within the ZAP JVM when the Desktop UI renders the ViewState panel.

Affected products

How to fix

Upgrade to a fixed version: zaproxy zap-extensions 4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-57527 or the next vulnerability affects your stack