What’s Vulnerable › Vulnerabilities
CVE-2026-82028: Magistrala < 1.0.0 SQL Injection via format Parameter in Reader API
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-14 · updated 2026-09-23
- Weakness: CWE-89
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.
Affected products
- absmach magistrala: before 1.0.0 — fixed in 1.0.0
How to fix
Upgrade to a fixed version: absmach magistrala 1.0.0. Check the vendor advisory for mitigations.
References
- https://github.com/absmach/magistrala/pull/3581
- https://github.com/absmach/magistrala/pull/3581/changes/aac9461aa561c3de7aa9a0dc814ac84c602e0cf9
- https://github.com/absmach/magistrala/releases/tag/v1.0.0
- https://www.vulncheck.com/advisories/magistrala-sql-injection-via-format-parameter-in-reader-api
Get alerted when CVE-2026-82028 or the next vulnerability affects your stack