# CVE-2023-35042: GeoServer RCE due to improper control of generation of code in jai-ext`Jiffle` map algebra language

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 44.8%, higher than 98% of CVEs (2026-12-01)
- Published: 2023-06-12T00:00:00.000Z
- Modified: 2026-11-30T19:14:34.723Z
- Also known as: GHSA-59x6-g4jr-4hxc
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- org.geoserver:gs-wms (Maven): before 2.18.6; from 2.19.0 before 2.19.6; from 2.20.0 before 2.20.4
- org.geoserver:gs-wfs (Maven): before 2.18.6; from 2.19.0 before 2.19.6; from 2.20.0 before 2.20.4
- org.geoserver:gs-wps (Maven): before 2.18.6; from 2.19.0 before 2.19.6; from 2.20.0 before 2.20.4
- osgeo geoserver: from 2.0.0

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://isc.sans.edu/diary/29936> (third-party-advisory, web)
- <https://docs.geoserver.org/stable/en/user/services/wps/operations.html#execute> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-35042> (advisory)
- <https://geoserver.org/vulnerability/2022/04/11/geoserver-2-jiffle-jndi-rce.html> (web)
- <https://github.com/geoserver/geoserver> (package)
- <https://osgeo-org.atlassian.net/browse/GEOS-10458> (web)

## Sources

- CVE List: [CVE-2023-35042](https://www.cve.org/CVERecord?id=CVE-2023-35042), CVE Terms of Use, modified 2024-11-27
- GitHub Advisory Database: [GHSA-59x6-g4jr-4hxc](https://github.com/advisories/GHSA-59x6-g4jr-4hxc), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-35042](https://nvd.nist.gov/vuln/detail/CVE-2023-35042), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2023-35042 · Whole record: https://cve.day/CVE-2023-35042.json · Rebuilt by cve.day 2026-11-30T19:17:32.200Z
