{
  "id": "CVE-2026-82028",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-82028",
  "published_at": "2026-09-14T19:56:59.881Z",
  "title": "Magistrala \u003c 1.0.0 SQL Injection via format Parameter in Reader API",
  "vendor": "absmach",
  "product": "magistrala",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-89",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "absmach",
        "product": "magistrala",
        "ranges": [
          "\u003c 1.0.0"
        ],
        "fixed_in": [
          "1.0.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade magistrala to 1.0.0 or later."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://github.com/absmach/magistrala/releases/tag/v1.0.0"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/absmach/magistrala/pull/3581"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/absmach/magistrala/pull/3581/changes/aac9461aa561c3de7aa9a0dc814ac84c602e0cf9"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
