CVE-2026-58652
luci-app-travelmate - Arbitrary Command Execution via UCI Script Parameter
Mitigation
- Upgrade travelmate to 2.4.6-2 or later.
Who should check
- Anyone running openwrt luci-app-travelmate 2.4.5-r3
- Anyone running openwrt travelmate < 2.4.6-2
Vulnerability facts
- Affected
- openwrt luci-app-travelmate 2.4.5-r3; openwrt travelmate < 2.4.6-2
- Fixed in
- openwrt travelmate 2.4.6-2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.7 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Attack requirements: Present
- Privileges required: Low
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.75% chance of exploitation in 30 days (percentile 51, 2026-11-26)
- CWE
- CWE-78
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-58652. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-58652.md Affected: openwrt luci-app-travelmate 2.4.5-r3; openwrt travelmate < 2.4.6-2 Fixed in: openwrt travelmate 2.4.6-2 Steps: 1. Search this machine and project for openwrt luci-app-travelmate, openwrt travelmate: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-58652 being exploited?
There is no confirmed exploitation: CVE-2026-58652 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.75% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-58652?
High: CVSS 7.7 (v4.0, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-58652?
openwrt luci-app-travelmate 2.4.5-r3; openwrt travelmate < 2.4.6-2.
Is there a fix for CVE-2026-58652?
Yes. Fixed in openwrt travelmate 2.4.6-2. Upgrade travelmate to 2.4.6-2 or later.
How do I check if I'm affected by CVE-2026-58652?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.