CVE-2026-58400: CWE-94: Improper Control of Generation of Code ('Code Injection') in geonetwork core-geonetwork
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.
CVSS v3.1
Score 9.1critical
Affected software
geonetwork
core-geonetwork
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
GeoNetwork's core-geonetwork component uses the Saxon XSLT processor to render formatters. In versions before 4.4.12 and 4.2.17, the processor lacks secure processing (`FEATURE_SECURE_PROCESSING`) and does not disable Java extension functions (`ALLOW_EXTERNAL_FUNCTIONS`). This misconfiguration allows any stylesheet uploaded by a privileged user to invoke Java methods such as `java.lang.Runtime.exec()` or `java.lang.ProcessBuilder`, resulting in arbitrary command execution with the privileges of the GeoNetwork process user. The vulnerability is addressed by patching these versions.
Potential Impact
An attacker with sufficient privileges to upload an XSL stylesheet can execute arbitrary operating system commands with the same privileges as the GeoNetwork process. This can lead to full system compromise, data loss, or disruption of service. The CVSS score of 9.1 reflects the critical nature of this vulnerability with high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
This vulnerability is patched in GeoNetwork versions 4.4.12 and 4.2.17. Users should upgrade to these or later versions to remediate the issue. No other mitigation guidance is provided or necessary if the patch is applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-30T18:19:58.378Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a9aa539acd9273b497728d5
Added to database: 09/04/2026, 11:02:17 UTC
Last enriched: 09/07/2026, 12:22:47 UTC
Last updated: 10/18/2026, 06:48:18 UTC
Views: 103
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.