CVE-2026-77124: Nexus Repository 3 - Script Execution Disable Setting Not Enforced
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.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this behavior?
An account that holds script-execution permission can exploit it. The account must be able to run a script that was created previously.
Is a repository still affected after script creation has been disabled?
Yes. Setting nexus.scripts.allowCreation=false does not prevent the affected script-run endpoint from executing previously created scripts for accounts with script-execution permission.