CVEvulnerability
CVE-2026-71276
7.1 HIGH
Official page ↗
- Status
- Deferred
- Published
- 2026-08-05
- Last modified
- 2026-10-23
- Assigner
- 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
- CVSS 3.1 (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c)
- 7.1 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- Weaknesses
- 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.
Related
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness