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

High 7.1 Published Updated

Authenticated users can execute arbitrary SQL commands via the format query parameter in the message-readers API, potentially exposing or modifying data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-71276?

CVE-2026-71276 is a high-severity SQL injection vulnerability in absmach magistrala, published on 5 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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: CWE-89

Which versions are affected by CVE-2026-71276?

How do I fix CVE-2026-71276?

No fix has been published for CVE-2026-71276 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-71276 being exploited?

There is no known exploitation of CVE-2026-71276 in the wild and no public exploit code.

Sources

Also known as GHSA-pwc8-43hr-jg4j.

Is CVE-2026-71276 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free