Skip to main content
EPSS 1.2%top 33%

CVE-2026-58400: CWE-94: Improper Control of Generation of Code ('Code Injection') in geonetwork core-geonetwork

0
Critical
VulnerabilityCVE-2026-58400cvecve-2026-58400cwe-94cwe-470
Published: 09/03/2026 (09/03/2026, 17:06:17 UTC)
Source: CVE Database V5
Vendor/Project: geonetwork
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Affected software

geonetwork

core-geonetwork

Affected versions
>=4.3.0 <4.4.12<4.2.17

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 12:22:47 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses