High severity · published Sep 14, 2026
CVE-2026-82028
Magistrala < 1.0.0 SQL Injection via format Parameter in Reader API
8.8
CVSS
0.6%
EPSS
No
On KEV
Description
Magistrala before 1.0.0 contains a SQL injection vulnerability in the timescale-reader and postgres-reader HTTP API services that allows authenticated attackers to inject arbitrary SQL by supplying a malicious format query parameter that is interpolated directly into the FROM clause without parameterization or identifier quoting. Attackers with a self-registered account can substitute arbitrary subqueries to achieve cross-tenant database reads, extract pg_shadow password hashes, read and write arbitrary files, and execute arbitrary code as the postgres OS user by loading attacker-supplied shared objects, with all injected SQL executing at superuser privilege due to the default PostgreSQL role configuration.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 48% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
magistrala · absmach
before 1.0.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-82028
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-82028
github.com
https://github.com/absmach/magistrala/pull/3581
github.com
https://github.com/absmach/magistrala/pull/3581/changes/aac9461aa561c3de7aa9a0dc814ac84c602e0cf9
github.com
https://github.com/absmach/magistrala/releases/tag/v1.0.0
www.vulncheck.com
https://www.vulncheck.com/advisories/magistrala-sql-injection-via-format-parameter-in-reader-api
More from magistrala
8.8
CVE-2026-71235
Magistrala IoT Platform - Unrestricted Go/Lua Script Execution in Rules Engine
8.3
CVE-2026-111684
Magistrala through 1.0.0 Cross-Tenant Authorization Bypass in Certs Service
7.1
CVE-2026-71276
Magistrala (formerly Mainflux) IoT Platform SQL Injection via format Query Parameter
