Critical severity · published Jun 12, 2023
CVE-2023-35042
GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code via java.lang.Runtime.getRuntime().exec in wps:LiteralData within a wps:Execute request, as…
9.8
CVSS
44.8%
EPSS
No
On KEV
Description
GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code via java.lang.Runtime.getRuntime().exec in wps:LiteralData within a wps:Execute request, as exploited in the wild in June 2023. NOTE: the vendor states that they are unable to reproduce this in any version.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)44.8% · higher than 99% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GE
Geoserver · Geoserver
2.0.0 and later · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-35042
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-35042
Product
https://docs.geoserver.org/stable/en/user/services/wps/operations.html#execute
Third Party Advisory
https://isc.sans.edu/diary/29936
More from Geoserver
9.8
CVE-2025-58360
GeoServer is vulnerable to an Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature
9.8
CVE-2024-36401
Remote Code Execution (RCE) vulnerability in evaluating property name expressions in Geoserver
7.5
CVE-2024-24749
GeoServer is an open source server that allows users to share and edit geospatial data
7.2
CVE-2023-51444
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data
7.2
CVE-2023-41877
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data
