CVE-2026-71276
HIGH 7.1CVSS 3.1Magistrala (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.
- Published
- 5 Aug 2026
- Last modified
- 23 Oct 2026
- Assigned by
- 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
- NVD status
- Deferred
- Weakness
- CWE-89
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
References
- https://github.com/absmach/magistrala
- https://github.com/absmach/magistrala/blob/main/readers/postgres/messages.go
History
- 25 Nov 2026 21:04 UTC ยท NVD: first stored (published 5 Aug 2026)