# CVE-2020-15878: LibreNMS SQL injection in ajax_table.php

Source: https://junglewise.ai/threats/cve-2020-15878-librenms-sql-injection-in-ajax-table-php  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-26. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2020-15878 · Severity: high · CVSS 8.8 · Published 2026-08-26

LibreNMS is a network monitoring and management platform used to track infrastructure health and performance. A SQL injection vulnerability in the /ajax_table.php API endpoint allows authenticated users to extract sensitive information from the entire LibreNMS database, potentially exposing network device credentials, configuration details, and monitoring data.

Technologies: [Librenms](https://junglewise.ai/threats/technologies/librenms). Vendors: [Librenms](https://junglewise.ai/threats/vendors/librenms).

## Quick answers

**Is CVE-2020-15878 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-15878 being exploited in the wild.

**How severe is CVE-2020-15878?** High severity, with a CVSS score of 8.8, published 26 August 2026.

**Which products and versions are affected?** Librenms 1.65.

**Is there a fix for CVE-2020-15878?** A patch was published on 2020-07-10: Fixed in version 1.65.1 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2020-15878 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2020-15878?** Check whether you run Librenms at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A SQL injection vulnerability exists in LibreNMS 1.65 in the /ajax_table.php API endpoint, specifically in the address parameter. An attacker with valid (normal user-level) authentication can inject arbitrary SQL queries to extract all database contents. The vulnerability requires prior authentication and network access to the LibreNMS API, but no further user interaction. The flaw was patched in version 1.65.1 via commit addressing SQL injection filters in the address and searchPhrase parameters.

## Affected products

- LibreNMS LibreNMS 1.65

## Timeline

- 2020-07-10: disclosed
- 2020-07-10: patched: Fixed in version 1.65.1

## References

- [https://community.librenms.org/c/announcements](https://community.librenms.org/c/announcements)
- [https://github.com/librenms/librenms/compare/1.65...1.65.1](https://github.com/librenms/librenms/compare/1.65...1.65.1)

## Related threats

- [LibreNMS LDAP filter injection in external authorization modes](https://junglewise.ai/threats/cve-2026-109357-librenms-before-26-9-0-contains-an-ldap-filter-injection-in-ldap)
- [LibreNMS missing authorization in PortsController::purge](https://junglewise.ai/threats/cve-2026-109356-librenms-before-26-9-0-contains-a-missing-authorization)
- [LibreNMS stored cross-site scripting in Oxidized node list](https://junglewise.ai/threats/cve-2026-109355-librenms-before-26-9-0-contains-a-stored-cross-site-scripting)
- [LibreNMS path traversal in NFSen channel parameter](https://junglewise.ai/threats/cve-2026-109354-librenms-before-26-9-0-contains-a-path-traversal-vulnerability)
- [LibreNMS SQL injection in notifications.inc.php](https://junglewise.ai/threats/cve-2026-109353-librenms-before-26-9-0-contains-an-sql-injection-vulnerability)
