Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
absmach magistrala
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 1.0.0 版本之前的 Magistrala 软件中, 和 HTTP API 服务存在 SQL 注入漏洞。已认证的攻击者可以通过提供一个恶意的 查询参数触发该漏洞,该参数会被直接拼接进 SQL 语句的 子句中,且未进行参数化或标识符引号处理。拥有自注册账户的攻击者可以替换任意子查询,从而实现跨租户数据库读取、提取 中的密码哈希值、读写任意文件,并通过加载攻击者提供的共享对象,以 操作系统用户身份执行任意代码。由于默认的 PostgreSQL 角色配置,所有注入的 SQL 语句均以超级用户权限执行。

CVSS 8.8 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-82028

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Magistrala < 1.0.0 SQL Injection via format Parameter in Reader API
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
absmach magistrala 0 ~ 1.0.0 -

II. Public POCs for CVE-2026-82028

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-82028

登录查看更多情报信息。

Patches & Fixes for CVE-2026-82028 (2)

Vendor Advisories for CVE-2026-82028 (1)

Vendor Pages for CVE-2026-82028 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-82028

No comments yet


Leave a comment