Vulnerability 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 Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/absmach/magistrala/pull/3581
- https://github.com/absmach/magistrala/pull/3581/changes/aac9461aa561c3de7aa9a0dc
- https://github.com/absmach/magistrala/releases/tag/v1.0.0
- https://www.vulncheck.com/advisories/magistrala-sql-injection-via-format-paramet
FAQ
What is CVE-2026-82028?
CVE-2026-82028 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 ...
How severe is CVE-2026-82028?
CVE-2026-82028 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-82028?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.