CVE-2022-24847: GeoServer JNDI Lookup Remote Code Execution
- Vendor
- Osgeo
CVE-2022-24847 affects GeoServer, an open-source Java-based geospatial data server. The vulnerability arises from GeoServer performing unchecked JNDI lookups in multiple administrative configuration paths. According to the provided content, this can occur in the GeoServer security mechanism, during configuration of data stores that use JNDI-backed data sources, and while configuring the disk quota mechanism. Because unsafe JNDI resolution can lead to attacker-controlled class loading and Java deserialization, a successful exploit can result in arbitrary code execution on the GeoServer host. Exploitation requires the attacker to make administrative changes through either the GeoServer web GUI or the REST API.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can lead to arbitrary code execution in the context of the GeoServer process. An attacker who already has administrative access to the GeoServer management interfaces can abuse unchecked JNDI lookups to trigger remote class loading and/or deserialization, potentially fully compromising the server, accessing or modifying hosted geospatial data and configuration, pivoting further into the environment, or disrupting service operation.
Mitigation
If you can’t patch tonight, do this now.
If upgrading is not immediately possible, restrict access to the GeoServer administrative surfaces, specifically geoserver/web and geoserver/rest, via firewalling or equivalent network access controls. Also restrict remote access to embedded GeoWebCache administrative/configuration endpoints and protect the filesystem containing GeoServer configuration data. Ensure GeoWebCache is not remotely accessible unless strictly required.
Remediation
Patch, then assume compromise.
Upgrade GeoServer to a fixed version in which JNDI lookups are restricted. The provided content identifies the fixed releases as GeoServer 2.21.0, 2.20.4, and 2.19.6, depending on the deployed branch.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2022-24847 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2022-24847?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2022-24847.
- Is there a patch for CVE-2022-24847?
- Upgrade GeoServer to a fixed version in which JNDI lookups are restricted. The provided content identifies the fixed releases as GeoServer 2.21.0, 2.20.4, and 2.19.6, depending on the deployed branch.
- What products are affected by CVE-2022-24847?
- Osgeo Geoserver.
- How severe is CVE-2022-24847?
- CVE-2022-24847 has a CVSS v3.1 score of 7.2 (High) and an EPSS score of 1.6% (76th percentile) as of Oct 16, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.