{"id":"CVE-2026-82028","aliases":["CVE-2026-82028"],"related":[],"kind":"vulnerability","state":"published","title":"Magistrala < 1.0.0 SQL Injection via format Parameter in Reader API","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-14T19:56:59.881Z","modified":"2026-09-26T13:29:55.933Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.0.0","status":"affected"}],"vendor":"absmach","product":"magistrala","repo":"https://github.com/absmach/magistrala","source":"cvelist"}],"references":[{"url":"https://github.com/absmach/magistrala/releases/tag/v1.0.0","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/absmach/magistrala/pull/3581","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/absmach/magistrala/pull/3581/changes/aac9461aa561c3de7aa9a0dc814ac84c602e0cf9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/magistrala-sql-injection-via-format-parameter-in-reader-api","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Haseeb(^hxm)","VulnCheck"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-09-16T16:11:24.801Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-82028","url":"https://www.cve.org/CVERecord?id=CVE-2026-82028","licence":"CVE Terms of Use","modified":"2026-09-26T13:29:55.933Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-82028","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82028","licence":"Public domain","modified":"2026-09-23T17:17:47.720Z"}],"updatedAt":"2026-11-25T22:59:38.368Z","epss":{"score":0.00427,"percentile":0.3885,"date":"2026-12-01T12:00:22.000Z"}}