Skip to content
On CISA KEVCritical

CVE-2023-35042Geoserver Vulnerability

GeoServer RCE due to improper control of generation of code in jai-extJiffle map algebra language

Published Jun 12, 2023 · Updated Sep 10, 2026 · Also known as GHSA-59x6-g4jr-4hxc

Key Facts

Patch immediately
  • CVE-2023-35042 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Geoserver, org.geoserver:gs-wfs (maven), org.geoserver:gs-wms (maven) and 1 more product.
  • It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Jun 12, 2023. No public exploit code is known.
  • EPSS estimates a 45% probability of exploitation in the next 30 days.
  • Fixed versions are available, including org.geoserver:gs-wfs 2.18.6, org.geoserver:gs-wfs 2.19.6, org.geoserver:gs-wfs 2.20.4.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

9.8

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

EPSS (30-day exploit likelihood)

45%

Higher than 98.7% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

58/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Jun 12, 2023

0 days after publication

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

2

Reports of active use

Advisories And Exploit References

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CIRCL KEVJun 12, 2023n/aNot reported
Industry KEV feedJun 12, 2023n/aNot reported

Affected Products

4 affected entries in total
ProductAffected versionsFixed in
GeoserverGeoserverSee advisoryn/a
org.geoserver:gs-wfsmavenSee advisory2.20.4
org.geoserver:gs-wmsmavenSee advisory2.20.4
org.geoserver:gs-wpsmavenSee advisory2.20.4

Patched Releases

org.geoserver:gs-wfs

2.18.6, 2.19.6, 2.20.4

org.geoserver:gs-wms

2.18.6, 2.19.6, 2.20.4

org.geoserver:gs-wps

2.18.6, 2.19.6, 2.20.4

Timeline

  1. Publicly disclosed

    Jun 12, 2023

  2. Added to CIRCL KEV

    Jun 12, 2023

  3. Added to Industry KEV feed

    Jun 12, 2023

  4. Last updated

    Sep 10, 2026

References

3 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2023-35042 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Oct 23, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.