CVE-2020-36947CWE-89sql-injection

CVE-2020-36947

High · published January 27, 2026

CVSS v3.1
7.1
EPSS
0%
Percentile
39.2
In the wild
Unconfirmed
What it is

⚡ An authenticated SQL injection lurks in LibreNMS 1.46 that lets attackers fish for sensitive database info — and they just need a cleverly crafted 'sort' parameter! Think of it as a mischievous chef sneaking extra ingredients into a recipe because the head chef accidentally left the pantry door open — without oversight, the entire dish could be spoiled! If exploited, an attacker could extract valuable database information, potentially leading to data leaks and privacy violations. This could result in unauthorized access to sensitive user data, making it a high-risk scenario for any organization using LibreNMS.

Put simply

Think of it as a mischievous chef sneaking extra ingredients into a recipe because the head chef accidentally left the pantry door open — without oversight, the entire dish could be spoiled! This SQL injection vulnerability arises in the MAC accounting graph endpoint, allowing attackers to manipulate input parameters to execute malicious SQL commands for data extraction through a time-based blind injection.

What to do

If exploited, an attacker could extract valuable database information, potentially leading to data leaks and privacy violations. This could result in unauthorized access to sensitive user data, making it a high-risk scenario for any organization using LibreNMS. To safeguard your system, upgrade to LibreNMS version 1.47 or later immediately. Additionally, consider implementing input validation to sanitize parameters, ensuring that only safe data can be processed. Regular audits of database queries can further bolster your defenses. You've got this! With these steps, you can protect your database and keep your systems secure! 🛡️

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00464 · 39.2th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2026-01-27T21:16Z
Affected products (1)
ProductVersionsFixed in
librenms/librenmsall versions—
References (6)
EPSS history
Timeline
  • 27 JAN 15:23Z
    LibreNMS 1.46 - MAC Accounting Graph Authenticated SQL Injection
    cvelistv5