Skip to main content
EPSS 0.4%top 71%

CVE-2026-71231: CWE-89 SQL Injection in thebradleysanders IOTSmartHome

0
Critical
Published: 08/05/2026 (08/05/2026, 10:56:07 UTC)
Source: CVE Database V5
Vendor/Project: thebradleysanders
Product: IOTSmartHome

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 v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

thebradleysanders

IOTSmartHome

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 14:27:05 UTC

Technical Analysis

The vulnerability arises because the checkCookie function in IOTSmartHome's gui/login.php decodes a client-supplied lastLogin cookie using a URL-safe base64 decode function (safe_decode) and then directly concatenates the decoded value into an SQL query string without any sanitization or parameterization. This leads to a classic SQL Injection (CWE-89) vulnerability, enabling an attacker to manipulate the SQL query executed against the users database. The CVSS 3.1 vector indicates the attack can be performed remotely without privileges or user interaction, with critical impact on confidentiality, integrity, and availability.

Potential Impact

Successful exploitation of this vulnerability could allow an unauthenticated remote attacker to execute arbitrary SQL commands on the backend database. This can lead to unauthorized data disclosure, data modification, or deletion, and potentially full system compromise depending on the database and application context.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, it is recommended to avoid using vulnerable versions or apply application-level mitigations such as input validation, parameterized queries, or web application firewalls that can detect and block SQL injection attempts.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-08-05T10:53:53.175Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a731a7fbf8831d539c95c5b

Added to database: 08/05/2026, 11:11:59 UTC

Last enriched: 08/12/2026, 14:27:05 UTC

Last updated: 09/18/2026, 10:01:33 UTC

Views: 38

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses