Home / Librenms / Librenms / CVE-2018-20678
CVE-2018-20678: is it exploited, and which versions of Librenms are affected and fixed?
CVE-2018-20678 is a SQL injection vulnerability in Librenms. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: librenms/librenms before 1.65 (GitHub advisory GHSA-4fwh-r866-pvh9). Fixed in 1.65 (GitHub advisory GHSA-4fwh-r866-pvh9). Severity: High (8.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:24 UTC.
What is CVE-2018-20678?
LibreNMS through 1.47 allows SQL injection via the html/ajax_table.php sort[hostname] parameter, exploitable by authenticated users during a search.
From the CVE record by mitre, last updated August 5, 2024, 12:05 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | librenms/librenms | < 1.65 | 1.65 | GHSA-4fwh-r866-pvh9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 24, 2023. Summary: LibreNMS SQL Injection.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| librenms | librenms | through 1.47 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:53 UTC.
How severe is CVE-2018-20678?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-20678 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.38% probability of exploitation activity in the next 30 days, percentile 72.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- https://cert.enea.pl/advisories/cert-190101.html x_refsource_MISC
- https://github.com/librenms/librenms/commits/master/html/ajax_table.php x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 9, 2019
- Published
- March 28, 2019, 15:21 UTC
- CVE record updated
- August 5, 2024, 12:05 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:53 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:24 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Librenms?
- Oct 12, 2026CVE-2026-109357 librenms: LDAP injection
- Oct 12, 2026CVE-2026-109356 librenms: missing authorization
- Oct 12, 2026CVE-2026-109355 librenms: cross-site scripting (XSS)
- Oct 12, 2026CVE-2026-109354 librenms: path traversal (reading or writing files outside the intended folder)
- Oct 12, 2026CVE-2026-109353 librenms: SQL injection
- Oct 12, 2026CVE-2026-109352 librenms: cross-site scripting (XSS)
- Oct 11, 2026CVE-2026-108715 librenms: authorization bypass through a user-controlled key (IDOR)
- Sep 13, 2026CVE-2020-15875 LibreNMS: SQL injection
Questions about CVE-2018-20678
Is CVE-2018-20678 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 1.38% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Librenms are affected by CVE-2018-20678?
librenms/librenms before 1.65, per the GitHub advisory GHSA-4fwh-r866-pvh9. The tables above give every range the sources list.
Which version fixes CVE-2018-20678?
1.65, per the GitHub advisory GHSA-4fwh-r866-pvh9. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-20678?
High (8.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-20678?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.