CVE-2026-17603 Details
Description
Nexus Repository 3 did not sufficiently restrict which HikariCP connection-pool properties could be set through the DataStore configuration API. A user holding the nx-datastores-update permission could set the connectionInitSql property to execute arbitrary SQL against the configured database on every new connection. On the default H2 database backend, this could be leveraged to achieve remote code execution as the Nexus process user.
A remote code execution vulnerability has been identified in Sonatype Nexus Repository 3, specifically in versions 3.20.0 prior to 3.94.x. The issue arises from insufficient restrictions on HikariCP connection-pool properties that can be modified through the DataStore configuration API. A user with the 'nx-datastores-update' permission could exploit this by setting the 'connectionInitSql' property to execute arbitrary SQL commands against the database with each new connection. In deployments using the default H2 database, this vulnerability could be leveraged for remote code execution as the user running the Nexus process.
Users are advised to upgrade to Nexus Repository 3 CE/Pro version 3.95.0 or later. If an immediate upgrade is not possible, the 'nx-datastores-update' permission should be restricted to trusted administrators, and existing DataStore configurations should be audited for unexpected 'advanced' connection-pool properties, particularly 'connectionInitSql'.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://help.sonatype.com/en/sonatype-nexus-repository-3-95-0-release-notes.html | Sonatype | Release Notes |
| https://support.sonatype.com/hc/en-us/articles/53890127489427/ | Sonatype | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | Sonatype |
Affected Products
| Product | Versions |
|---|---|
| sonatype nexus repository manager | >= 3.20.0, < 3.95.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Sep 22, 2026 | Initial Analysis | [email protected] |
| Aug 7, 2026 | CVE Modified | CISA-ADP |
| Aug 7, 2026 | New CVE Received | Sonatype |