Magistrala (formerly Mainflux) IoT Platform SQL Injection via format Query Parameter
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-71276
- 2026-10-03 Alias added: GHSA-pwc8-43hr-jg4j
References
More absmach vulnerabilities
- TI-2026-75470 Authorization bypass in Magistrala certs service CVSS 4.0HIGH 7.2
- TI-2026-56613 Magistrala < 1.0.0 SQL Injection via format Parameter in Reader API CVSS 4.0HIGH 8.7
- TI-2026-49906 Magistrala IoT Platform - Unrestricted Go/Lua Script Execution in Rules Engine CVSS 3.1HIGH 8.8
Sources
- CVE-2026-71276 · CVE Program
- CVE-2026-71276 · NVD
- FIRST EPSS
- GHSA-pwc8-43hr-jg4j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences