CVE-2026-71276
Severity CVSS v4.0:
Pending analysis
Type:
CWE-89
SQL Injection
Publication date:
05/08/2026
Last modified:
10/08/2026
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.
Impact
Base Score 3.x
7.10
Severity 3.x
HIGH


