CVE-2026-71231
IOTSmartHome - Unauthenticated SQL Injection via lastLogin Cookie
- State
- Published
- Severity
- 9.8 Critical
- Published
- Aug 5, 2026
- Updated
- Aug 10, 2026
- Reserved
- Aug 5, 2026
Description
IOTSmartHome's gui/login.php checkCookie function builds an authentication query as SELECT * FROM users WHERE ID='<decoded lastLogin cookie>' after base64-decoding the client-supplied lastLogin cookie via safe_decode, which performs URL-safe base64 decoding with no sanitization of the decoded value before it is concatenated into the SQL string.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | TuranSec |
Weaknesses
- CWE-89 SQL Injection
Affected Products
| Product | Versions |
|---|---|
IOTSmartHomethebradleysanders |
|
References
- https://github.com/thebradleysanders/IOTSmartHomethird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.