CVE-2026-136959

Nexus Repository 3 - Code Execution via Untrusted Submodule Processing in CocoaPods Proxy Repositories

Published Dec 2, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
Description
Sonatype Nexus Repository 3 CE/Pro does not treat the Git submodules of a proxied CocoaPods package as untrusted. A crafted package can cause the server to run attacker-chosen code with the privileges of the Nexus Repository process. When anonymous access is enabled, users who have not supplied credentials have read access to all repositories by default and can exploit this issue without logging in. When anonymous access is disabled, the attacker needs an account that has supplied valid credentials and has read permission on a CocoaPods proxy repository. Only instances that run on a case-insensitive file system, such as Windows or macOS, are affected.

Analysis

AI-generated

Technical impact

A crafted CocoaPods package can trigger code execution on a Sonatype Nexus Repository 3 instance because the server does not treat Git submodules in a proxied CocoaPods repository as untrusted. The malicious package causes the Nexus Repository process to run attacker‑provided code with the privileges of the service account, resulting in full compromise of the host. The flaw is a CWE‑829 violation, where untrusted content is processed without adequate isolation.

Affected Systems

Sonatype Nexus Repository 3, all versions from 3.93.0 through 3.98.3 are vulnerable when running on a case‑insensitive file system such as Windows or macOS. The vulnerability is exposed in any instance that hosts a proxied CocoaPods repository and has anonymous read access enabled, or otherwise requires an authenticated account that has at least read permission on such a repository.

Risk and Exploitability

The CVSS score of 7.7 indicates a high severity risk. The EPSS score of less than 1 % reflects a very low probability of exploitation at the time of analysis, and the flaw is not listed in the CISA KEV catalog. However, the attack path is straightforward: an unauthenticated user can upload a malicious CocoaPods package to a public proxy repository when anonymous access is enabled; if anonymous access is disabled, any authenticated user with read rights to the repository can trigger the exploit. Because the vulnerability allows remote code execution with the privileges of the Nexus process, a successful attack could lead to compromise of the underlying operating system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Nexus Repository 3 installation to version 3.99.0 or later, which contains the fix for the submodule handling issue.
  • If an upgrade is not immediately possible, disable anonymous read access to all CocoaPods proxy repositories and ensure that only authenticated users with strictly necessary permissions can read from them.
  • Apply network segmentation or firewall rules to limit external access to the Nexus Repository service, reducing the attack surface for potential exploitation.

Generated by OpenCVE AI on December 3, 2026 at 16:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Sonatype Nexus Repository 3 CE/Pro does not treat the Git submodules of a proxied CocoaPods package as untrusted. A crafted package can cause the server to run attacker-chosen code with the privileges of the Nexus Repository process. When anonymous access is enabled, users who have not supplied credentials have read access to all repositories by default and can exploit this issue without logging in. When anonymous access is disabled, the attacker needs an account that has supplied valid credentials and has read permission on a CocoaPods proxy repository. Only instances that run on a case-insensitive file system, such as Windows or macOS, are affected.
Title Nexus Repository 3 - Code Execution via Untrusted Submodule Processing in CocoaPods Proxy Repositories
First Time appeared Sonatype
Sonatype nexus Repository Manager
Weaknesses CWE-829
CPEs cpe:2.3:a:sonatype:nexus_repository_manager:3.93.0:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.93.1:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.93.2:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.93.3:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.94.0:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.94.1:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.94.2:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.94.3:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.95.0:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.95.1:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.95.2:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.95.3:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.95.4:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.95.5:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.96.0:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.96.1:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.96.2:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.96.3:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.96.4:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.96.5:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.97.0:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.97.1:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.97.2:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.97.3:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.97.4:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.97.5:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.98.0:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.98.1:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.98.2:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.98.3:*:*:*:*:*:*:*
Vendors & Products Sonatype
Sonatype nexus Repository Manager
References
Metrics cvssV4_0

{'score': 7.7, 'vector': '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'}

Weaknesses
  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere

Sources

Status
PUBLISHED
Assigner
Sonatype
Published
Updated
Dec 2, 2026, 10:03 PM
Reserved
Nov 25, 2026, 4:17 PM
Status
Awaiting Analysis
Published
Dec 2, 2026, 10:18 PM
Modified
Dec 3, 2026, 9:41 PM