ZeroHour

CVE-2026-77124

large

Security bypass in Sonatype Nexus Repository 3 script execution endpoint

CVSS 4.0
7.5 high
EPSS
<1%p23
Published
()
Modified
AI analysis

CVE-2026-77124 is a security-bypass flaw in Sonatype Nexus Repository 3: the script execution REST endpoint (POST /service/rest/v1/script/{name}/run) did not verify whether script execution had been administratively disabled. It is triggered when an administrator sets nexus.scripts.allowCreation=false expecting that to fully block script execution, yet any account that still holds script-execution permission can continue invoking previously created scripts via the API. An attacker or over-privileged account with valid credentials and script-execution rights gains continued ability to run stored scripts on the server, enabling data access, configuration changes, or other scripted actions despite the administrator's lockdown. Any organization running an affected Nexus Repository 3 version and relying on the allowCreation=false setting as a hard block, while accounts retain script-execution permissions, is affected. There is currently no public proof of concept, no CISA KEV listing, and a low EPSS score of 0.3%, indicating no known exploitation at this time.

What to do: Upgrade Nexus Repository 3 to the fixed release identified in the Sonatype advisory, where the script run endpoint correctly enforces the disabled state. As an interim mitigation, revoke script-execution permissions from accounts that do not need them, remove or review any stored scripts that could be abused, and restrict API access to /service/rest/v1/script/*. Do not rely on nexus.scripts.allowCreation=false alone as a complete block.

Affected
Sonatype Nexus Repository 3
Estimated exposure
largeon the order of tens of thousands of internet-exposed Nexus Repository instances, with a far larger base of internal/private deployments — Nexus Repository 3 is one of the most widely deployed self-hosted artifact repositories, and public internet scans typically enumerate low tens of thousands of exposed instances; practical exposure is limited to deployments where accounts…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

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.

Weakness
CWE-184
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.