Security Advisory

CVE-2026-71276

CVE vulnerability detail - eXtreme Datacenter Security Operations

Published 2026-08-05 12:26:22
Last updated 2026-08-05 15:55:40
Assigner TuranSec
CVSS score not scored
State PUBLISHED

Description

Magistrala (formerly Mainflux)'s message-readers API reads a `format` 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: `fmt.Sprintf("SELECT * FROM %s WHERE %s ...", format, cond)`) and the TimescaleDB reader (readers/timescale/messages.go, same pattern), enabling SQL injection by any authenticated user able to query channel messages.