Skip to main content

Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

CVE-2026-17593

Severity High
Score 7.2/10

Summary

An account holding the `nexus:settings:update` permission in Nexus Repository 3 (or the equivalent `nexus:settings` permission in the legacy Nexus Repository 2) could submit arbitrary values as realm identifiers through an internal configuration API that did not validate them against the set of registered realms. Because unrecognized entries were persisted and re-evaluated on every realm load via a legacy code path, this could result in unintended code executing inside the Nexus Repository process, and in some cases a persistent authentication lockout that was not visible through the administrative UI. This issue affects Sonatype Nexus Repository CE/Pro versions from 2.8.0 prior to 3.95.0.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • HIGH
  • HIGH
  • HIGH

CWE-470 - Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

The application uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.

Advisory Timeline

  • Published