{"id":"CVE-2026-82028","title":"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…","summary":"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…","severity":"high","cvss":8.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-89"],"vendor":"absmach","product":"magistrala","affected":["magistrala < 1.0.0"],"published":"2026-09-14","updated":"2026-09-16","sourceUpdated":"2026-09-16T17:18:09.647","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-82028","references":[{"url":"https://github.com/absmach/magistrala/pull/3581","label":"disclosure@vulncheck.com"},{"url":"https://github.com/absmach/magistrala/pull/3581/changes/aac9461aa561c3de7aa9a0dc814ac84c602e0cf9","label":"disclosure@vulncheck.com"},{"url":"https://github.com/absmach/magistrala/releases/tag/v1.0.0","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/magistrala-sql-injection-via-format-parameter-in-reader-api","label":"disclosure@vulncheck.com"}],"tags":["nvd","cve.org"],"epss":0.00427,"epssPercentile":0.36417,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-16T16:11:24.801669Z"},"ingestedAt":"2026-09-14T20:14:21.151Z","slug":"CVE-2026-82028","body":"## Overview\n\nMagistrala 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":48,"depthScoreParts":{"impact":48.4,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}