Remote code executionin geoserver.
No public exploit found; not on exploited lists.
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. The GeoServer security mechanism can perform an unchecked JNDI lookup, which in turn can be used to perform class deserialization and result in arbitrary code execution. The same can happen while configuring data stores with data sources located in JNDI, or while setting up the disk quota mechanism. In order to perform any of the above changes, the attack needs to have obtained admin rights and use either the GeoServer GUI, or its REST API. The lookups are going to be restricted in GeoServer 2.21.0, 2.20.4, 1.19.6. Users unable to upgrade should restrict access to the `geoserver/web` and `geoserver/rest` via a firewall and ensure that the GeoWebCache is not remotely accessible.
- Upgrade geoserver to 2.19.6, 2.20.4 or later, whichever matches your release line.
- Upgrade org.geoserver:gs-main (Maven) to 2.19.6, 2.20.4 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 10 Feb 2022CVE ID reserved by GitHub_M.
- 13 Apr 2022Published in the CVE List.
- 23 Apr 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other geoserver vulnerabilities
Same weakness: Improper input validation
- github.com x_refsource_CONFIRM
Patchminder. CVE-2022-24847: Remote code execution in geoserver. https://patchminder.com/cve/cve-2022-24847/ (accessed 5 December 2026).