{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4cb30a70e7e3d8a0ea53afa2dbef19d5243d449b"
            }
          ],
          "repo": "https://github.com/chilek/lms",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "CERT-PL",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40455.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "4cb30a7"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "An SQL Injection vulnerability exists in LMS (LAN Management System) before commit 4cb30a7 within the \"tarifflist.php\" module due to insufficient sanitization of the POST \"tg[]\" parameter. The application directly concatenates user-supplied array values into an SQL query using \"implode()\", allowing authenticated attackers to perform Error-Based SQL injection and extract sensitive database information.",
  "id": "CVE-2026-40455",
  "modified": "2026-07-15T01:48:53.163173805Z",
  "published": "2026-06-18T10:58:50.184Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://lms.org.pl/"
    },
    {
      "type": "ADVISORY",
      "url": "https://cert.pl/posts/2026/06/CVE-2026-40455"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40455.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40455"
    },
    {
      "type": "FIX",
      "url": "https://github.com/chilek/lms/commit/4cb30a70e7e3d8a0ea53afa2dbef19d5243d449b"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/chilek/lms"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "SQL Injection in LMS"
}