CVE-2023-35042: Disputed remote code execution in GeoServer WPS
- Vendor
- Geoserver
CVE-2023-35042 describes a disputed remote code execution vulnerability in GeoServer 2 under unspecified configurations. The reported attack invokes java.lang.Runtime.getRuntime().exec through wps:LiteralData within a wps:Execute request. Exploitation in the wild was reported in June 2023, but the vendor states that it cannot reproduce the issue in any version. A confirmed affected-version range and the precise vulnerable implementation have not been established.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation reportedly permits remote attackers to execute arbitrary code and operating-system commands through GeoServer's WPS request processing. The execution privileges and resulting scope of access are not established. The vulnerability remains disputed because the vendor cannot reproduce it.
Mitigation
If you can’t patch tonight, do this now.
No confirmed workaround is established for CVE-2023-35042. For the separately described Jiffle code-generation issue, removing the Janino library from the GeoServer deployment while the service is stopped, then restarting it, disables Jiffle script compilation; Jiffle functionality subsequently fails with an exception. This workaround is not established as effective against the disputed CVE-2023-35042 issue.
Remediation
Patch, then assume compromise.
No verified fixed version is established for this disputed vulnerability. A separate Jiffle-related advisory recommends GeoServer 2.18.6, 2.19.6, or 2.20.4 or later in the corresponding branches, and upgrading applications using GeoTools/Jiffle or removing remotely reachable Jiffle functionality. The applicability of those fixes to CVE-2023-35042 is not established.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2023-35042 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2023-35042?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2023-35042.
- Is there a patch for CVE-2023-35042?
- No verified fixed version is established for this disputed vulnerability. A separate Jiffle-related advisory recommends GeoServer 2.18.6, 2.19.6, or 2.20.4 or later in the corresponding branches, and upgrading applications using GeoTools/Jiffle or removing remotely reachable Jiffle functionality.
- What products are affected by CVE-2023-35042?
- Geoserver.
- How severe is CVE-2023-35042?
- CVE-2023-35042 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 2.6% (86th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.