ubuntu-cve-2026-41196
Vulnerability from osv_ubuntu
Published
2026-04-23 02:16
Modified
2026-06-02 13:28
Summary
Details

Luanti (formerly Minetest) is an open source voxel game-creation platform. Starting in version 5.0.0 and prior to version 5.15.2, a malicious mod can trivially escape the sandboxed Lua environment to execute arbitrary code and gain full filesystem access on the user's device. This applies to the server-side mod, async and mapgen as well as the client-side (CSM) environments. This vulnerability is only exploitable when using LuaJIT. Version 5.15.2 contains a patch. On release versions, one can also patch this issue without recompiling by editing builtin/init.lua and adding the line getfenv = nil at the end. Note that this will break mods relying on this function (which is not inherently unsafe).


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "minetest",
            "binary_version": "0.4.13+repack-1build1"
          },
          {
            "binary_name": "minetest-data",
            "binary_version": "0.4.13+repack-1build1"
          },
          {
            "binary_name": "minetest-server",
            "binary_version": "0.4.13+repack-1build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "minetest",
        "purl": "pkg:deb/ubuntu/minetest@0.4.13+repack-1build1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.4.12+repack-2ubuntu1",
        "0.4.13+repack-1",
        "0.4.13+repack-1build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "minetest",
            "binary_version": "0.4.16+repack-4"
          },
          {
            "binary_name": "minetest-data",
            "binary_version": "0.4.16+repack-4"
          },
          {
            "binary_name": "minetest-server",
            "binary_version": "0.4.16+repack-4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "minetest",
        "purl": "pkg:deb/ubuntu/minetest@0.4.16+repack-4?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.4.16+repack-3",
        "0.4.16+repack-4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "minetest",
            "binary_version": "5.1.1+repack-1build1"
          },
          {
            "binary_name": "minetest-data",
            "binary_version": "5.1.1+repack-1build1"
          },
          {
            "binary_name": "minetest-server",
            "binary_version": "5.1.1+repack-1build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "minetest",
        "purl": "pkg:deb/ubuntu/minetest@5.1.1+repack-1build1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.0.1+repack-2",
        "5.1.0+repack-1",
        "5.1.1+repack-1",
        "5.1.1+repack-1build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "minetest",
            "binary_version": "5.4.1+repack-2build1"
          },
          {
            "binary_name": "minetest-data",
            "binary_version": "5.4.1+repack-2build1"
          },
          {
            "binary_name": "minetest-server",
            "binary_version": "5.4.1+repack-2build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "minetest",
        "purl": "pkg:deb/ubuntu/minetest@5.4.1+repack-2build1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.3.0+repack-2.1",
        "5.4.1+repack-2",
        "5.4.1+repack-2build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "minetest",
            "binary_version": "5.6.1+dfsg+~1.9.0mt8+dfsg-4build3"
          },
          {
            "binary_name": "minetest-data",
            "binary_version": "5.6.1+dfsg+~1.9.0mt8+dfsg-4build3"
          },
          {
            "binary_name": "minetest-server",
            "binary_version": "5.6.1+dfsg+~1.9.0mt8+dfsg-4build3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "minetest",
        "purl": "pkg:deb/ubuntu/minetest@5.6.1+dfsg+~1.9.0mt8+dfsg-4build3?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.6.1+dfsg+~1.9.0mt8+dfsg-2build1",
        "5.6.1+dfsg+~1.9.0mt8+dfsg-3",
        "5.6.1+dfsg+~1.9.0mt8+dfsg-4",
        "5.6.1+dfsg+~1.9.0mt8+dfsg-4build2",
        "5.6.1+dfsg+~1.9.0mt8+dfsg-4build3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "luanti",
            "binary_version": "5.10.0+dfsg-5+deb13u1build0.25.10.1"
          },
          {
            "binary_name": "luanti-data",
            "binary_version": "5.10.0+dfsg-5+deb13u1build0.25.10.1"
          },
          {
            "binary_name": "luanti-server",
            "binary_version": "5.10.0+dfsg-5+deb13u1build0.25.10.1"
          },
          {
            "binary_name": "minetest",
            "binary_version": "5.10.0+dfsg-5+deb13u1build0.25.10.1"
          },
          {
            "binary_name": "minetest-data",
            "binary_version": "5.10.0+dfsg-5+deb13u1build0.25.10.1"
          },
          {
            "binary_name": "minetest-server",
            "binary_version": "5.10.0+dfsg-5+deb13u1build0.25.10.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "luanti",
        "purl": "pkg:deb/ubuntu/luanti@5.10.0+dfsg-5+deb13u1build0.25.10.1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.10.0+dfsg-5",
        "5.10.0+dfsg-5+deb13u1build0.25.10.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "luanti",
            "binary_version": "5.10.0+dfsg-5+deb13u1build0.26.04.1"
          },
          {
            "binary_name": "luanti-data",
            "binary_version": "5.10.0+dfsg-5+deb13u1build0.26.04.1"
          },
          {
            "binary_name": "luanti-server",
            "binary_version": "5.10.0+dfsg-5+deb13u1build0.26.04.1"
          },
          {
            "binary_name": "minetest",
            "binary_version": "5.10.0+dfsg-5+deb13u1build0.26.04.1"
          },
          {
            "binary_name": "minetest-data",
            "binary_version": "5.10.0+dfsg-5+deb13u1build0.26.04.1"
          },
          {
            "binary_name": "minetest-server",
            "binary_version": "5.10.0+dfsg-5+deb13u1build0.26.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "luanti",
        "purl": "pkg:deb/ubuntu/luanti@5.10.0+dfsg-5+deb13u1build0.26.04.1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.10.0+dfsg-5",
        "5.10.0+dfsg-5+deb13u1build0.26.04.1"
      ]
    }
  ],
  "aliases": [],
  "details": "Luanti (formerly Minetest) is an open source voxel game-creation platform. Starting in version 5.0.0 and prior to version 5.15.2, a malicious mod can trivially escape the sandboxed Lua environment to execute arbitrary code and gain full filesystem access on the user\u0027s device. This applies to the server-side mod, async and mapgen as well as the client-side (CSM) environments. This vulnerability is only exploitable when using LuaJIT. Version 5.15.2 contains a patch. On release versions, one can also patch this issue without recompiling by editing `builtin/init.lua` and adding the line `getfenv = nil` at the end. Note that this will break mods relying on this function (which is not inherently unsafe).",
  "id": "UBUNTU-CVE-2026-41196",
  "modified": "2026-06-02T13:28:09Z",
  "published": "2026-04-23T02:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-41196"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-41196"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H",
      "type": "CVSS_V4"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-41196"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…