The GeoNetwork software is widely used by organizations for spatial data and metadata management. It is designed to facilitate the discovery, editing, and sharing of geospatial data among users, supporting decision-making processes. This software is implemented in various sectors including government agencies, research institutions, and environmental organizations. GeoNetwork's primary aim is to improve the efficiency of spatial data accessibility through a well-structured catalog service. Built on free and open-source technology, it allows users to manage their geospatial resources effectively and securely. By integrating a powerful search function with user-friendly interfaces, it caters to both technical and non-technical users to leverage spatial data in projects.
The vulnerability detected in GeoNetwork is a Remote Code Execution (RCE), which allows attackers to execute arbitrary commands on a remote server. This occurs due to improper handling in the XSLT processor configuration, which unwittingly enables Java extension functions. RCE vulnerabilities are critical because they can lead to unauthorized system access and control by exploiting weaknesses in software configurations. By leveraging this flaw, a malicious entity can bypass security controls and potentially gain high privileges. Consequently, this vulnerability poses severe risks, requiring immediate patches to prevent potential exploitation. Ensuring that software is updated to the latest versions can help mitigate these high-risk vulnerabilities.
Technical details reveal that the vulnerable endpoint is part of the GeoNetwork's service related to handling metadata and formatting. The vulnerable parameter exists within the API 'formatters' endpoint, facilitating command injection through XSLT processing. Exploitation involves crafting special XML payloads that manipulate Java functionalities to execute commands. The vulnerability is facilitated by inadequate restrictions on external entities in the XSLT processor. Attackers with upload privileges can strategically deliver manipulated XSL files to exploit this weakness. Monitoring such integrations is crucial for detecting any unauthorized access or system modifications caused by successful exploitation of the vulnerability.
If exploited, the vulnerability can result in severe consequences such as full system compromise, sensitive data exposure, or service disruptions. Attackers could potentially gain control over the server, manipulate or leak sensitive information, and deploy further malicious activities. The unauthorized control extends to executing arbitrary OS commands with process user privileges, jeopardizing the system's integrity and availability. Furthermore, it can allow attackers to install malware, disrupt services, which could lead to financial loss and reputational damage to the affected entities. This necessitates immediate attention to applying updates and employing strict security measures to avert such detrimental impacts.
REFERENCES
- https://nvd.nist.gov/vuln/detail/CVE-2026-58400
- https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-x898-729x-cc3r
- https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-mh22-prqr-vf42
- https://github.com/c0gnit00/GNSShell
- https://github.com/Cyberuser-hash/CVE-2026-63219
- Upgrade GeoNetwork to version 4.4.12 or 4.2.17 or later.
- Secure upload functionalities to mitigate exploitation risks.
- Deploy firewall rules to restrict unauthorized access attempts to API endpoints.
- Implement input validation mechanisms to detect and block malicious payloads.
- Regularly audit system configurations and update them to reinforce security posture.
Get AI-powered remediation steps tailored to your asset.
Try AI Solutions →