Three LMS Flaws Expose Databases and Enable Command Injection
CERT Polska disclosed three vulnerabilities in LMS (LAN Management System), including two high-severity issues tracked as CVE-2026-40455 and CVE-2026-40456. The first is an authenticated SQL injection in tarifflist.php before commit 4cb30a7, caused by insufficient sanitization of the POST tg[] parameter and unsafe query construction with implode(), allowing attackers to extract sensitive database information. The second is an OS command injection before commit 9fcb4de, where an IP address parameter is passed to exec() without proper validation, enabling arbitrary operating system command execution.
CERT Polska also reported CVE-2026-40457, a reflected XSS flaw in dbrecover.php and netremap.php before commit 9c5651b that can trigger arbitrary JavaScript execution when an authenticated user opens a crafted link under certain conditions. The SQL injection and command injection bugs were both rated High with CVSS 4.0 base scores of 8.6, and the disclosure credited Tymoteusz Dominik for responsibly reporting the issues. Organizations running LMS versions prior to the referenced commits should prioritize patching and review exposure of authenticated administrative functions.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
4 events from the most recent confirmed update back to the earliest known activity.
CVE-2026-40456 is published as a high-severity LMS command injection
On 2026-06-18, CVE-2026-40456 was published for an OS command injection in LMS before commit 9fcb4de. The issue stems from passing an IP address parameter to exec() without proper validation, enabling arbitrary operating system command execution.
CVE-2026-40455 is published as a high-severity LMS SQL injection
On 2026-06-18, CVE-2026-40455 was published for an authenticated SQL injection in LMS before commit 4cb30a7. The flaw affects tarifflist.php through insufficient sanitization of the POST tg[] parameter and can expose sensitive database information.
CERT Polska publishes coordinated disclosure for LMS vulnerabilities
On 2026-06-18, CERT Polska published a coordinated disclosure covering three LMS vulnerabilities: CVE-2026-40455, CVE-2026-40456, and CVE-2026-40457. The disclosure described an authenticated SQL injection in tarifflist.php, an OS command injection tied to unsafe use of an IP address parameter in exec(), and a reflected XSS in dbrecover.php and netremap.php.
Researcher responsibly reports three LMS vulnerabilities to CERT Polska
CERT Polska credited Tymoteusz Dominik for responsibly reporting three vulnerabilities affecting LMS (LAN Management System): SQL injection, OS command injection, and reflected XSS. The source does not provide a specific date for when the report was made.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
3 references tracked. Mallory keeps watching after this page renders.
CVE-2026-40455 - SQL Injection in LMS
cvefeed.io
Open sourceCVE-2026-40456 - OS Command Injection in LMS
cvefeed.io
Open sourceVulnerabilities in LMS software | CERT Polska
cert.pl
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


