Vulnerability · Published Aug 5, 2026 · Assigned by TuranSec
CVE-2026-71237Miantang IoT-PHP - Unauthenticated SQL Injection in /userlogin
Critical 9.8
In plain English
A critical-severity SQL injection in IoT-PHP from Miantang. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities).
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.
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/Miantang/IoT-PHP third-party-advisory