CVE-2026-82028: Magistrala < 1.0.0 SQL Injection via format Parameter in Reader API

Published Sep 14, 2026
·
Updated

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 pgshadow 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.

Affected Software

2 affected components
Magistrala timescale-reader<1.0.0
Magistrala postgres-reader<1.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Magistrala (timescale-reader, postgres-reader) to a version that resolves this vulnerability.

    Fixed in 1.0.0
  2. Compensating control

    As a compensating control until upgrading, restrict network access to the timescale-reader and postgres-reader HTTP API services so only trusted clients/authenticated users can reach the Reader API endpoints that accept the malicious format query parameter.

Event History

Sep 14, 2026
CVE Published
via MITRE·07:56 PM
Data Sourced
via MITRE·07:56 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this vulnerability?

An authenticated attacker can exploit it, including someone who can create a self-registered account. The vulnerable entry points are the timescale-reader and postgres-reader HTTP API services.

2

What access does successful exploitation provide?

Injected SQL executes with PostgreSQL superuser privilege under the default role configuration. This can enable cross-tenant reads, extraction of pg_shadow password hashes, arbitrary file reads and writes, and code execution as the postgres OS user by loading attacker-supplied shared objects.

3

Are default deployments affected?

The described impact applies to the default PostgreSQL role configuration, where injected queries execute as a superuser. Magistrala versions before 1.0.0 are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203