Magistrala (formerly Mainflux) IoT Platform SQL Injection via format Query Parameter
cve-program · CVE-2026-71276
PublishedMagistrala (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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-71276 · CVE overview and exploitation status
cve-program · CVE-2026-71276
Related changes
Linked by CVE identifierNo related changes are available here.