CVE-2026-17603
published high CVSS 4.0 · 8.7Nexus Repository 3 - HikariCP connectionInitSql Injection RCE via DataStore Configuration API
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Sonatype | — | Nexus Repository 33.20.0 to < 3.95.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- Sonatype · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Sonatype | Nexus Repository 3 | 3.20.0 to < 3.95.0 (affected · semver)Default: unaffected | Sonatype · cna |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
2Provider assertions
2Sonatype · cna
Nexus Repository 3 - HikariCP connectionInitSql Injection RCE via DataStore Configuration API
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 01da6592fb22019758f2034c1392308154fe2afd095820b1b9bcb612d91de58b
- Ingested
- 23 Sep 2026, 09:03:04 UTC
- Source record
- Official CVE record