# CVE-2023-40313: Disable BeanShell Interpreter Remote Server Mode

- Severity: High 7.1 (CVSS:3.1, scored by OpenNMS) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.78%, higher than 57% of CVEs (2026-12-01)
- Published: 2023-08-17T18:24:08.866Z
- Modified: 2026-06-17T06:17:13.293Z
- Also known as: GHSA-5m5f-qg8r-p9qf
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: OpenNMS

## Description

A BeanShell interpreter in remote server mode runs in OpenMNS Horizon versions earlier than 32.0.2 and in related Meridian versions which could allow arbitrary remote Java code execution. The solution is to upgrade to Meridian 2023.1.6, 2022.1.19, 2021.1.30, 2020.1.38 or Horizon 32.0.2 or newer. Meridian and Horizon installation instructions state that they are intended for installation within an organization's private networks and should not be directly accessible from the Internet.

(As written by CVE List.)

## Affected

- The OpenNMS Group Horizon: from 29.0.4 before 32.0.2; before 29.0.4
- The OpenNMS Group Meridian: from 2020.0.0 up to 2020.1.37; from 2021.0.0 up to 2021.1.29; from 2022.0.0 up to 2022.1.18; from 2023.0.0 up to 2023.1.5
- opennms horizon: from 29.0.4 before 32.0.2; before 29.0.4; before 32.0.2
- opennms meridian: from 2020.0.0 up to 2020.1.37; from 2021.0.0 up to 2021.1.29; from 2022.0.0 up to 2022.1.18; from 2023.0.0 up to 2023.1.5; before 2020.1.38; from 2021.1.0 before 2021.1.30; from 2022.1.0 before 2022.1.19; from 2023.1.0 before 2023.1.6
- org.opennms:opennms-base-assembly (Maven): before 32.0.2

## Every score

- OpenNMS: CVSS:3.1 7.1 High `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://docs.opennms.com/horizon/32/releasenotes/changelog.html> (release-notes, web)
- <https://github.com/OpenNMS/opennms/pull/6368> (issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-40313> (advisory)
- <https://github.com/OpenNMS/opennms/commit/2909448b039bd46241efa52c450ffdb4f5a7dee1> (web)
- <https://github.com/OpenNMS/opennms> (package)

## Sources

- CVE List: [CVE-2023-40313](https://www.cve.org/CVERecord?id=CVE-2023-40313), CVE Terms of Use, modified 2024-10-08
- GitHub Advisory Database: [GHSA-5m5f-qg8r-p9qf](https://github.com/advisories/GHSA-5m5f-qg8r-p9qf), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-40313](https://nvd.nist.gov/vuln/detail/CVE-2023-40313), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-40313 · Whole record: https://cve.day/CVE-2023-40313.json · Rebuilt by cve.day 2026-11-25T22:58:27.226Z
