Skip to main content

Nexus Repository EUVDEUVD-2026-54521

| CVE-2026-17593 HIGH
Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') (CWE-470)
2026-08-07 Sonatype GHSA-rw8g-2688-625j
7.2
CVSS 4.0 · Vendor: Sonatype
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain nexus:settings:update account credentials
  2. Delivery
    Submit crafted realm identifier to internal configuration API
  3. Exploit
    Malicious identifier persisted without validation
  4. Execution
    Realm reload event triggers legacy code path evaluation
  5. Persist
    Unintended code executes inside Nexus Repository process
  6. Impact
    Persistent 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Nexus Repository 2.8.0 <3.95.0

Affected Packages

euvd nexus_repository fix: 3.95.0

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

Vendor (Sonatype) PRIMARY 7.2 HIGH
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
vuln.today AI 8.8 HIGH

PR:L reflects the required settings:update permission; RCE within the Nexus process implies full C/I/A despite vendor's VC:N rating.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Sonatype).

CVSS VectorVendor: Sonatype

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
High
widely-deployed enterprise artifact repository in DevOps and CI/CD pipelines
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy