Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-58652: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in openwrt luci-app-travelmate

0
High
VulnerabilityCVE-2026-58652cvecve-2026-58652
Published: 07/02/2026 (07/02/2026, 12:28:34 UTC)
Source: CVE Database V5
Vendor/Project: openwrt
Product: 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

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
openwrt/luci-app-travelmate
pkg:github/openwrt/luci-app-travelmate
Affected versions
=2.4.5-r3

Run 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

AILast updated: 07/02/2026, 13:21:32 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses