← Vulnerability feed

Vulnerability record · CVE-2021-28398 · published 5 September 2022

CVE-2021-28398: Osgeo geonetwork os command injection vulnerability

Osgeo · Geonetwork

A privileged attacker in GeoNetwork before 3.12.0 and 4.x before 4.0.4 can use the directory harvester before-script to execute arbitrary OS commands remotely on the hosting infrastructure. A User Administrator or Administrator account is required to perform this. This occurs in the runBeforeScript method in harvesters/src/main/java/org/fao/geonet/kernel/harvest/harvester/localfilesystem/LocalFilesystemHarvester.java. The earliest affected version is 3.4.0.

7.2 CVSS 3.1 High EPSS 1.5% · top 26.1% CWE-78 · OS command injection
7.2CVSS 3.1 base score
1.5%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References
17 Jun 2026Last modified by NVD

Description

A privileged attacker in GeoNetwork before 3.12.0 and 4.x before 4.0.4 can use the directory harvester before-script to execute arbitrary OS commands remotely on the hosting infrastructure. A User Administrator or Administrator account is required to perform this. This occurs in the runBeforeScript method in harvesters/src/main/java/org/fao/geonet/kernel/harvest/harvester/localfilesystem/LocalFilesystemHarvester.java. The earliest affected version is 3.4.0.

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-28398 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.1CVE-2025-30220Geotools xml external entity (xxe) vulnerabilityGeoServer is an open source server that allows users to share and edit geospatial data. GeoTools Schema class use of Eclipse XSD library to represent…EPSS 44%8.7CVE-2022-50899Osgeo geonetwork xml external entity (xxe) vulnerabilityGeonetwork 3.10 through 4.2.0 contains an XML external entity vulnerability in PDF rendering that allows attackers to retrieve arbitrary files from t…EPSS 0.55%5.3CVE-2024-32037Osgeo geonetwork information exposure vulnerabilityGeoNetwork is a catalog application to manage spatially referenced resources. In versions prior to 4.2.10 and 4.4.5, the search end-point response he…EPSS 0.38%8.6CVE-2026-111560Barracuda email security gateway 300 firmware os command injection vulnerabilityImproper neutralization of shell metacharacters in the timezone configuration field in certain Barracuda appliance products using common Barracuda co…KEVEPSS 9.1%9.8CVE-2026-116779Freeswitch command injection vulnerabilityFreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a software implementation tha…KEVEPSS 2.5%7.8CVE-2026-46300Linux kernel out-of-bounds write vulnerabilityIn the Linux kernel, the following vulnerability has been resolved: net: skbuff: preserve shared-frag marker during coalescing skb_try_coalesce() can…KEVEPSS 16%9.2CVE-2026-111497Google brotli unchecked return value vulnerabilityA buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli versions 1.0.3 through 1.2.0 on all platforms allows a remote…KEVEPSS 83%9.2CVE-2026-110447Collabora online - built-in code server os command injection vulnerabilityCollabora Online Built-in CODE Server before 26.4.303 (richdocumentscode), a Nextcloud app, allows remote code execution, as exploited in the wild in…KEVEPSS 73%

Source: NIST National Vulnerability Database (record CVE-2021-28398), CISA KEV, FIRST EPSS (scores of 2026-11-13). This page is refreshed as NVD updates the record.