{"id":"CVE-2026-58652","published":"2026-07-02T12:28:34Z","modified":"2026-11-08T14:07:12Z","title":"luci-app-travelmate - Arbitrary Command Execution via UCI Script Parameter","vendor":"openwrt","product":"luci-app-travelmate","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00672,"percentile":0.53008,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/openwrt/luci/security/advisories/GHSA-p35r-3323-6g7g","tags":["vendor-advisory"]},{"url":"https://github.com/openwrt/packages/commit/71d92bcc9edbc8f95858ce82a8ff5d52500005a2","tags":["patch"]},{"url":"https://github.com/openwrt/packages/commit/0627b412ee3a760cc4bca9fc8a5b73de8f33ac10","tags":["patch"]},{"url":"https://github.com/openwrt/packages/commit/d6e457a1a70a9010195edeafdc0b8eb6e3b0f7f1","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/luci-app-travelmate-arbitrary-command-execution-via-uci-script-parameter","tags":["third-party-advisory"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":10.6},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"openwrt","affectedVersions":[{"vendor":"openwrt","product":"luci-app-travelmate","versions":["2.4.5-r3"]},{"vendor":"openwrt","product":"travelmate","versions":["< 2.4.6-2"]}],"fixedVersions":[{"vendor":"openwrt","product":"travelmate","versions":["2.4.6-2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-07-02T13:16:39.810703Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-41366","exploited":false,"provenance":"source"}}