Live threats

All CVEs / Librenms

CVE-2020-35700Librenms

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
2.4%
probability of exploitation in 30 days · percentile 85
Auth required
Yes
Published
Feb 8, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

A second-order SQL injection issue in Widgets/TopDevicesController.php (aka the Top Devices dashboard widget) of LibreNMS before 21.1.0 allows remote authenticated attackers to execute arbitrary SQL commands via the sort_order parameter against the /ajax/form/widget-settings endpoint.

Original NVD text.

What to do

  1. Apply the vendor's security update for Librenms.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist librenms/librenms < 21.1.0 21.1.0 composer require "librenms/librenms:^21.1.0"

Per OSV / GitHub Advisories (GHSA-h59f-p56g-g75v). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
librenmslibrenms< 21.1.0

Official sources

References

Links published by the sources. Open them with care.