Sonatype Nexus Security Advisory
Date: December 2, 2026
Affected Versions: All Sonatype Nexus Repository 3 CE/Pro versions from 3.96.0 up to and including 3.97.x
Fixed in Version: Sonatype Nexus Repository 3 CE/Pro version 3.98.0
CVSS: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N = 7.7 (High)
CWE: CWE-863: Incorrect Authorization
Sonatype Guide: https://guide.sonatype.com/vulnerability/CVE-2026-136955
Summary
An authorization vulnerability in Sonatype Nexus Repository 3 lets a user run an existing script task while script execution is disabled. This can lead to the execution of code on the server.
The user must hold the nexus:tasks:start privilege. The attack needs a script task that already exists in the installation. This is common in installations that used scripts in the past.
At the time of this advisory, Sonatype is not aware of this vulnerability being actively exploited in the wild.
Recommendation
Users are advised to upgrade to Sonatype Nexus Repository 3 CE/Pro version 3.98.0 or later. Downloads are available at https://help.sonatype.com/en/download.html.
Version 3.98.0 turns script execution off by default. If you use stored scripts or script tasks, set nexus.scripts.allowExecution=true after the upgrade.
After you upgrade, review the list of scheduled tasks and the users and roles that hold the nexus:tasks:start privilege. Remove any task or privilege that you do not expect.
Immediate Mitigation Options
The following measures reduce exposure for installations that cannot upgrade immediately:
- Remove script tasks: Delete or disable every scheduled task of the type “Admin - Execute script”. Without an existing script task, the attack is not possible.
-
Restrict the privilege: Grant the
nexus:tasks:startprivilege (for example through thenx-tasks-runprivilege or any role that contains it) only to fully trusted administrators.
Frequently Asked Questions
Q: What is the risk associated with this vulnerability?
A: A user who holds the nexus:tasks:start privilege can run code on the server with the privileges of the Nexus service account. This code can read and change data that the Nexus service account can access.
Q: What preconditions must be met in order to be vulnerable?
A: The attacker must have network access to the Nexus Repository web interface or REST API. The attacker must use an account that holds the nexus:tasks:start privilege, directly or through a role. A script task must already exist in the installation. The anonymous user does not hold this privilege by default. It is only an issue for the anonymous user if an administrator explicitly grants it.
Q: Are there implications associated with this advisory itself?
A: Publishing this advisory may enable malicious actors to attempt to exploit this vulnerability. Affected users should assess their exposure and apply the recommended upgrade or interim mitigation as soon as practicable.
Q: Why is Sonatype making this information available?
A: Sonatype follows responsible disclosure practices. We coordinate with security researchers who report vulnerabilities to us in good faith, and we publish advisories after a fix is available so that users can take informed action to protect their installations.