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.
Conclusion & alert: CVE-2021-28398 is rated Moderate Risk (50.2/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.09%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-16 | 1.05% | 1.09% | +0.05% |
| 2 | 2026-06-15 | 1.12% | 1.05% | -0.08% |
| 3 | 2025-09-13 | — | 1.12% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.2 | 3.1 | HIGH |
|
1.2 | 5.9 | [email protected] |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| osgeo | geonetwork | >= 3.4.0, < 3.12.0 | cpe:2.3:a:osgeo:geonetwork:*:*:*:*:*:*:*:* |
| osgeo | geonetwork | >= 4.0.0, < 4.0.4 | cpe:2.3:a:osgeo:geonetwork:*:*:*:*:*:*:*:* |
| osgeo | geonetwork | 4.0.0 | cpe:2.3:a:osgeo:geonetwork:4.0.0:alpha1:*:*:*:*:*:* |
| osgeo | geonetwork | 4.0.0 | cpe:2.3:a:osgeo:geonetwork:4.0.0:alpha2:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://geonetwork-opensource.org/ | Product |
| https://geonetwork-opensource.org/manuals/trunk/en/overview/change-log/version-3.6.0.html | Patch Release Notes Vendor Advisory |
| https://github.com/geonetwork/core-geonetwork | Third Party Advisory |
| https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-cf8p-c88c-h9jf | Mitigation Patch Third Party Advisory |