RCE in Sonatype Nexus Repository 3

CVE-2026-17603

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.004 (32.6th percentile) — read the EPSS interpretation.

Affected products

Weakness classification (CWE)

References