{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-36401","published":"2024-07-01T16:15:04.120000Z","last_modified":"2026-11-30T19:14:34.723000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-95","CWE-94"],"cpes":[{"criteria":"cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*","part":"a","vendor":"osgeo","product":"geoserver","version_end_excluding":"2.22.6"},{"criteria":"cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*","part":"a","vendor":"osgeo","product":"geoserver","version_start_including":"2.23.0","version_end_excluding":"2.23.6"},{"criteria":"cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*","part":"a","vendor":"osgeo","product":"geoserver","version_start_including":"2.24.0","version_end_excluding":"2.24.4"},{"criteria":"cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*","part":"a","vendor":"osgeo","product":"geoserver","version_start_including":"2.25.0","version_end_excluding":"2.25.2"},{"criteria":"cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*","part":"a","vendor":"osgeo","product":"geotools","version_end_excluding":"29.6"},{"criteria":"cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*","part":"a","vendor":"osgeo","product":"geotools","version_start_including":"30.1","version_end_excluding":"30.4"},{"criteria":"cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*","part":"a","vendor":"osgeo","product":"geotools","version_start_including":"31.1","version_end_excluding":"31.2"},{"criteria":"cpe:2.3:a:osgeo:geotools:30.0:-:*:*:*:*:*:*","part":"a","vendor":"osgeo","product":"geotools","version":"30.0"},{"criteria":"cpe:2.3:a:osgeo:geotools:30.0:rc:*:*:*:*:*:*","part":"a","vendor":"osgeo","product":"geotools","version":"30.0"},{"criteria":"cpe:2.3:a:osgeo:geotools:31.0:-:*:*:*:*:*:*","part":"a","vendor":"osgeo","product":"geotools","version":"31.0"},{"criteria":"cpe:2.3:a:osgeo:geotools:31.0:rc:*:*:*:*:*:*","part":"a","vendor":"osgeo","product":"geotools","version":"31.0"}],"cpes_truncated":false,"vendors":["osgeo"],"products":["osgeo/geoserver","osgeo/geotools"],"ssvc":{"exploitation":"active","automatable":"yes","technical_impact":"total"},"kev":{"date_added":"2024-07-15","due_date":"2024-08-05","ransomware":false,"forensic_triage":false,"cwes":["CWE-95"]},"epss":{"score":0.99813,"percentile":0.99977,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-6jj6-gm7p-fcvv","ecosystem":"Maven","name":"org.geoserver.web:gs-web-app","purl":"pkg:maven/org.geoserver.web/gs-web-app","ranges":[{"introduced":"2.24.0","fixed":"2.24.4"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-6jj6-gm7p-fcvv","ecosystem":"Maven","name":"org.geoserver.web:gs-web-app","purl":"pkg:maven/org.geoserver.web/gs-web-app","ranges":[{"introduced":"2.25.0","fixed":"2.25.2"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-6jj6-gm7p-fcvv","ecosystem":"Maven","name":"org.geoserver.web:gs-web-app","purl":"pkg:maven/org.geoserver.web/gs-web-app","ranges":[{"introduced":"2.23.0","fixed":"2.23.6"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-6jj6-gm7p-fcvv","ecosystem":"Maven","name":"org.geoserver.web:gs-web-app","purl":"pkg:maven/org.geoserver.web/gs-web-app","ranges":[{"introduced":"0","fixed":"2.22.6"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-6jj6-gm7p-fcvv","ecosystem":"Maven","name":"org.geoserver:gs-wfs","purl":"pkg:maven/org.geoserver/gs-wfs","ranges":[{"introduced":"2.24.0","fixed":"2.24.4"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-6jj6-gm7p-fcvv","ecosystem":"Maven","name":"org.geoserver:gs-wfs","purl":"pkg:maven/org.geoserver/gs-wfs","ranges":[{"introduced":"2.25.0","fixed":"2.25.2"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-6jj6-gm7p-fcvv","ecosystem":"Maven","name":"org.geoserver:gs-wfs","purl":"pkg:maven/org.geoserver/gs-wfs","ranges":[{"introduced":"2.23.0","fixed":"2.23.6"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-6jj6-gm7p-fcvv","ecosystem":"Maven","name":"org.geoserver:gs-wfs","purl":"pkg:maven/org.geoserver/gs-wfs","ranges":[{"introduced":"0","fixed":"2.22.6"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-6jj6-gm7p-fcvv","ecosystem":"Maven","name":"org.geoserver:gs-wms","purl":"pkg:maven/org.geoserver/gs-wms","ranges":[{"introduced":"2.24.0","fixed":"2.24.4"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-6jj6-gm7p-fcvv","ecosystem":"Maven","name":"org.geoserver:gs-wms","purl":"pkg:maven/org.geoserver/gs-wms","ranges":[{"introduced":"2.25.0","fixed":"2.25.2"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-6jj6-gm7p-fcvv","ecosystem":"Maven","name":"org.geoserver:gs-wms","purl":"pkg:maven/org.geoserver/gs-wms","ranges":[{"introduced":"2.23.0","fixed":"2.23.6"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-6jj6-gm7p-fcvv","ecosystem":"Maven","name":"org.geoserver:gs-wms","purl":"pkg:maven/org.geoserver/gs-wms","ranges":[{"introduced":"0","fixed":"2.22.6"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":84,"links":{"html_es":"/es/cve/CVE-2024-36401/","html_en":"/en/cve/CVE-2024-36401/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-36401","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-36401"},"untrusted":{"vendor_name":"OSGeo","product_name":"GeoServer","desc_en":"GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.22.6, 2.23.6, 2.24.4, and 2.25.2, multiple OGC request parameters allow Remote Code Execution (RCE) by unauthenticated users through specially crafted input against a default GeoServer installation due to unsafely evaluating property names as XPath expressions.\n\nThe GeoTools library API that GeoServer calls evaluates property/attribute names for feature types in a way that unsafely passes them to the commons-jxpath library which can execute arbitrary code when evaluating XPath expressions. This XPath evaluation is intended to be used only by complex feature types (i.e., Application Schema data stores) but is incorrectly being applied to simple feature types as well which makes this vulnerability apply to **ALL** GeoServer instances. No public PoC is provided but this vulnerability has been confirmed to be exploitable through WFS GetFeature, WFS GetPropertyValue, WMS GetMap, WMS GetFeatureInfo, WMS GetLegendGraphic and WPS Execute requests. This vulnerability can lead to executing arbitrary code.\n\nVersions 2.22.6, 2.23.6, 2.24.4, and 2.25.2 contain a patch for the issue. A workaround exists by removing the `gt-complex-x.y.jar` file from the GeoServer where `x.y` is the GeoTools version (e.g., `gt-complex-31.1.jar` if running GeoServer 2.25.1). This will remove the vulnerable code from GeoServer but may break some GeoServer functionality or prevent GeoServer from deploying if the gt-complex module is needed.","affected":[{"untrusted_vendor":"geoserver","untrusted_product":"geoserver","default_status":"affected","versions":[{"version":"0","less_than":"2.23.6","status":"affected"},{"version":"2.24.0","less_than":"2.24.4","status":"affected"},{"version":"2.25.0","less_than":"2.25.2","status":"affected"}]}],"kev":{"vendor":"OSGeo","product":"GeoServer","name":"OSGeo GeoServer GeoTools Eval Injection Vulnerability","desc":"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.","action":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","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"},"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"58d4a3ffb8dcba6f50d6e0ab8448305c","generated":"2026-11-30T19:19:35.756595Z","es":{"untrusted_title":"Ejecución remota de código sin autenticación en GeoServer y GeoTools","untrusted_summary":"GeoServer y GeoTools evalúan inseguramente nombres de propiedades como expresiones XPath, permitiendo ejecución remota de código sin autenticación en todas las instancias. Los atacantes pueden explotar solicitudes OGC (WFS GetFeature, WMS GetMap, WPS Execute, etc.) con entrada especialmente elaborada. CISA confirmó esta vulnerabilidad como explotada activamente."},"en":{"untrusted_title":"Unauthenticated Remote Code Execution in GeoServer and GeoTools","untrusted_summary":"GeoServer and GeoTools unsafely evaluate property names as XPath expressions, allowing unauthenticated remote code execution on all instances. Attackers can exploit OGC requests (WFS GetFeature, WMS GetMap, WPS Execute, etc.) with specially crafted input. CISA confirmed this vulnerability as actively exploited."},"remediation":{"status":"fix","fixed_versions":["2.22.6","2.23.6","2.24.4","2.25.2"],"untrusted_action_es":"Actualiza GeoServer a versión 2.22.6, 2.23.6, 2.24.4 o 2.25.2 según tu rama. Como mitigación temporal, elimina el archivo gt-complex-x.y.jar del directorio de GeoServer.","untrusted_action_en":"Update GeoServer to version 2.22.6, 2.23.6, 2.24.4, or 2.25.2 depending on your branch. As a temporary mitigation, remove the gt-complex-x.y.jar file from the GeoServer directory.","vendor_url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv"},"reviewed":false},"references":[{"url":"https://github.com/Warxim/CVE-2022-41852?tab=readme-ov-file#workaround-for-cve-2022-41852","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv","tags":["Mitigation","Vendor Advisory"]},{"url":"https://github.com/geotools/geotools/pull/4797","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/geotools/geotools/security/advisories/GHSA-w3pj-wh35-fq8w","tags":["Exploit","Vendor Advisory"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOT-7587","tags":["Vendor Advisory"]},{"url":"https://www.vicarius.io/vsociety/posts/geoserver-rce-cve-2024-36401","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-36401","tags":["US Government Resource"]}],"news":[{"source":"Cyber Security News","published":"2026-11-27T06:35:33+00:00","url":"https://cybersecuritynews.com/military-and-government-networks/","title":"Hackers Breach Military and Government Networks Across Southeast Asia, Stealing Sensitive Documents","summary":"Hackers stole gigabytes of sensitive documents and exposed government credentials in a cyber espionage campaign that breached military, government and legislative organizations in Thailand and the Philippines. The operation, called RedOps, ran from August to September 2026 and involved five confirmed intrusions. Researchers also observed reconnaissance against more than 30 Indonesian government o…"}]},"social":{"people":1,"posts":1,"window_days":30}}