CVE-2026-82028

Source
https://cve.org/CVERecord?id=CVE-2026-82028
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82028.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-82028
Published
2026-09-14T19:56:59Z
Modified
2026-09-16T03:47:39Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Magistrala < 1.0.0 SQL Injection via format Parameter in Reader API
Details

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.

Database specific
{
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82028.json"
}
References

Affected packages

Git / github.com/absmach/magistrala

Affected ranges

Type
GIT
Repo
https://github.com/absmach/magistrala
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.0.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "DESCRIPTION",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.10.0
0.11.0
0.12.0
0.12.1
0.13.0
0.2.0
0.2.1
0.2.2
0.2.3
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
v0.*
v0.11.0
v0.14.0
v0.15.0
v0.15.1
v0.16.0
v0.17.0
v0.17.0-rc.1
v0.17.0-rc.2
v0.18.0
v0.18.1
v0.18.2
v0.18.3
v0.18.4
v0.18.5
v0.19.0
v0.19.1
v0.20.0
v0.30.0
v0.40.0
v0.50.0
v0.51.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82028.json"