{"id":"CVE-2026-71231","summary":"IOTSmartHome - Unauthenticated SQL Injection via lastLogin Cookie","details":"IOTSmartHome's gui/login.php checkCookie function builds an authentication query as SELECT * FROM users WHERE ID='\u003cdecoded lastLogin cookie\u003e' 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.","modified":"2026-10-27T02:47:45.897801516Z","published":"2026-08-05T10:56:07.066Z","database_specific":{"cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71231.json","cna_assigner":"TuranSec"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71231.json"},{"type":"ADVISORY","url":"https://github.com/thebradleysanders/IOTSmartHome"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71231"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/thebradleysanders/iotsmarthome","events":[{"introduced":"0"},{"last_affected":"0"}],"database_specific":{"extracted_events":[{"strategy":"StandaloneSingleVersion","range":[{"introduced":"0"},{"last_affected":"0"}],"source":"AFFECTED_FIELD"}]}}],"versions":["0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-71231.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}