# CVE-2026-71237: Miantang IoT-PHP - Unauthenticated SQL Injection in /userlogin

- Severity: Critical 9.8 (CVSS:3.1, scored by TuranSec) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-08-05T10:56:31.037Z
- Modified: 2026-08-26T17:13:24.800Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: TuranSec

## 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.

(As written by CVE List.)

## Affected

- Miantang IoT-PHP: 0

## References

- <https://github.com/Miantang/IoT-PHP> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-71237](https://www.cve.org/CVERecord?id=CVE-2026-71237), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-71237](https://nvd.nist.gov/vuln/detail/CVE-2026-71237), Public domain, modified 2026-08-26

---

Page: https://cve.day/CVE-2026-71237 · Whole record: https://cve.day/CVE-2026-71237.json · Rebuilt by cve.day 2026-11-25T22:59:31.092Z
