What’s Vulnerable › Vulnerabilities
CVE-2026-71276: Magistrala (formerly Mainflux) IoT Platform SQL Injection via format Query Parameter
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-05 · updated 2026-10-23
- Weakness: CWE-89
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
- absmach magistrala: all versions
References
- https://github.com/absmach/magistrala
- https://github.com/absmach/magistrala/blob/main/readers/postgres/messages.go
Get alerted when CVE-2026-71276 or the next vulnerability affects your stack