CVE-2026-58652: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in openwrt luci-app-travelmate
CVE-2026-58652 is a high-severity OS command injection vulnerability in openwrt luci-app-travelmate version 2.4.5-r3. It arises because a LuCI/rpcd session with luci-app-travelmate write permissions can gain full UCI write access to the travelmate configuration. The backend service runs as root and executes user-controlled scripts without proper validation, allowing arbitrary command execution as root. The vulnerability is confirmed in version 2.4.5-r3 and persists in 2.4.6-1 with no known patch available.
AI Analysis
Technical Summary
The luci-app-travelmate package in OpenWrt contains a privilege escalation vulnerability due to improper neutralization of special elements in OS command execution. A session with delegated write ACL to luci-app-travelmate can write arbitrary values to the 'script' and 'script_args' UCI configuration keys. Although the frontend UI restricts the script picker to a safe directory, this restriction is not enforced on the backend. The travelmate service, running as root, executes the configured script path when the captive-portal auto-login function is triggered. By setting 'script' to /bin/sh and controlling 'script_args', an attacker can execute arbitrary commands as root. This issue is confirmed in luci-app-travelmate 2.4.5-r3 and remains in 2.4.6-1. No official fix or patch is currently known.
Potential Impact
An attacker with delegated write permissions to luci-app-travelmate can escalate privileges to root by injecting arbitrary OS commands. This allows full control over the device running the travelmate service, potentially compromising system integrity and confidentiality. The vulnerability is rated high severity with a CVSS 4.0 score of 7.7, reflecting the network attack vector, required privileges, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict write access to luci-app-travelmate configuration to trusted users only. Avoid delegating write permissions to untrusted sessions. Monitor for unusual configuration changes to the 'script' and 'script_args' UCI keys. Consider disabling or restricting the travelmate auto-login feature if possible.
CVE-2026-58652: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in openwrt luci-app-travelmate
Description
CVE-2026-58652 is a high-severity OS command injection vulnerability in openwrt luci-app-travelmate version 2.4.5-r3. It arises because a LuCI/rpcd session with luci-app-travelmate write permissions can gain full UCI write access to the travelmate configuration. The backend service runs as root and executes user-controlled scripts without proper validation, allowing arbitrary command execution as root. The vulnerability is confirmed in version 2.4.5-r3 and persists in 2.4.6-1 with no known patch available.
CVSS v4.0
Score 7.7high
Affected software
pkg:github/openwrt/luci-app-travelmateRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The luci-app-travelmate package in OpenWrt contains a privilege escalation vulnerability due to improper neutralization of special elements in OS command execution. A session with delegated write ACL to luci-app-travelmate can write arbitrary values to the 'script' and 'script_args' UCI configuration keys. Although the frontend UI restricts the script picker to a safe directory, this restriction is not enforced on the backend. The travelmate service, running as root, executes the configured script path when the captive-portal auto-login function is triggered. By setting 'script' to /bin/sh and controlling 'script_args', an attacker can execute arbitrary commands as root. This issue is confirmed in luci-app-travelmate 2.4.5-r3 and remains in 2.4.6-1. No official fix or patch is currently known.
Potential Impact
An attacker with delegated write permissions to luci-app-travelmate can escalate privileges to root by injecting arbitrary OS commands. This allows full control over the device running the travelmate service, potentially compromising system integrity and confidentiality. The vulnerability is rated high severity with a CVSS 4.0 score of 7.7, reflecting the network attack vector, required privileges, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict write access to luci-app-travelmate configuration to trusted users only. Avoid delegating write permissions to untrusted sessions. Monitor for unusual configuration changes to the 'script' and 'script_args' UCI keys. Consider disabling or restricting the travelmate auto-login feature if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-01T21:54:37.945Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a46626e27e9c797195ac137
Added to database: 07/02/2026, 13:06:54 UTC
Last enriched: 07/02/2026, 13:21:32 UTC
Last updated: 07/02/2026, 13:30:39 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.