Skip to main content

Nexus Repository 3 CVE-2026-77124

| EUVDEUVD-2026-70229 HIGH
Incomplete List of Disallowed Inputs (CWE-184)
2026-09-02 Sonatype GHSA-jrwv-32cm-hj63
7.5
CVSS 4.0 · Vendor: Sonatype
View

Attack ChainAIDerived

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

  1. Access
    Obtain or compromise nx-script privileged account
  2. Delivery
    Confirm nexus.scripts.allowCreation=false is active on target
  3. Exploit
    Enumerate pre-existing stored scripts via GET /v1/script
  4. Execution
    POST /v1/script/{name}/run bypassing administrative enforcement
  5. Persist
    Execute arbitrary Groovy code with server process privileges
  6. Impact
    Exfiltrate credentials and artifacts or pivot laterally

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
Exploitation Conditions

Exploitation requires all of the following to be simultaneously true: (1) the attacker controls a valid Nexus Repository 3 account with the nx-script (script-execution) permission, corresponding to PR:H; (2) the administrator has explicitly set nexus.scripts.allowCreation=false as a hardening measure - instances without this flag set are not in the specific affected security state described; and (3) at least one Groovy script must have been created and stored on the instance prior to the flag being set, since the bypass enables execution of existing scripts only and does not permit creation of new ones. What limits exploitation: standard user accounts without the script-execution role cannot exploit this; the flag must have been deliberately enabled as a hardening action; and scripts must pre-exist on the instance. Default Nexus installations without the hardening flag are unaffected by the specific security-control bypass described, though they remain exposed to script-execution risks through other means.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H) accurately captures the central tensions: network-reachable with low exploitation complexity once preconditions are met, but gated behind high-privilege credentials (PR:H) and a specific target condition (AT:P - the administrator must have already enabled the hardening flag and pre-existing scripts must be present). Real-world risk is consequently narrower than the raw impact metrics suggest: the bypass is only exploitable in hardened environments where the flag has been set, meaning default deployments without the flag are not in the specific affected state. The primary threat model is a privileged insider or attacker with compromised credentials undermining an administrator's deliberate hardening decision. No EPSS score is provided in the input data, and the absence of KEV listing indicates no confirmed in-the-wild exploitation at time of analysis. Even a mid-sized enterprise team that set nexus.scripts.allowCreation=false specifically to remove the scripting attack surface should treat this as urgent, since their expected security posture is not in effect until the patch is applied.

Exploit ScenarioDerived

An attacker who has compromised or obtained a Nexus account holding the script-execution permission authenticates to the REST API and enumerates stored scripts via GET /service/rest/v1/script, then issues POST /service/rest/v1/script/{name}/run against a suitable pre-existing Groovy script - bypassing the administrator's expectation that nexus.scripts.allowCreation=false had disabled this capability. The Groovy script executes server-side with Nexus process privileges, enabling arbitrary command execution, exfiltration of stored credentials and artifact metadata, or lateral movement within the server environment. No public proof-of-concept code has been identified, but the scripting API mechanics are publicly documented in Sonatype's developer resources.

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 – Sep 02, 2026

Script execution enforcement failure in Sonatype Nexus Repository 3 allows privileged authenticated users to invoke pre-existing Groovy scripts via POST /service/rest/v1/script/{name}/run even after administrators explicitly set nexus.scripts.allowCreation=false to disable the scripting subsystem. The execution endpoint did not consult the administrative flag, meaning a hardening action administrators believed fully blocked script activity was silently ineffective against execution of pre-existing scripts. A vendor-released patch is available in Nexus Repository 3.96.0; no active exploitation has been confirmed in CISA KEV and no public proof-of-concept has been identified.

RemediationAI

Vendor-released patch: Nexus Repository 3.96.0, documented at https://help.sonatype.com/en/sonatype-nexus-repository-3-96-0-release-notes.html. Upgrade to this release or later to restore enforcement of the nexus.scripts.allowCreation=false flag on the execution endpoint. Where immediate patching is not possible, revoke the script-execution role (nx-script) from all non-essential accounts - this eliminates the privileged account class required for exploitation, though it may disrupt automation pipelines. Additionally, audit and delete pre-existing scripts via GET /service/rest/v1/script followed by DELETE requests for each identified script; removing stored scripts closes the execution surface even if the enforcement gap persists. Network-level restriction of the /service/rest/v1/script/* path to trusted administrative subnets at the load-balancer or firewall layer provides an additional containment layer with the trade-off of blocking legitimate API-based administrative workflows from other networks.

Affected VersionsENISA

Nexus Repository 3 3.21.2 <3.96.0

Affected Packages

euvd nexus_repository_3 fix: 3.96.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 3 (CPE: cpe:2.3:a:sonatype:nexus_repository_3) is an enterprise artifact repository manager exposing a REST API that includes a Groovy scripting endpoint historically used for administrative automation. The property nexus.scripts.allowCreation=false was designed as a kill-switch, but CWE-184 (Incomplete List of Disallowed Inputs) manifests because the enforcement logic was applied only to the script creation endpoint (POST /service/rest/v1/script), not the execution endpoint (POST /service/rest/v1/script/{name}/run). Groovy scripts in Nexus execute with the privileges of the Java server process and have broad access to repository internals, making this scripting surface a high-value and historically targeted attack vector in Nexus deployments.

Know when Nexus Repository 3 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.5 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.2 HIGH

Network-accessible REST API requires high-privilege script-execution credentials (PR:H); the bypass itself is trivial once preconditions exist (AC:L), yielding full server-side Groovy code execution with no scope change.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:H/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
Present
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

In affected versions of Nexus Repository 3, the script execution endpoint (POST /service/rest/v1/script/{name}/run) did not verify whether script execution had been administratively disabled. An account holding script-execution permission could continue to run previously-created scripts even after an administrator set nexus.scripts.allowCreation=false, undermining the expectation that this setting fully blocks script execution.

Executive ViewAI

Why It Matters

Sonatype Nexus Repository 3 administrators' attempts to disable script execution via nexus.scripts.allowCreation=false can be silently bypassed by authenticated privileged users invoking pre-existing Groovy scripts. This control-bypass vulnerability creates supply chain risk, allowing insiders or compromised repository accounts to inject malicious code into software artifacts.

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 manager across DevOps 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

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2026-17594 HIGH POC
8.2 Aug 07

Incorrect authorization in the Nexus Repository 3 CE/Pro repository-creation UI allows an authenticated user with a form

CVE-2026-17601 HIGH
8.9 Aug 07

Privilege escalation in Sonatype Nexus Repository 3 allows an authenticated low-privileged user - who holds the 'update

CVE-2026-17603 HIGH
8.7 Aug 07

Remote code execution in Sonatype Nexus Repository 3 is achievable by any user holding the nx-datastores-update permissi

CVE-2026-97712 HIGH
8.7 Oct 15

Privilege escalation in Sonatype Nexus Repository 3 allows an authenticated user who holds the 'role create' or 'role up

CVE-2026-17600 HIGH
8.7 Aug 07

Insufficient session expiration in Sonatype Nexus Repository 3 allows a previously-authenticated user to retain full rep

CVE-2026-14644 HIGH
8.6 Aug 07

Privilege escalation in Sonatype Nexus Repository 3 allows an authenticated user holding privilege-management rights to

CVE-2026-14504 HIGH
8.2 Jul 14

Authorization bypass in Sonatype Nexus Repository 3's component upload API lets an account holding only read/browse priv

CVE-2026-97665 HIGH
7.1 Oct 15

Sonatype Nexus Repository 3 fails to enforce a write-authorization check on the NuGet symbol-package upload path, lettin

CVE-2026-77125 HIGH
7.1 Sep 02

Incorrect authorization in Sonatype Nexus Repository 3 allows a low-privileged user holding the `nexus:blobstores:create

CVE-2026-97666 MEDIUM
6.9 Oct 15

Java class-enumeration through the ExtDirect endpoint in Sonatype Nexus Repository 3 allows an unauthenticated, remote a

CVE-2026-17599 MEDIUM
6.9 Aug 07

Unverified password change in Sonatype Nexus Repository 3 allows any account holding the nexus:* permission to overwrite

CVE-2026-17596 MEDIUM
6.3 Aug 07

Stored XSS in Sonatype Nexus Repository 3 enables an authenticated user holding blob store management permissions to inj

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