CVE-2026-75520

Source
https://cve.org/CVERecord?id=CVE-2026-75520
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-75520.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-75520
Aliases
  • GHSA-8rv5-x8wv-c5c4
Published
2026-10-28T22:30:59Z
Modified
2026-11-05T13:08:37Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Domoticz: Missing authorization and path traversal in the udevices Lua parser handler
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-22",
        "CWE-862"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75520.json"
}
References

Affected packages

Git / github.com/domoticz/domoticz

Affected ranges

Type
GIT
Repo
https://github.com/domoticz/domoticz
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "2026.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "73ed0495af6de3309f27cfc0091e803300ab5ccd"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "2026.3",
            "range":  [
                {
                    "fixed":  "f734fde31a4c2ecab3edd825ceb9854719444f64"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

2020.*
2020.1
2020.2
2021.*
2021.1
2022.*
2022.1
2022.2
2023.*
2023.1
2023.2
2024.*
2024.1
2024.2
2024.3
2024.4
2024.6
2024.7
2025.*
2025.1
2025.2
2026.*
2026.1
2026.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-75520.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "254848317926777423169674349290873855581",
                "29999973314968250830657363232501979235",
                "83535583366305928810983860797729776622",
                "49674188709709063745965713699992813207"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-75520-21333749",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/domoticz/domoticz/commit/73ed0495af6de3309f27cfc0091e803300ab5ccd",
        "target":  {
            "file":  "main/LuaHandler.cpp"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "251068257746337228065004409717677382934",
                "328670517469894028254045065611734290056",
                "240887397081248669858743535575811345026",
                "14766882933364467005708276518255328559"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-75520-225822e4",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/domoticz/domoticz/commit/73ed0495af6de3309f27cfc0091e803300ab5ccd",
        "target":  {
            "file":  "main/WebServerCmds.cpp"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "279070658890383192433727349345448667977",
            "length":  582
        },
        "id":  "CVE-2026-75520-2b32c621",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/domoticz/domoticz/commit/73ed0495af6de3309f27cfc0091e803300ab5ccd",
        "target":  {
            "file":  "main/WebServerCmds.cpp",
            "function":  "CWebServer::Cmd_UpdateDevices"
        }
    }
]
vanir_signatures_modified
"2026-11-05T13:08:37Z"