Live threats

All CVEs / Osgeo

CVE-2023-35042Osgeo Geoserver

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.6%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Jun 12, 2023
Updated
Nov 30, 2026
Category
Application · Cross-platform
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Geoserver.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.geoserver:gs-wfs < 2.18.6 2.18.6 —
Maven org.geoserver:gs-wfs ≥ 2.19.0 < 2.19.6 2.19.6 —
Maven org.geoserver:gs-wfs ≥ 2.20.0 < 2.20.4 2.20.4 —
Maven org.geoserver:gs-wms < 2.18.6 2.18.6 —
Maven org.geoserver:gs-wms ≥ 2.19.0 < 2.19.6 2.19.6 —
Maven org.geoserver:gs-wms ≥ 2.20.0 < 2.20.4 2.20.4 —
Maven org.geoserver:gs-wps < 2.18.6 2.18.6 —
Maven org.geoserver:gs-wps ≥ 2.19.0 < 2.19.6 2.19.6 —
Maven org.geoserver:gs-wps ≥ 2.20.0 < 2.20.4 2.20.4 —

Per OSV / GitHub Advisories (GHSA-59x6-g4jr-4hxc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
osgeogeoserver≥ 2.0.0

Official sources

References

Links published by the sources. Open them with care.