CVE-2026-71237 Miantang IoT-PHP - Unauthenticated SQL Injection in /userlogin
Unauthenticated attackers can exploit SQL injection in the login route to bypass authentication and extract arbitrary database data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-71237?
CVE-2026-71237 is a critical SQL injection vulnerability in Miantang IoT-PHP, published on 5 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Miantang/IoT-PHP's index.php implements a POST /userlogin route that reads the password directly from ['pwd'] with no sanitization and concatenates it into a raw SQL string: mysql_query("select * from userlists where username='' and password='' limit 1"). An unauthenticated attacker can submit a payload such as pwd=' OR '1'='1 to bypass authentication and, via UNION-based injection, extract arbitrary data from the database.
Weakness: CWE-89
Which versions are affected by CVE-2026-71237?
How do I fix CVE-2026-71237?
No fix has been published for CVE-2026-71237 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-71237 being exploited?
There is no known exploitation of CVE-2026-71237 in the wild and no public exploit code.
Sources
Also known as GHSA-wjx2-3579-9x87.