Known exploited vulnerability

CVE-2024-36401

OSGeo GeoServer GeoTools Eval Injection Vulnerability

What happened

OSGeo GeoServer GeoTools contains an improper neutralization of directives in dynamically evaluated code vulnerability due to unsafely evaluating property names as XPath expressions. This allows unauthenticated attackers to conduct remote code execution via specially crafted input.

Required action

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Analyst notes

This vulnerability affects an open-source component, third-party library, or a protocol used by different products. For more information, please see: https://github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv, https://github.com/geotools/geotools/pull/4797 ; https://nvd.nist.gov/vuln/detail/CVE-2024-36401

Open-source advisories

Public proof-of-concept repositories

No matching public repository was found in the scheduled GitHub index. The index refreshes every 30 minutes; a result would be an unverified repository mention, not a safety assessment.

More from OSGeo

  • CVE-2025-58360 OSGeo GeoServer Improper Restriction of XML External Entity Reference Vulnerability
  • CVE-2022-24816 OSGeo GeoServer JAI-EXT Code Injection Vulnerability