CVE-2026-71231
9.8 CRITICALpublic exploit availablePublished 2026-08-05 · Updated 2026-08-10
AI risk analysis
- Summary
- The flaw allows an attacker to execute arbitrary SQL commands by exploiting improper input sanitization in the authentication query construction.
- Exploitability
- Exploitation is relatively straightforward given access to the cookie value, making it a high-risk vulnerability.
- Blast radius
- If exploited, this could lead to full database compromise and unauthorized access to user data.
- Prioritized remediation
- Implement proper input validation and sanitization for SQL queries, or use parameterized queries to prevent SQL injection.
rcesql-injectionwebauth-bypass
Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-89
Public exploit & PoC references
All references
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.