{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "5.0.0"
              },
              {
                "fixed": "5.15.2"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "f9d1810b1e763a6c0a47ff30bd83d7903d3d614f"
            },
            {
              "fixed": "044ab8a35be38593aefd8fdde9601cc44754f3cc"
            }
          ],
          "repo": "https://github.com/luanti-org/luanti",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-22c4-238c-m5j4"
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "cwe_ids": [
      "CWE-670"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40960.json"
  },
  "details": "Luanti 5 before 5.15.2 sometimes allows unintended access to an insecure environment. If at least one mod is listed as secure.trusted_mods or secure.http_mods, then a crafted mod can intercept the request for the insecure environment or HTTP API, and also receive access to it.",
  "id": "CVE-2026-40960",
  "modified": "2026-08-04T11:31:12.132442137Z",
  "published": "2026-04-16T00:54:45.935Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40960.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/luanti-org/luanti/security/advisories/GHSA-22c4-238c-m5j4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40960"
    },
    {
      "type": "FIX",
      "url": "https://github.com/luanti-org/luanti/commit/0faf529bc4b89e70a275ed1162047815118f2413"
    },
    {
      "type": "FIX",
      "url": "https://github.com/luanti-org/luanti/commit/827fd4cf7f989482b2dad381fa4afd642ea73e8c"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}