What is Sonatype Nexus Repository Manager?
Nexus Repository Manager is a widely used artifact repository (for Maven, npm, Docker, and other package formats) that development teams host internally to manage software dependencies and build artifacts across the CI/CD pipeline. Because it sits at the heart of the software supply chain and is often reachable by build infrastructure, a compromised Nexus instance can be leveraged to poison builds or pivot deeper into an organization's network.
Overview
CVE-2019-7238 is an incorrect access control vulnerability in Nexus Repository Manager versions before 3.15.0 that allows an attacker to reach privileged internal functionality and achieve remote code execution. It is rated critical (CVSS 9.8) and was actively exploited in the wild not long after disclosure — mass scanning of internet-exposed Nexus servers to install cryptocurrency-mining malware was reported within months of the fix shipping.
Affected Versions
| Product | Vulnerable | Fixed |
|---|---|---|
| Nexus Repository Manager 3 (OSS/Pro) | before 3.15.0 | 3.15.0 and later |
Technical Details
The vulnerability arises from access controls on certain Nexus REST/internal API endpoints that fail to properly restrict what an unauthenticated or low-privileged caller can invoke, letting an attacker reach functionality intended for administrators. Chained with the product's task-execution or scripting features, this can be escalated into full remote code execution on the host running Nexus.
Discovery
Sonatype disclosed and patched the issue in the 3.15.0 release (March 2019); NVD does not credit an individual external researcher.
Exploitation Context
Following public disclosure, security researchers and threat-intelligence teams observed mass internet scanning for exposed, unpatched Nexus Repository Manager instances, with successful compromises used to deploy cryptocurrency-mining malware. CISA's KEV listing confirms this history of confirmed real-world exploitation.
Remediation
- Upgrade Nexus Repository Manager to 3.15.0 or later immediately.
- Never expose the Nexus admin interface or REST API directly to the internet — restrict access to build infrastructure and VPN-connected users.
- Review Nexus and host-level logs for unexpected task creation, script execution, or outbound connections consistent with cryptomining.
- Rotate any credentials or repository tokens that may have been accessible from a compromised instance.
- Apply least-privilege principles to Nexus user roles and disable unused REST endpoints where possible.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2019-7238 |
| Vendor / Product | Sonatype — Nexus Repository Manager |
| NVD Published | 2019-03-21 |
| NVD Last Modified | 2025-11-06 |
| CVSS 3.1 Score | 9.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Severity | CRITICAL |
| CISA KEV Added | 2021-12-10 |
| CISA KEV Deadline | 2022-06-10 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2019-03-21 | Fixed by Sonatype in Nexus Repository Manager 3.15.0 |
| 2021-12-10 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2022-06-10 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2019-7238 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |