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…

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

0
High
VulnerabilityCVE-2026-17603cvecve-2026-17603cwe-94
Published: 08/07/2026 (08/07/2026, 16:07:41 UTC)
Source: CVE Database V5
Vendor/Project: Sonatype
Product: Nexus Repository 3

Description

CVE-2026-17603 is a high-severity vulnerability in Sonatype Nexus Repository 3 version 3.20.0. It involves improper control of code generation (CWE-94) due to insufficient restrictions on HikariCP connection-pool properties via the DataStore configuration API. A user with 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 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

com.sonatype.nexus/nexus-repository-manager
pkg:maven/com.sonatype.nexus/nexus-repository-manager
Affected versions
=3.20.0
CPE configurations (140)
cpe:2.3:a:sonatype:nexus_repository_manager:3.20.0:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.20.1:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.20.2:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.20.3:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.21.0:*:*:*:*:*:*:*
cpe:2.3:a:sonatype:nexus_repository_manager:3.21.1:*:*:*:*:*:*:*

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/07/2026, 16:41:09 UTC

Technical Analysis

Nexus Repository 3 version 3.20.0 does not sufficiently restrict which HikariCP connection-pool properties can be set through its DataStore configuration API. Specifically, a user with the nx-datastores-update permission can manipulate the connectionInitSql property, causing arbitrary SQL execution on each new database connection. On the default H2 database backend, this vulnerability can be exploited to achieve remote code execution with the privileges of the Nexus process user. This is classified as CWE-94 (Improper Control of Generation of Code) and carries a CVSS 4.0 base score of 8.7, indicating high severity. No official patch or remediation level has been provided yet, and no known exploits are reported in the wild.

Potential Impact

An attacker with the nx-datastores-update permission can execute arbitrary SQL commands on the Nexus Repository 3 database. When the default H2 database is used, this can escalate to remote code execution as the Nexus process user, potentially compromising the system hosting Nexus Repository 3. This could lead to unauthorized data access, modification, or full system compromise depending on the environment and privileges.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict the nx-datastores-update permission to trusted users only and avoid using the default H2 database backend in production environments if possible.

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

Technical Details

Data Version
5.2
Assigner Short Name
Sonatype
Date Reserved
2026-07-27T16:30:54.196Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a760747bf8831d5399dcb83

Added to database: 08/07/2026, 16:26:47 UTC

Last enriched: 08/07/2026, 16:41:09 UTC

Last updated: 08/07/2026, 16:41:09 UTC

Views: 4

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