/

CVE-2026-121686

Severity:

CRITICAL RISK

(9.8)

OS Command Injection (CWE-78) in EarthRover Mini+ Firmware

CVE-2026-121686

Deferred

Vulnerability type

Category:

OS Command Injection

CWE:

CWE-78

Impact:

Remote Code Execution as root

Severity:

CRITICAL RISK

(9.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

FrodoBots EarthRover Mini+ firmware accepts shell commands from AWS IoT MQTT messages and executes them with root privileges. An attacker able to publish a suitable message using the shared IoT credentials may be able to run commands remotely; the lack of per-device authentication can increase the potential scope of compromise.

Affected context

The reported issue affects FrodoBots EarthRover Mini+ firmware version 6.2.4_6.2.5_0.614.0. It occurs in a firmware method that processes AWS IoT MQTT messages and executes supplied shell commands. Risk depends on access to the relevant message path and the shared IoT credentials; the description reports no per-device authentication.

Exploit preconditions

  • Attack surface: AWS IoT MQTT message handling by the device firmware
  • Required access: Ability to publish messages accepted by the relevant topic, gated by shared IoT credentials
  • Trigger point: Processing of an MQTT message by the firmware method that invokes a shell command
  • Why exploitation is possible: Message content is accepted as a command without an effective boundary separating data from shell instructions, and execution occurs with root privileges

Why this happens

The firmware passes attacker-influenced message content to a shell command execution path. When input is interpreted as shell syntax rather than strictly handled as data, command injection can occur. This is CWE-78: Improper Neutralization of Special Elements used in an OS Command, compounded here by root-level execution and insufficient per-device authorization.

Potential impact

  • An attacker may execute arbitrary commands with root privileges on an affected device.
  • Device settings, software, or locally stored data could be altered or exposed.
  • An attacker could disrupt device operation or use a compromised device as a foothold.
  • Shared credentials and the absence of per-device authentication could increase the number of devices at risk.

General mitigation guidance

Mitigation patterns focus on removing shell interpretation from message handling and reducing the trust and privileges associated with remote commands.

  • Prefer structured APIs or fixed, allowlisted operations over constructing shell commands from message content.
  • Treat MQTT message data as untrusted and validate it against a narrow schema and explicit value constraints.
  • Use unique per-device identities and narrowly scoped broker permissions rather than shared credentials.
  • Require authorization for sensitive operations and limit the set of commands a device can perform.
  • Run services with the least privileges needed; avoid executing message-triggered operations as root.
  • Apply monitoring and revocation controls for device identities and credentials.

How teams detect issues like this

  • Use static analysis to identify shell execution APIs and data flows from MQTT handlers or other network inputs into command arguments.
  • Review code for string concatenation, interpolation, or other construction of shell commands from message fields.
  • Enforce code-review and CI policies that prohibit shell execution for externally supplied data or require approved wrappers and allowlists.
  • Audit broker policies for shared credentials, broad topic permissions, and missing per-device identity boundaries.
  • Monitor for unexpected command execution, unusual MQTT publishing patterns, and changes to device configuration or binaries. Automated code-review tools may help flag risky input-to-command flows.

Sources

SourceLink
github.comgithub.com/frodobots-org
kb.cert.orgkb.cert.org/vuls/id/188754
frodobots.aifrodobots.ai/

Frequently asked

questions

Yes. The described trigger is an AWS IoT MQTT message processed by the device firmware, so exploitation can occur remotely when the message access requirements are met.

Access is gated by shared IoT credentials. The description notes that there is no per-device authentication, so possession or misuse of credentials with the relevant publish permissions may expose multiple devices.

Avoid passing message content to a shell. Use fixed, allowlisted operations with strict input validation, and ensure sensitive actions are separately authorized.

Treat broker messages as untrusted, use unique least-privilege identities for devices, avoid root-level command execution, and review input-to-command data flows in code and security checks.

Find out what's already
exploitable in your codebase.