Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') Affecting org.opennms:opennms-util package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGOPENNMS-18855665
  • published16 Aug 2026
  • disclosed13 Aug 2026
  • credittinyb0y, Xanlar Agamalizade

Introduced: 13 Aug 2026

NewCVE-2026-19135  (opens in a new tab)
CWE-470  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') through the OnmsJexlUberspect.getMethod method in the Measurements REST API. An attacker can load arbitrary Java classes on the server by submitting a crafted expression that invokes Class methods on a whitelisted object, such as calling getClass().forName(...) through the expression sandbox. This lets a low-privileged authenticated user escape the intended JEXL method authorization and reach reflective class-loading behavior on the server. The impact includes unauthorized access to confidential information and compromised application integrity.

CVSS Base Scores

version 4.0
version 3.1