VULNERABILITY INTELLIGENCE

CVE-2026-71276

CVSS score7.1 HIGH
EPSS probability0.32%
CISA KEVNot currently listed
Published2026-08-05
Last modified2026-10-23
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

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.

Weakness classification

  • 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c: CWE-89

Primary references