Skip to content
OpenAdvisories
High · 7.1 CVE-2026-71276 EUVD-2026-53361GHSA-pwc8-43hr-jg4j

Magistrala (formerly Mainflux) IoT Platform SQL Injection via format Query Parameter

Published Aug 5, 2026 · Updated Aug 10, 2026 · Assigned by TuranSec

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.

Affected products

VendorProductAffectedFixed
absmach magistrala — —

References