Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 68%

CVE-2026-17603: CWE-94 Improper Control of Generation of Code ('Code Injection') in Sonatype Nexus Repository 3

0
High
Published: 08/07/2026 (08/07/2026, 16:07:41 UTC)
Source: GCVE Database
Vendor/Project: Sonatype
Product: Nexus Repository 3

Description

Nexus Repository 3 contains a vulnerability where the DataStore configuration API does not sufficiently restrict which HikariCP connection-pool properties can be set. A user with the nx-datastores-update permission can set the connectionInitSql property to execute arbitrary SQL on every new database connection. When using the default H2 database backend, this flaw can lead to remote code execution as the Nexus process user.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

org.sonatype.nexus/nexus-repository
pkg:maven/org.sonatype.nexus/nexus-repository
Affected versions
=3.20.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 15:17:48 UTC

Technical Analysis

The vulnerability in Nexus Repository 3 arises from insufficient restrictions on the HikariCP connection-pool properties configurable via the DataStore API. Specifically, the connectionInitSql property can be set by users with the nx-datastores-update permission, allowing arbitrary SQL execution on each new database connection. This can be exploited to achieve remote code execution on the default H2 database backend, compromising the Nexus process user privileges.

Potential Impact

An attacker with the nx-datastores-update permission can execute arbitrary SQL commands on the Nexus database. On the default H2 backend, this can escalate to remote code execution with the privileges of the Nexus process user, potentially leading to full system compromise.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict the nx-datastores-update permission to trusted users only to limit exploitation potential.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-65xx-g4qc-4g4m
Osv Schema Version
1.4.0
Aliases
["CVE-2026-17603"]
Ecosystems
[]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a7742a2bf8831d539b08786

Added to database: 08/08/2026, 14:52:18 UTC

Last enriched: 08/08/2026, 15:17:48 UTC

Last updated: 08/09/2026, 03:40:59 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses