{"schemaVersion":4,"id":"CVE-2026-58652","aliases":[],"status":"published","duplicateOf":null,"title":"luci-app-travelmate - Arbitrary Command Execution via UCI Script Parameter","description":"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.","dates":{"published":"2026-07-02T12:28:34.022Z","modified":"2026-11-08T14:07:12.652Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.7,"severity":"high","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00672,"percentile":0.53457,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00672},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00802,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00753,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00753,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00753,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00753,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00753,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00753,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00672,"percentile":0.53457}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00753,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00753,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00753,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00753,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00753,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00753,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00672,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00672,"percentile":0.53457}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command before it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"openwrt","product":"luci-app-travelmate","name":"luci-app-travelmate","label":"luci-app-travelmate","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.4.5-r3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.4.5-r3","startInclusive":true,"end":"2.4.5-r3","endInclusive":true}}],"versionsText":"2.4.5-r3","eol":null,"hubHref":"/vendor/openwrt/luci-app-travelmate"},{"vendor":"openwrt","product":"travelmate","name":"travelmate","label":"travelmate","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.4.6-2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.4.6-2","endInclusive":false}}],"versionsText":"< 2.4.6-2","eol":null,"hubHref":"/vendor/openwrt/travelmate"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/openwrt/luci/security/advisories/GHSA-p35r-3323-6g7g","label":"github.com/openwrt/luci/security/advisories/GHSA-p35r-3323-6g7g","hostname":"github.com","tags":["Vendor Advisory"]},{"url":"https://github.com/openwrt/luci/commit/f85102548ee8325bfd581a0327b210b5f7670829","label":"github.com/openwrt/luci/commit/f85102548ee8325bfd581a0327b210b5f7670829","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/openwrt/packages/commit/491f1df06645c4e0757fed4a9f0622e9ce0d300c","label":"github.com/openwrt/packages/commit/491f1df06645c4e0757fed4a9f0622e9ce0d300c","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/openwrt/packages/commit/71d92bcc9edbc8f95858ce82a8ff5d52500005a2","label":"github.com/openwrt/packages/commit/71d92bcc9edbc8f95858ce82a8ff5d52500005a2","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/openwrt/packages/commit/0627b412ee3a760cc4bca9fc8a5b73de8f33ac10","label":"github.com/openwrt/packages/commit/0627b412ee3a760cc4bca9fc8a5b73de8f33ac10","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/openwrt/packages/commit/d6e457a1a70a9010195edeafdc0b8eb6e3b0f7f1","label":"github.com/openwrt/packages/commit/d6e457a1a70a9010195edeafdc0b8eb6e3b0f7f1","hostname":"github.com","tags":["Patch"]},{"url":"https://www.vulncheck.com/advisories/luci-app-travelmate-arbitrary-command-execution-via-uci-script-parameter","label":"www.vulncheck.com/advisories/…","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-07-02T12:28:34.022Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-08T14:07:12.652Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,77],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00672,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-08T14:07:12.652Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.7,"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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-08T14:07:12.652Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-08T14:07:12.652Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-08T14:07:12.652Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-07-02T13:16:39.810Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"}],"epss":{"value":0.00672,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:17:43.847Z","stale":false,"partial":false}}