Skip to main content

ZAP ViewState EUVDEUVD-2026-39777

| CVE-2026-57527 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-06-26 disclosure@vulncheck.com GHSA-grq4-7pwr-9rmp
8.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure tester to proxy malicious server
  2. Delivery
    Return JSF response with crafted ViewState
  3. Exploit
    Operator opens ViewState panel
  4. Execution
    JSFViewState.decode deserializes gadget
  5. Impact
    Execute code in ZAP JVM

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concrete conditions: (1) the victim runs ZAP with the 'viewstate' add-on installed at a version before 4; (2) the attacker controls the proxied web server's HTTP responses and can set the javax.faces.ViewState parameter to a malicious base64-encoded serialized Java object; and (3) the ZAP operator must interactively render the ViewState panel in the Desktop UI for that response (UI:P/UI:R) - exploitation does not occur passively just from proxying traffic. Limiting factors: it does not affect ASP-only ViewState usage, it depends on the JSF decoding path being active (default in pre-v4), and it targets the tester's ZAP instance rather than any externally exposed service, so it is not automatable at internet scale. Successful RCE in practice also depends on exploitable gadget classes being present on the ZAP JVM classpath.

Impact

The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H, base 8.7) reflects an unauthenticated network reachable, low-complexity flaw with full confidentiality/integrity/availability impact on the vulnerable system, but with a mandatory user-interaction requirement (UI:P): the ZAP operator must actually render the ViewState panel for a proxied response under attacker control. This is effectively a client-side attack against the penetration tester rather than a mass-exploitable server bug, which materially lowers real-world urgency despite the high score. No EPSS score, no KEV listing, and no public POC were provided, so there is no evidence of active or automated exploitation; the realistic threat is a targeted server fingerprinting a ZAP user. The signals are consistent (high technical impact, but gated by UI and by the niche precondition that the add-on is installed and the JSF panel is opened), so this is a genuine RCE worth patching for active testers, not a broadly automatable internet-scale threat.

Exploit ScenarioDerived

A penetration tester proxies a target web server through ZAP with the viewstate add-on installed. The attacker-controlled (or compromised) server returns a JSF response whose javax.faces.ViewState field contains a base64-encoded malicious gadget chain; when the tester opens the ViewState panel to inspect the response, JSFViewState.decode() deserializes the object and executes code inside the ZAP JVM on the tester's machine. No public POC is identified at time of analysis, but the bug class (ObjectInputStream.readObject on attacker bytes) is reliably exploitable with known gadget libraries.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 26, 2026

Arbitrary code execution in the OWASP ZAP ViewState add-on (versions before 4) lets a malicious or attacker-controlled proxied web server compromise the security tester's own ZAP instance. By embedding a crafted serialized Java object in the javax.faces.ViewState response parameter, an attacker triggers unsafe Java deserialization inside the ZAP JVM the moment the operator views the ViewState panel in the Desktop UI. There is no public exploit identified at time of analysis and it is not listed in CISA KEV, but the vendor has published an advisory and shipped a fix (viewstate-v4) that disables JSF support entirely.

RemediationAI

Vendor-released patch: ZAP viewstate add-on version 4 (viewstate-v4); update the add-on via the ZAP Marketplace to version 4 or later, which removes JSF ViewState support entirely (commit ac6c3f9 comments out registration of the javax.faces.ViewState parameter and changes the add-on to an 'ASP ViewState Decoder and Editor' only). If immediate updating is not possible, compensating controls are to uninstall or disable the viewstate add-on (trade-off: loses ASP ViewState decoding too), or operationally avoid opening the ViewState panel when proxying untrusted or unknown JSF targets (trade-off: relies on operator discipline and is not a technical control). See the vendor advisory https://www.zaproxy.org/blog/2026-06-24-java-deserialization-vulnerability-in-zap-viewstate-addon/ and PR https://github.com/zaproxy/zap-extensions/pull/7481 for fix details.

Affected VersionsENISA

zap-extensions 0 <4

Affected Packages

euvd zap_extensions fix: 4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a classic CWE-502 unsafe deserialization in the JSF (JavaServer Faces) ViewState handling path of ZAP's optional viewstate add-on. JSF applications serialize component-tree state into the javax.faces.ViewState field; ZAP's add-on attempts to decode this for inspection. JSFViewState.decode() base64-decodes the attacker-supplied value and passes the bytes straight to java.io.ObjectInputStream.readObject() with no look-ahead deserialization filter, class allowlist, or type restriction. With common gadget libraries on the classpath, readObject() on attacker-controlled bytes is a well-known route to remote code execution. Critically, the vulnerable component is the security tooling itself (the ZAP client/proxy), not the target web application - the trust boundary is inverted because ZAP is expected to safely parse hostile traffic.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 8.7 HIGH
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
vuln.today AI 8.8 HIGH

Attacker-controlled proxied server reaches the victim over the network (AV:N) with no privileges (PR:N), but the operator must open the ViewState panel (UI:R), yielding full code-execution impact (C/I/A:H).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 26, 2026 - 16:16 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The OWASP ZAP ViewState add-on (versions prior to v4) is vulnerable to remote code execution through unsafe Java deserialization. An attacker controlling a target server can compromise the security tester's ZAP instance when they view the ViewState panel. This directly undermines the integrity of security testing: compromised instances could corrupt assessment results, leak confidential test data, or introduce backdoors into security scan outputs.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 63% exploitable
Prevalence
Low
optional niche ZAP add-on; only affects testers who installed it
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy