CWE
693
Advisory Published
Updated

CVE-2022-35978: Lua sandbox escape from mod in Minetest

First published: Mon Aug 15 2022(Updated: )

Minetest is a free open-source voxel game engine with easy modding and game creation. In **single player**, a mod can set a global setting that controls the Lua script loaded to display the main menu. The script is then loaded as soon as the game session is exited. The Lua environment the menu runs in is not sandboxed and can directly interfere with the user's system. There are currently no known workarounds.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Minetest Minetest<5.6.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-35978?

    CVE-2022-35978 is a vulnerability in the Minetest game engine that allows a mod to set a global setting that controls the Lua script loaded to display the main menu, which could lead to remote code execution.

  • What is the severity of CVE-2022-35978?

    CVE-2022-35978 has a severity rating of critical with a value of 10.

  • What software versions are affected by CVE-2022-35978?

    Minetest versions up to and excluding 5.6.0 are affected by CVE-2022-35978.

  • How can I fix CVE-2022-35978?

    Update Minetest to version 5.6.0 or later to mitigate CVE-2022-35978.

  • Where can I find more information about CVE-2022-35978?

    You can find more information about CVE-2022-35978 in the Minetest changelog [1], the related GitHub commit [2], and the GitHub security advisory [3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203