CVE-2025-34147 Shenzhen Aitemi M300 Wi-Fi Repeater OS Command Injection via SSID

Critical 9.4 Published Updated

Remote attackers within Wi-Fi range can inject shell commands via the SSID field to execute arbitrary code as root on the device.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-34147?

CVE-2025-34147 is a critical command injection vulnerability in Shenzhen Aitemi E Commerce Co. Ltd. M300 Wi-Fi Repeater, published on 4 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An unauthenticated OS command injection vulnerability exists in the Shenzhen Aitemi M300 Wi-Fi Repeater (hardware model MT02). When configuring the device in Extender mode via its captive portal, the extap2g SSID field is inserted unescaped into a reboot-time shell script. This allows remote attackers within Wi-Fi range to inject arbitrary shell commands that execute as root during device reboot, leading to full system compromise.

Weakness: CWE-78

Which versions are affected by CVE-2025-34147?

How do I fix CVE-2025-34147?

No fix has been published for CVE-2025-34147 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-34147 being exploited?

There is no known exploitation of CVE-2025-34147 in the wild and no public exploit code.

Sources

Also known as GHSA-xmrh-m77m-3pg7.

Is CVE-2025-34147 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free