Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain nexus:settings:update account credentials
-
DeliverySubmit crafted realm identifier to internal configuration API
-
ExploitMalicious identifier persisted without validation
-
ExecutionRealm reload event triggers legacy code path evaluation
-
PersistUnintended code executes inside Nexus Repository process
-
ImpactPersistent authentication lockout or full RCE impact achieved
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V15 - Secure Coding and Architecture Reflection safety, class allowlisting
|
| Exploitation Conditions | Exploitation requires an authenticated account explicitly granted the nexus:settings:update permission in Nexus Repository 3, or the equivalent nexus:settings permission in Nexus Repository 2 - these are administrative-tier rights for managing security realm configuration and are not assigned to standard repository users by default. Network-level access to the Nexus internal configuration API is also required (AV:N per the CVSS 4.0 vector). Factors that limit exploitation include: the targeted permission is not a default grant and must be explicitly delegated by a full administrator; the impact pathway depends on the legacy realm-loading code path being triggered on a subsequent reload event (not instantaneous on submission); and exploitation that causes a full authentication lockout may be self-limiting if the attacker's own session is also invalidated. No special non-default product configuration beyond holding the requisite permission is necessary - the vulnerable API endpoint is part of standard Nexus operation. |
| Impact | The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H) scores 7.2, reflecting low-complexity network exploitation by a low-privileged account, with high integrity and availability impact but - notably - no confidentiality impact on the vulnerable system. This VC:N assessment is in tension with the RCE classification: Nexus Repository typically stores build artifacts, repository-access credentials, signing keys, and proxy authentication secrets, all of which would be accessible to code running inside the Nexus process. Security teams should treat confidentiality impact as a real risk and verify the VC:N rating with Sonatype directly. The primary limiting factor - and the main reason real-world risk is lower than a raw score implies - is the requirement for the nexus:settings:update permission, which is an administrative-tier right not granted to standard users. Risk is materially elevated in organizations where this permission is broadly delegated, assigned to CI/CD service accounts, or where those accounts are susceptible to credential theft. No EPSS data is available in the input, KEV status is not confirmed, and no public POC has been identified, all of which reduce urgency relative to the severity score alone. |
| Exploit ScenarioDerived | An attacker who has obtained credentials for a Nexus service account with the nexus:settings:update permission - acquired via credential theft from a CI/CD pipeline secret store, an insider, or a phishing campaign targeting a Nexus administrator - submits a crafted realm identifier string to the internal Nexus configuration API. The value is persisted without validation, and on the next realm reload event the legacy code path evaluates the identifier, executing arbitrary code within the Nexus Repository server process. No public exploit code has been identified, but the exploitation mechanism requires only authenticated HTTP access to the configuration endpoint and knowledge of the API contract. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 07, 2026
Remote code execution in Sonatype Nexus Repository 3 (and legacy Nexus Repository 2) is achievable by any account holding the nexus:settings:update permission, which can submit arbitrary strings as realm identifiers to an internal configuration API that performs no validation against the registered realm set. Because unrecognized identifiers are persisted and re-evaluated on every realm load through a legacy code path (CWE-470, unsafe reflection), this allows unintended code to execute inside the Nexus Repository server process and can cause a persistent authentication lockout that is invisible through the administrative UI. A vendor-released patch is confirmed in Nexus Repository 3.95.0; no public exploit or CISA KEV listing has been identified at time of analysis.
RemediationAI
Upgrade Nexus Repository 3 to version 3.95.0 or later, which contains the vendor-confirmed patch introducing validation of realm identifiers against the registered realm set before persistence; consult release notes at https://help.sonatype.com/en/sonatype-nexus-repository-3-95-0-release-notes.html and the advisory at https://support.sonatype.com/hc/en-us/articles/53849535836179/ for full guidance. For Nexus Repository 2 deployments, contact Sonatype directly via the advisory page, as a confirmed patch version for NR2 is not identified in available data. As a compensating control prior to patching, audit all role assignments and remove the nexus:settings:update (NR3) or nexus:settings (NR2) permission from any account that does not strictly require it, including CI/CD service accounts and non-administrative users; note this reduces attack surface but does not eliminate risk from legitimately privileged or already-compromised accounts. Additionally, review Nexus audit logs for unexpected changes to realm configuration and monitor for authentication failures that may indicate a lockout condition has been triggered.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Sonatype Nexus Repository implements a pluggable security realm architecture in which named realm identifiers are resolved to concrete implementations at load time. The internal configuration API responsible for updating the active realm list (CWE-470: Use of Externally-Controlled Input to Select Classes or Code, also known as unsafe reflection) fails to validate submitted identifiers against the registry of known, registered realms before persisting them. A legacy realm-loading code path then re-evaluates all persisted identifiers on each reload, including attacker-supplied values, which can cause the runtime to instantiate or invoke code corresponding to arbitrary class names or identifiers. The same flaw exists in the predecessor product Nexus Repository 2 under the nexus:settings permission. CPE cpe:2.3:a:sonatype:nexus_repository:*:*:*:*:*:*:*:* indicates all tracked versions are affected with no lower-bound exclusion confirmed in available data.
Know when Nexus Repository gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
PR:L reflects the required settings:update permission; RCE within the Nexus process implies full C/I/A despite vendor's VC:N rating.
Primary rating from Vendor (Sonatype).
CVSS VectorVendor: Sonatype
DescriptionCVE.org
An account holding the nexus:settings:update permission in Nexus Repository 3 (or the equivalent nexus:settings permission in the legacy Nexus Repository 2) could submit arbitrary values as realm identifiers through an internal configuration API that did not validate them against the set of registered realms. Because unrecognized entries were persisted and re-evaluated on every realm load via a legacy code path, this could result in unintended code executing inside the Nexus Repository process, and in some cases a persistent authentication lockout that was not visible through the administrative UI.
Executive ViewAI
Sonatype Nexus Repository 3 contains a remote code execution vulnerability allowing authenticated administrators with settings update permissions to execute arbitrary code within the repository server and trigger persistent authentication failures. This directly threatens your software supply chain by potentially compromising all dependencies distributed through Nexus and disrupting CI/CD operations for development teams organization-wide.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Nexus Repository
View allHard-coded credentials in Sonatype Nexus Repository 3.0.0 through 3.70.5 allow unauthenticated attackers with network ac
Arbitrary OS command execution in Sonatype Nexus Repository 3 versions prior to 3.92.0 allows authenticated users holdin
Server-Side Request Forgery in Sonatype Nexus Repository 3 exposes internal network infrastructure to authenticated user
Stored cross-site scripting (XSS) in Sonatype Nexus Repository 3.6.0 through 3.91.x allows authenticated users with uplo
Server-side request forgery with deserialization characteristics in Sonatype Nexus Repository Manager 3.0.0 through 3.91
EUVD-2026-54521
GHSA-rw8g-2688-625j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB