ZeroHour

CVE-2026-58400

moderate

Arbitrary Command Execution via Saxon XSLT in GeoNetwork Formatters

CVSS 3.1
9.1 critical
EPSS
1%p66
Published
()
Modified
AI analysis

GeoNetwork versions before 4.4.12 and before 4.2.17 run the Saxon XSLT processor used to render formatters without secure processing (FEATURE_SECURE_PROCESSING) and without disabling Java extension functions (ALLOW_EXTERNAL_FUNCTIONS), so any stylesheet the application loads can invoke Java methods directly. A user with sufficient privileges to upload a formatter can deliver a malicious .xsl file that calls java.lang.Runtime.exec() or java.lang.ProcessBuilder, achieving arbitrary operating system command execution with the privileges of the GeoNetwork process. An attacker therefore gains code execution on the server (CVSS 9.1, scope-changing, critical), although network reachability requires an account that can upload formatters. All GeoNetwork deployments on the 4.4 branch prior to 4.4.12 and the 4.2 branch prior to 4.2.17 are affected, and related reporting highlights government geoportal backends as a key exposed population. No public proof-of-concept or confirmed in-the-wild exploitation is known (not in CISA KEV; EPSS ~1.2% over 30 days), though related headlines describe a fixed unauthenticated RCE chain affecting government geoportals, suggesting the flaw may be reachable through a longer attack chain.

What to do: Upgrade GeoNetwork to 4.4.12 on the 4.4 branch or 4.2.17 on the 4.2 branch (or later). Until patched, restrict formatter upload privileges to trusted administrators only and audit existing uploaded .xsl formatter files for Java extension calls such as Runtime.exec or ProcessBuilder. Internet-exposed GeoNetwork instances, especially government geoportals, should be prioritized, and given the related unauthenticated RCE chain headline, review authentication and any chained entry points on affected servers.

Affected
OSGeo (GeoNetwork project) GeoNetwork opensource (4.4 branch)all versions prior to 4.4.12
OSGeo (GeoNetwork project) GeoNetwork opensource (4.2 branch)all versions prior to 4.2.17
Estimated exposure
moderateon the order of 1,000-10,000 deployments worldwide, many internet-exposed (estimated) — GeoNetwork is a widely adopted OSGeo catalog commonly deployed as government and institutional geoportal backends, a footprint consistent with low thousands of instances rather than hundreds of thousands; no exact install count or public…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

GeoNetwork is a catalog application to manage spatially referenced resources. Prior to versions 4.4.12 and 4.2.17, the Saxon XSLT processor used to render formatters is configured without secure processing (`FEATURE_SECURE_PROCESSING`) and without disabling Java extension functions (`ALLOW_EXTERNAL_FUNCTIONS`). Any stylesheet loaded by GeoNetwork can therefore invoke `java.lang.Runtime.exec()` or `java.lang.ProcessBuilder` directly, achieving arbitrary command execution as the GeoNetwork process user. A user with sufficient privileges to upload a formatter can deliver a `.xsl` file containing Java extension call that execute arbitrary OS commands with the privileges of the GeoNetwork process. The issue is patched in GeoNetwork versions 4.4.12 and 4.2.17.

Weakness
CWE-94, CWE-470
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

In the news

GeoNetwork Fixes Unauthenticated RCE Chain Affecting Government Geoportal Backends

GeoNetwork patched two chained flaws (CVE-2026-63219, CVE-2026-58400) enabling unauthenticated RCE in government geospatial metadata catalogs.

Two flaws in the open-source GeoNetwork catalog chain into unauthenticated RCE: a missing authorization check on the formatter upload endpoint (CVE-2026-63219, CVSS 8.6) and an unsafe Saxon XSLT processor configuration allowing Java execution (CVE-2026-58400, CVSS 9.1). Fixes shipped in versions 4.4.12 and 4.2.17 on July 8, 2026, with details published August 31. Ethiack fingerprinted 121 internet-exposed vulnerable deployments across 39 countries, 89% tied to government or military agencies. No exploitation in the wild or KEV listing was reported at disclosure.