# CVE-2026-82028: Magistrala < 1.0.0 SQL Injection via format Parameter in Reader API

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-09-14T19:56:59.881Z
- Modified: 2026-09-26T13:29:55.933Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- absmach magistrala: before 1.0.0

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/absmach/magistrala/releases/tag/v1.0.0> (release-notes)
- <https://github.com/absmach/magistrala/pull/3581> (issue-tracking, patch)
- <https://github.com/absmach/magistrala/pull/3581/changes/aac9461aa561c3de7aa9a0dc814ac84c602e0cf9> (patch)
- <https://www.vulncheck.com/advisories/magistrala-sql-injection-via-format-parameter-in-reader-api> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-82028](https://www.cve.org/CVERecord?id=CVE-2026-82028), CVE Terms of Use, modified 2026-09-26
- NVD: [CVE-2026-82028](https://nvd.nist.gov/vuln/detail/CVE-2026-82028), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2026-82028 · Whole record: https://cve.day/CVE-2026-82028.json · Rebuilt by cve.day 2026-11-25T22:59:38.368Z
