← All Advisories
Reported from OT-Advisories.com as of

Magistrala Message Reader API Interpolates Unvalidated HTTP Query Parameters Directly into Raw SQL Queries

Last refreshed2026-11-16

Status: UPDATED  |  Advisory ID: CVE-2026-71276

Key Details

CVECVE-2026-71276
CVSS Score / Version
7.1 (High) / CVSS v3.1
Updated2026-08-26
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
CVSS Prose
attack vector is network; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is low; availability impact is none.
Affected products
absmach magistrala
Classified as
CWE-89 (Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'))
Exploitation prediction (EPSS)
0.32% probability of exploitation in the next 30 days (26% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
absmachmagistrala
SubsystemsGeneral OT
SectorsMultiple

What to Know

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.

What to Do

Monitor absmach's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-71276
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-71276
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.