Skip to main content
← All vulnerabilities
CVE-2026-75520EUVD-2026-112548GHSA-8RV5-X8WV-C5C4

Domoticz: Missing authorization and path traversal in the udevices Lua parser handler

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub

Summary

Domoticz, a free open source home automation system running on Linux, Windows, macOS, and Raspberry Pi, is affected before version 2026.3. A low-privilege logged-in user could make the system run an existing Lua parser script that the administrator installed, with input the attacker chooses, and could reach script files outside the intended folder through a path traversal flaw.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

Domoticz is a free, open source home automation system for Linux, Windows, macOS, and Raspberry Pi. Prior to 2026.3, the `udevices` JSON command handler, `Cmd_UpdateDevices` in `main/WebServerCmds.cpp`, performed no `session.rights` check before invoking a Lua parser script, while its sibling command handlers gate access by role. A low-privilege authenticated user could trigger execution of an existing operator-installed Lua parser script with attacker-controlled input through the `GET /json.htm` endpoint with `type=command` and `param=udevices`. The `script` parameter also lacked a `..` path-traversal guard: `CLuaHandler::executeLuaScript` in `main/LuaHandler.cpp` constructed the filename from the parser directory and the supplied script name before passing it to `luaL_loadfile`. Execution is limited to already-installed valid Lua files; this is not arbitrary code execution, and the advisory states that file-write and upload paths require administrator privileges. This issue is addressed in version 2026.3.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • domoticz domoticz

    through 2026.2

References 5

GitHub · domoticz/domoticz

GitHub · domoticz/libwebem