SecurityContext

CVE-2026-82028: Magistrala - SQL Injection

  • Cve: CVE-2026-82028
  • Name: Magistrala - SQL Injection
  • 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.
  • Impact: Authenticated attackers can execute arbitrary SQL commands as superuser, leading to data theft, file read/write, and remote code execution as the postgres OS user.
  • Remediation: Update to version 1.0.0 or later.
  • Vulnerability type: sql_injection
  • Vulnerability impact: remote_code_execution, file_system_read, file_system_write, information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker must have a self-registered account.
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00596
  • Epss percentile: 0.49445
  • Assignee: [email protected]
  • Published at: 2026-09-14T20:16:54Z
  • Age in days: 71
  • Modified at: 2026-09-23T17:17:47Z
  • References total: 4
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-82028
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/absmach/magistrala/pull/3581
https://github.com/absmach/magistrala/pull/3581/changes/aac9461aa561c3de7aa9a0dc814ac84c602e0cf9
https://github.com/absmach/magistrala/releases/tag/v1.0.0
https://www.vulncheck.com/advisories/magistrala-sql-injection-via-format-parameter-in-reader-api

Projects

RepositoryLink kindsIndexedUrl
absmach/magistralafix, pull, releasesyes/v1/repositories/absmach/magistrala

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts