CVE-2026-71276: Magistrala (formerly Mainflux) IoT Platform SQL Injection via format Query Parameter

Published Aug 5, 2026
·
Updated

Magistrala (formerly Mainflux)'s message-readers API reads a format 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: fmt.Sprintf("SELECT FROM %s WHERE %s ...", format, cond)) and the TimescaleDB reader (readers/timescale/messages.go, same pattern), enabling SQL injection by any authenticated user able to query channel messages.

Affected Software

1 affected component
Magistrala IoT Platform (message-readers API)

Event History

Aug 5, 2026
CVE Published
via MITRE·12:26 PM
Data Sourced
via MITRE·12:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:24 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-71276?

CVE-2026-71276 has a severity rating of high with a score of 7.1.

2

How do I fix CVE-2026-71276?

To mitigate CVE-2026-71276, you should implement input validation and sanitation on the 'format' parameter in the message-readers API.

3

What kind of vulnerability is CVE-2026-71276?

CVE-2026-71276 is an SQL Injection vulnerability affecting the Magistrala IoT Platform.

4

Which software is affected by CVE-2026-71276?

CVE-2026-71276 affects the Magistrala IoT Platform, specifically its message-readers API.

5

When was CVE-2026-71276 published?

CVE-2026-71276 was published on August 5, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203