Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-71276: CWE-89 in absmach magistrala

0
High
Published: 08/05/2026 (08/05/2026, 15:32:20 UTC)
Source: CVE Database V5
Vendor/Project: absmach
Product: magistrala

Description

Magistrala (formerly Mainflux)'s message-readers API reads a `format` value from the HTTP query string (readers/api/http/transport.go) with no validation and interpolates it directly into raw SQL queries via fmt.Sprintf() in both the PostgreSQL reader (readers/postgres/messages.go: `fmt.Sprintf("SELECT * FROM %s WHERE %s ...", format, cond)`) and the TimescaleDB reader (readers/timescale/messages.go, same pattern), enabling SQL injection by any authenticated user able to query channel messages.

CVSS v3.1

Score 7.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 13:30:11 UTC

Technical Analysis

CVE-2026-71276 is a SQL injection vulnerability (CWE-89) in Magistrala's message-readers API. The 'format' parameter from the HTTP query string is used unsafely in raw SQL queries constructed via fmt.Sprintf() in both PostgreSQL and TimescaleDB readers, allowing authenticated users to inject SQL commands. This occurs in readers/api/http/transport.go and readers/postgres/messages.go and readers/timescale/messages.go. The vulnerability enables unauthorized data access or manipulation with high confidentiality impact but limited integrity and availability impact. No known exploits are reported in the wild.

Potential Impact

An authenticated user can exploit this vulnerability to execute arbitrary SQL commands on the backend database, potentially leading to unauthorized disclosure of sensitive data (high confidentiality impact). The integrity impact is low as the vulnerability primarily allows reading data, and availability impact is none. This could compromise the confidentiality of channel messages stored in PostgreSQL or TimescaleDB databases used by Magistrala.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid exposing the vulnerable API to untrusted users or restrict access to trusted authenticated users only. Monitor vendor channels for updates and apply patches promptly once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-08-05T12:23:34.967Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a7336e5bf8831d539ed925c

Added to database: 08/05/2026, 13:13:09 UTC

Last enriched: 08/05/2026, 13:30:11 UTC

Last updated: 08/05/2026, 18:47:02 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses