Skip to content
OpenAdvisories
High · 8.7 CVE-2026-17603 EUVD-2026-54513GHSA-65xx-g4qc-4g4m

Nexus Repository 3 - HikariCP connectionInitSql Injection RCE via DataStore Configuration API

Published Aug 7, 2026 · Updated Aug 7, 2026 · Assigned by Sonatype

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.

Affected products

VendorProductAffectedFixed
Sonatype Nexus Repository 3 3.20.0 – < 3.95.0 3.95.0

Advisories 1

References