Skip to content

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

HighCVSS 8.7 EPSS 0.87%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
sonatype nexus repository manager >= 3.20.0, < 3.95.0 3.95.0 Fixed

Affected products

ProductAffected versionsFixed in
sonatype nexus repository manager >= 3.20.0, < 3.95.0 3.95.0

References