# CVE-2021-3396: OpenNMS Horizon RCE via JEXL2 expression

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 2.47% (percentile 85, 2026-11-26)
- **CWE:** CWE-863
- **Aliases:** GHSA-c3mp-9vx3-2rvv
- **Published:** 2021-02-17T20:13:54.000Z
- **Modified:** 2026-06-17T04:05:01.410Z

## Who should check

- Projects that depend on Maven package org.opennms:opennms (\>= 16.0.0, \< 27.0.4)
- Projects that depend on Maven package org.opennms.features:org.opennms.features.measurements (\>= 16.0.0, \< 27.0.4)
- Projects that depend on Maven package org.opennms:opennms-provision (\>= 16.0.0, \< 27.0.4)
- Projects that depend on Maven package org.opennms:opennms-util (\>= 16.0.0, \< 27.0.4)
- Anyone running n/a (versions: see the vendor advisory)

## Description

OpenNMS Meridian 2016, 2017, 2018 before 2018.1.25, 2019 before 2019.1.16, and 2020 before 2020.1.5, Horizon 1.2 through 27.0.4, and Newts \<1.5.3 has Incorrect Access Control, which allows local and remote code execution using JEXL expressions.

## Affected and fixed versions

- Maven `org.opennms:opennms`: affected \>= 16.0.0, \< 27.0.4; fixed 27.0.4 (osv)
- Maven `org.opennms.features:org.opennms.features.measurements`: affected \>= 16.0.0, \< 27.0.4; fixed 27.0.4 (osv)
- Maven `org.opennms:opennms-provision`: affected \>= 16.0.0, \< 27.0.4; fixed 27.0.4 (osv)
- Maven `org.opennms:opennms-util`: affected \>= 16.0.0, \< 27.0.4; fixed 27.0.4 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade org.opennms:opennms to 27.0.4 or later.
- Upgrade org.opennms.features:org.opennms.features.measurements to 27.0.4 or later.
- Upgrade org.opennms:opennms-provision to 27.0.4 or later.
- Upgrade org.opennms:opennms-util to 27.0.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-3396. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-3396.md
Affected: org.opennms:opennms >= 16.0.0, < 27.0.4; org.opennms.features:org.opennms.features.measurements >= 16.0.0, < 27.0.4; org.opennms:opennms-provision >= 16.0.0, < 27.0.4; org.opennms:opennms-util >= 16.0.0, < 27.0.4
Fixed in: 27.0.4

Steps:
1. Search this machine and project for org.opennms:opennms (Maven), org.opennms.features:org.opennms.features.measurements (Maven), org.opennms:opennms-provision (Maven), org.opennms:opennms-util (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-3396 being exploited?

There is no confirmed exploitation: CVE-2021-3396 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.47% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-3396?

High: CVSS 8.8 (v3.1, scored by NVD). Remote, login needed.

### Which versions are affected by CVE-2021-3396?

org.opennms:opennms \>= 16.0.0, \< 27.0.4; org.opennms.features:org.opennms.features.measurements \>= 16.0.0, \< 27.0.4; org.opennms:opennms-provision \>= 16.0.0, \< 27.0.4; org.opennms:opennms-util \>= 16.0.0, \< 27.0.4.

### Is there a fix for CVE-2021-3396?

Yes. Fixed in 27.0.4. Upgrade org.opennms:opennms to 27.0.4 or later. Upgrade org.opennms.features:org.opennms.features.measurements to 27.0.4 or later. Upgrade org.opennms:opennms-provision to 27.0.4 or later. Upgrade org.opennms:opennms-util to 27.0.4 or later.

### How do I check if I'm affected by CVE-2021-3396?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.opennms.com/>
- vendor: <https://www.opennms.com/en/blog/2021-02-16-cve-2021-3396-full-security-disclosure/>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2021-3396>
- patch: <https://github.com/OpenNMS/opennms/pull/3281>
- other: <https://issues.opennms.org/browse/NMS-13103>
- other: <https://www.opennms.com/en/blog/2021-02-16-cve-2021-3396-full-security-disclosure>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-3396>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-c3mp-9vx3-2rvv> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2021-3396> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-3396>
