CVE-2020-10199 — nexus-extdirect
HIGHCVE-2020-10199 is a high-severity (CVSS 8.8) Expression Language Injection vulnerability in org.sonatype.nexus:nexus-extdirect. It is in CISA's Known Exploited Vulnerabilities catalog (added 2021-11-03) — treat it as actively exploited and patch now. A fix is available for org.sonatype.nexus:nexus-extdirect — see the affected versions and patch details below.
Nexus Repository Manager 3 - Remote Code Execution
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2021-11-03. Federal agencies were required to remediate by 2022-05-03.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2020-10199.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2020-10199 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 394,803 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
org.sonatype.nexus:nexus-extdirectReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Sonatype Nexus Repository before 3.21.2 allows JavaEL Injection (issue 1 of 2).
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.sonatype.nexus:nexus-extdirect | all versions | 3.21.2org.sonatype.nexus:nexus-extdirect:3.21.2 |
Affected Products
nexussonatypeResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Sonatype Nexus 3.21.1 - Remote Code Execution (Authenticated)
by 1F98D · Jan 6, 2021
Nexus Repository Manager - Java EL Injection RCE (Metasploit)
by Metasploit · Apr 17, 2020
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.sonatype.nexus:nexus-extdirect, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.sonatype.nexus:nexus-extdirect to 3.21.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-10199 is resolved across your whole dependency graph.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
How to detect CVE-2020-10199
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2020-10199 -u https://target- Template
- Sonatype Nexus Repository Manager 3 - Remote Code Execution
- Severity
- high
- Impact
- Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
- Remediation
- Apply the latest security patches or upgrade to a non-vulnerable version of Sonatype Nexus Repository Manager 3.
Template by ProjectDiscovery nuclei-templates (rootxharsh, iamnoooob, pdresearch), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2020-10199 in your dependencies?
Find it across Maven, including transitive dependencies.