CVE-2026-82028
Magistrala before 1.0.0 contains a SQL injection vulnerability in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/absmach/magistrala/pull/3581
- github.com/absmach/magistrala/pull/3581/changes/aac9461aa561c3de7aa9a0dc814ac84c602e0cf9
- github.com/absmach/magistrala/releases/tag/v1.0.0
- www.vulncheck.com/advisories/magistrala-sql-injection-via-format-parameter-in-reader-api
- nvd.nist.gov/vuln/detail/CVE-2026-82028
- cve.org/CVERecord?id=CVE-2026-82028
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.