CVE-2026-136960: Nexus Repository 3 - Terraform Hosted Repository Authorization Bypass
Sonatype Nexus Repository 3 contains an incorrect authorization vulnerability in Terraform hosted repositories. An attacker who holds the read permission on a Terraform hosted repository, but not the edit permission, can upload modules to that repository. The same is possible without credentials if anonymous access is enabled, because the anonymous user has read access to all repositories by default.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to unauthorized uploads?
Any user or principal with read permission on a Terraform hosted repository may be able to upload modules despite lacking edit permission. If anonymous access is enabled, unauthenticated users may also be able to upload because the anonymous user has read access to all repositories by default.
What configuration makes unauthenticated exploitation possible?
Unauthenticated exploitation is possible when anonymous access is enabled. The default anonymous read access to repositories then provides the permission condition needed to upload to Terraform hosted repositories.
What should be prioritized if immediate remediation is not available?
Prioritize disabling anonymous access where it is enabled and review read access assigned to Terraform hosted repositories. Users with read access should be treated as potentially able to upload modules until the authorization issue is remediated.