CVE-2023-35042
CVE-2023-35042 is a critical-severity vulnerability in Geoserver with a CVSS 3.x base score of 9.8. Its EPSS exploit-prediction score of 43% places it in the 99th percentile, indicating an elevated likelihood of exploitation.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 43% (99th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Geoserver
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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 exploited in the wild in June 2023. NOTE: the vendor states that they are unable to reproduce this in any version.
- How severe is CVE-2023-35042?
- CVE-2023-35042 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2023-35042 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 43% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-35042?
- CVE-2023-35042 affects Geoserver. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2023-35042?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2023-35042 published?
- CVE-2023-35042 was published on 2023-06-12 and last updated on 2026-06-17.
References
- https://docs.geoserver.org/stable/en/user/services/wps/operations.html#execute
- https://isc.sans.edu/diary/29936
Affected products (1)
- cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:*
More vulnerabilities in Geoserver
- CVE-2024-36401 — Critical (CVSS 9.8): GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.22.6,…
- CVE-2025-58360 — High (CVSS 8.2): GeoServer is an open source server that allows users to share and edit geospatial data. From version 2.26.0 to before…
- CVE-2024-24749 — High (CVSS 7.5): GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.23.5 and…
- CVE-2023-51444 — High (CVSS 7.2): GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. An…
- CVE-2023-41877 — High (CVSS 7.2): GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. A path…
- CVE-2025-21621 — Medium (CVSS 6.1): GeoServer is an open source server that allows users to share and edit geospatial data. Prior to version 2.25.0, a…