Vulnerability · Published Aug 5, 2026 · Assigned by TuranSec
CVE-2026-71231IOTSmartHome - Unauthenticated SQL Injection via lastLogin Cookie
Critical 9.8
In plain English
A critical-severity SQL injection in IOTSmartHome from thebradleysanders. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities).
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.7%top 48.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| thebradleysanders | IOTSmartHome | 0 |
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/thebradleysanders/IOTSmartHome third-party-advisory