{
  "id": "CVE-2026-57527",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-57527",
  "published_at": "2026-06-26T14:43:32.982Z",
  "title": "ZAP ViewState Add-on Insecure Deserialization via JSFViewState.decode()",
  "vendor": "zaproxy",
  "product": "zap-extensions",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-502",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "zaproxy",
        "product": "zap-extensions",
        "ranges": [
          "\u003c 4"
        ],
        "fixed_in": [
          "4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade zap-extensions to 4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://www.zaproxy.org/blog/2026-06-24-java-deserialization-vulnerability-in-zap-viewstate-addon/"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/zaproxy/zap-extensions/releases/tag/viewstate-v4"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/zaproxy/zap-extensions/pull/7481"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/zaproxy/zap-extensions/commit/ac6c3f94d38505bc0facea286a4d3728044c6e5c"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
