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
CVE
CVE-2026-71276
CVSS Score / Version
7.1 (High) / CVSS v3.1
Updated
2026-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
Vendor
Product
Affected Versions
Patch Status
absmach
magistrala
Subsystems
General OT
Sectors
Multiple
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.