# CVE-2019-10665: LibreNMS Information Disclosure

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.48%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-09-09T12:56:43.000Z
- Modified: 2026-06-17T02:11:28.587Z
- Also known as: GHSA-q5rg-wg7h-73m5
- Weaknesses: CWE-74
- Assigned by: mitre

## Description

An issue was discovered in LibreNMS through 1.47. The scripts that handle the graphing options (html/includes/graphs/common.inc.php and html/includes/graphs/graphs.inc.php) do not sufficiently validate or encode several fields of user supplied input. Some parameters are filtered with mysqli_real_escape_string, which is only useful for preventing SQL injection attacks; other parameters are unfiltered. This allows an attacker to inject RRDtool syntax with newline characters via the html/graph.php script. RRDtool syntax is quite versatile and an attacker could leverage this to perform a number of attacks, including disclosing directory structure and filenames, file content, denial of service, or writing arbitrary files.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- librenms/librenms (Packagist): up to 1.47
- librenms librenms: up to 1.47

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.darkmatter.ae/xen1thlabs/librenms-rrdtool-injection-vulnerability-xl-19-023/> (exploit, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-10665> (advisory)
- <https://github.com/librenms/librenms> (package)
- <https://www.darkmatter.ae/xen1thlabs/librenms-rrdtool-injection-vulnerability-xl-19-023> (web)

## Sources

- CVE List: [CVE-2019-10665](https://www.cve.org/CVERecord?id=CVE-2019-10665), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-q5rg-wg7h-73m5](https://github.com/advisories/GHSA-q5rg-wg7h-73m5), CC-BY-4.0, modified 2026-03-06
- NVD: [CVE-2019-10665](https://nvd.nist.gov/vuln/detail/CVE-2019-10665), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-10665 · Whole record: https://cve.day/CVE-2019-10665.json · Rebuilt by cve.day 2026-11-25T22:57:46.866Z
