High severity · published Aug 5, 2026
CVE-2026-71276
Magistrala (formerly Mainflux) IoT Platform SQL Injection via format Query Parameter
7.1
CVSS
0.3%
EPSS
No
On KEV
Description
Magistrala (formerly Mainflux)'s message-readers API reads a value from the HTTP query string (readers/api/http/transport.go) with no validation and interpolates it directly into raw SQL queries via fmt.Sprintf in both the PostgreSQL reader (readers/postgres/messages.go: ) and the TimescaleDB reader (readers/timescale/messages.go, same pattern), enabling SQL injection by any authenticated user able to query channel messages.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 25% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
magistrala · absmach
0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-71276
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-71276
github.com
https://github.com/absmach/magistrala
github.com
https://github.com/absmach/magistrala/blob/main/readers/postgres/messages.go
More from magistrala
8.8
CVE-2026-82028
Magistrala < 1.0.0 SQL Injection via format Parameter in Reader API
8.8
CVE-2026-71235
Magistrala IoT Platform - Unrestricted Go/Lua Script Execution in Rules Engine
8.3
CVE-2026-111684
Magistrala through 1.0.0 Cross-Tenant Authorization Bypass in Certs Service
