{"id":"CVE-2026-58652","aliases":["CVE-2026-58652"],"related":[],"kind":"vulnerability","state":"published","title":"luci-app-travelmate - Arbitrary Command Execution via UCI Script Parameter","summary":"luci-app-travelmate (and the travelmate package) contain a privilege-escalation flaw: a LuCI/rpcd session holding the luci-app-travelmate write ACL is granted config-wide UCI write access to the travelmate configuration. While the LuCI UI restricts the auto-login script picker to /etc/travelmate/*.login, this is only a frontend restriction. The backend travelmate service (running as root) reads the raw UCI 'script' and 'script_args' values and executes the configured path when the captive-portal auto-login branch (f_check() in travelmate-functions.sh) is reached. An attacker with delegated write permissions can set script to /bin/sh and script_args to attacker-controlled arguments, resulting in arbitrary command execution as root. Confirmed in luci-app-travelmate/travelmate 2.4.5-r3; travelmate 2.4.6-1 is also affected. Fixed in travelmate 2.4.6-2, which enforces the /etc/travelmate/*.login allowlist in the backend.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"luci-app-travelmate (and the travelmate package) contain a privilege-escalation flaw: a LuCI/rpcd session holding the luci-app-travelmate write ACL is granted config-wide UCI write access to the travelmate configuration. While the LuCI UI restricts the auto-login script picker to /etc/travelmate/*.login, this is only a frontend restriction. The backend travelmate service (running as root) reads the raw UCI 'script' and 'script_args' values and executes the configured path when the captive-portal auto-login branch (f_check() in travelmate-functions.sh) is reached. An attacker with delegated write permissions can set script to /bin/sh and script_args to attacker-controlled arguments, resulting in arbitrary command execution as root. Confirmed in luci-app-travelmate/travelmate 2.4.5-r3; travelmate 2.4.6-1 is also affected. Fixed in travelmate 2.4.6-2, which enforces the /etc/travelmate/*.login allowlist in the backend.","source":"cvelist"}],"published":"2026-07-02T12:28:34.022Z","modified":"2026-11-08T14:07:12.652Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"custom","version":"2.4.5-r3","status":"affected"}],"vendor":"openwrt","product":"luci-app-travelmate","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"2.4.6-2","status":"affected"},{"type":"custom","version":"2.4.6-2","status":"unaffected"}],"vendor":"openwrt","product":"travelmate","source":"cvelist"}],"references":[{"url":"https://github.com/openwrt/luci/security/advisories/GHSA-p35r-3323-6g7g","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openwrt/packages/commit/71d92bcc9edbc8f95858ce82a8ff5d52500005a2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openwrt/packages/commit/0627b412ee3a760cc4bca9fc8a5b73de8f33ac10","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openwrt/packages/commit/d6e457a1a70a9010195edeafdc0b8eb6e3b0f7f1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/luci-app-travelmate-arbitrary-command-execution-via-uci-script-parameter","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["ZwCrazyThursday"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-07-02T13:16:39.810Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-58652","url":"https://www.cve.org/CVERecord?id=CVE-2026-58652","licence":"CVE Terms of Use","modified":"2026-11-08T14:07:12.652Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-58652","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58652","licence":"Public domain","modified":"2026-10-29T21:17:26.360Z"}],"updatedAt":"2026-11-25T22:59:27.026Z","epss":{"score":0.00672,"percentile":0.53333,"date":"2026-12-01T12:00:22.000Z"}}