CVE-2026-71276
Magistrala (formerly Mainflux) IoT Platform SQL Injection via format Query Parameter
- State
- Published
- Severity
- 7.1 High
- Published
- Aug 5, 2026
- Updated
- Aug 10, 2026
- Reserved
- Aug 5, 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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.1 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N | TuranSec |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
magistralaabsmach |
|
References
- https://github.com/absmach/magistralathird-party-advisory
- https://github.com/absmach/magistrala/blob/main/readers/postgres/messages.gothird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.