Skip to content
Heist/ feed
Back to feed
High

OS Command Injection in LMS

Type: advisorySources: OSV

An OS Command Injection vulnerability exists in LMS (LAN Management System) before commit 9fcb4de due to an IP address parameter being passed to the "exec()" function without proper validation, allowing attackers to execute arbitrary operating system commands.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-40456
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 22:24 UTC · Revision 1

Source evidence

OS Command Injection in LMS

core-osv · Original source

Published 18 Jun 2026, 10:58 UTC

An OS Command Injection vulnerability exists in LMS (LAN Management System) before commit 9fcb4de due to an IP address parameter being passed to the "exec()" function without proper validation, allowing attackers to execute arbitrary operating system commands.

osv:CVE-2026-40456
Complete source record
{
  "id": "ec725b9751a0ee5e0fc5dabdef242c1377516398615316283276903f7c5092a2",
  "url": "https://osv.dev/vulnerability/CVE-2026-40456",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "OS Command Injection in LMS",
    "summary": "An OS Command Injection vulnerability exists in LMS (LAN Management System) before commit 9fcb4de due to an IP address parameter being passed to the \"exec()\" function without proper validation, allowing attackers to execute arbitrary operating system commands.",
    "evidence": "osv:CVE-2026-40456",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-40456",
      "aliases": [
        "CVE-2026-40456"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/chilek/lms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9fcb4de"
                },
                {
                  "fixed": "9fcb4de19b7d76394898dbc124252b86b07ac0ed"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "9fcb4de"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9fcb4de19b7d76394898dbc124252b86b07ac0ed"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "LMS_27",
            "LMS_25",
            "LMS_24",
            "LMS_011123",
            "LMS_011122",
            "LMS_011121",
            "LMS_011119",
            "LMS_011118",
            "LMS_011117",
            "LMS_011116",
            "LMS_011115",
            "LMS_011114",
            "X_Dira",
            "X_Aris",
            "X_Bray",
            "X_Kri",
            "LMS_011109",
            "LMS_011108",
            "LMS_011107",
            "LMS_011106",
            "LMS_011105",
            "LMS_011104",
            "LMS_011103",
            "LMS_011102",
            "X_Talus",
            "X_Thoth",
            "X_Idos",
            "LMS_010907",
            "X_Belos",
            "X_Tagar",
            "X_Mot",
            "X_Zarin",
            "X_Thanos",
            "X_Jumar",
            "LMS_010900",
            "X_Grannus",
            "X_Shaq'Ran",
            "X_Wraith",
            "LMS_010703",
            "X_Doci",
            "LMS_010701",
            "LMS_010700",
            "LMS_010506",
            "LMS_010505",
            "LMS_010504",
            "LMS_010503",
            "LMS_010502",
            "LMS_010501",
            "X_Marduk",
            "X_Osiris",
            "X_Ju",
            "X_Terok",
            "X_Sokar",
            "LMS_010302",
            "X_Kinsey",
            "X_Maybourne",
            "X_Apophis",
            "X_Cronos",
            "LMS_010107",
            "X_Seth",
            "LMS_010105",
            "LMS_010104",
            "OLD_FINANCES",
            "LMS_010103",
            "LMS_010102",
            "LMS_010101",
            "LMS_010100",
            "NO_LANGUAGE_SUPPORT",
            "multilanguage",
            "LMS_010000_rc1",
            "LMS_0100_pre10",
            "LMS_0100_pre9",
            "LMS_0100_pre8",
            "LMS_0100_pre7",
            "LMS_0100_pre6",
            "hunter-devel",
            "LMS_0100_pre5",
            "LMS_0100_pre4",
            "LMS_0100_pre3",
            "LMS_0100_pre2",
            "LMS_0100_pre1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40456.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.041211022Z",
      "provider": "osv",
      "references": [
        "https://lms.org.pl/",
        "https://cert.pl/posts/2026/06/CVE-2026-40455",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40456.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-40456",
        "https://github.com/chilek/lms/commit/9fcb4de19b7d76394898dbc124252b86b07ac0ed",
        "https://github.com/chilek/lms"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "CERT-PL",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40456.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-40456",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507579,
  "published_at": "2026-06-18T10:58:51.79+00:00"
}