CVEBrief

Home / Osgeo / Geoserver / CVE-2023-35042

CVE-2023-35042: is it exploited, and which versions of Osgeo Geoserver are affected and fixed?

CVE-2023-35042 is a vulnerability in Osgeo Geoserver. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: org.geoserver:gs-wms before 2.18.6, org.geoserver:gs-wfs before 2.18.6, org.geoserver:gs-wms from 2.19.0 before 2.19.6 and 6 more (GitHub advisory GHSA-59x6-g4jr-4hxc). Fixed in 2.18.6, 2.19.6 and 2.20.4 (GitHub advisory GHSA-59x6-g4jr-4hxc). Severity: Critical (9.8, CVSS 3.1, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 30, 2026, 20:09 UTC.

Disputed: a party (often the vendor) disputes that this is a vulnerability. The record is kept as published.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:39 UTC
Affected
org.geoserver:gs-wms before 2.18.6, org.geoserver:gs-wfs before 2.18.6, org.geoserver:gs-wms from 2.19.0 before 2.19.6 and 6 more
GitHub advisory GHSA-59x6-g4jr-4hxc
Fixed in
2.18.6, 2.19.6 and 2.20.4
GitHub advisory GHSA-59x6-g4jr-4hxc
Severity
Critical 9.8
CVSS 3.1 from NVD
Exploit odds (EPSS)
44.8% in 30 days
higher than 99% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

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.

From the CVE record by mitre, last updated November 27, 2024, 15:06 UTC.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.geoserver:gs-wms< 2.18.62.18.6GHSA-59x6-g4jr-4hxc
Mavenorg.geoserver:gs-wfs< 2.18.62.18.6GHSA-59x6-g4jr-4hxc
Mavenorg.geoserver:gs-wms>= 2.19.0, < 2.19.62.19.6GHSA-59x6-g4jr-4hxc
Mavenorg.geoserver:gs-wfs>= 2.19.0, < 2.19.62.19.6GHSA-59x6-g4jr-4hxc
Mavenorg.geoserver:gs-wms>= 2.20.0, < 2.20.42.20.4GHSA-59x6-g4jr-4hxc
Mavenorg.geoserver:gs-wfs>= 2.20.0, < 2.20.42.20.4GHSA-59x6-g4jr-4hxc
Mavenorg.geoserver:gs-wps< 2.18.62.18.6GHSA-59x6-g4jr-4hxc
Mavenorg.geoserver:gs-wps>= 2.19.0, < 2.19.62.19.6GHSA-59x6-g4jr-4hxc
Mavenorg.geoserver:gs-wps>= 2.20.0, < 2.20.42.20.4GHSA-59x6-g4jr-4hxc

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 20, 2023. Summary: GeoServer RCE due to improper control of generation of code in jai-ext`Jiffle` map algebra language.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
osgeogeoserverfrom 2.0.0application

NVD analysis (status Modified), last modified November 30, 2026, 19:14 UTC.

How severe is CVE-2023-35042?

ScoreVersionVectorSource
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2023-35042 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: total (CISA ADP, November 27, 2024)
EPSS
44.8% probability of exploitation activity in the next 30 days, percentile 98.8 (FIRST EPSS, scores of December 3, 2026)

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
June 12, 2023
Published
June 12, 2023, 00:00 UTC
CVE record updated
November 27, 2024, 15:06 UTC by mitre
NVD
Modified, last modified November 30, 2026, 19:14 UTC
Last checked
CVE list November 19, 2026, 07:13 UTC; NVD November 30, 2026, 20:09 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Geoserver?

Every CVE in Geoserver

Questions about CVE-2023-35042

Is CVE-2023-35042 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 44.8% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Osgeo Geoserver are affected by CVE-2023-35042?

org.geoserver:gs-wms before 2.18.6, org.geoserver:gs-wfs before 2.18.6, org.geoserver:gs-wms from 2.19.0 before 2.19.6, org.geoserver:gs-wfs from 2.19.0 before 2.19.6, org.geoserver:gs-wms from 2.20.0 before 2.20.4, org.geoserver:gs-wfs from 2.20.0 before 2.20.4 and 3 more, per the GitHub advisory GHSA-59x6-g4jr-4hxc. The tables above give every range the sources list.

Which version fixes CVE-2023-35042?

2.18.6, 2.19.6 and 2.20.4, per the GitHub advisory GHSA-59x6-g4jr-4hxc. Check the vendor's advisory before you rely on it.

How severe is CVE-2023-35042?

Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2023-35042?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.