CVE-2026-71276
Last modified
CVE-2026-71276 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. Magistrala (formerly Mainflux)'s message-readers API reads a 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: ) and the TimescaleDB reader (readers/timescale/messages.go, same pattern), enabling SQL injection by any authenticated user able to query channel messages.. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
Magistrala (formerly Mainflux)'s message-readers API reads a 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: ) and the TimescaleDB reader (readers/timescale/messages.go, same pattern), enabling SQL injection by any authenticated user able to query channel messages.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| absmach | magistrala | <= * |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-71276?
How severe is CVE-2026-71276?
How do I fix CVE-2026-71276?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-71270Stirling-PDF's POST /api/v1/convert/url/pdf endpoint (Conver…8.6
- CVE-2026-71271Memos' webhook URL validation, isReservedIP (internal/webhoo…8.5
- CVE-2026-71272Memos' webhook dispatch function safeDialContext (internal/w…8.5
- CVE-2026-71273OpenBK7231T's /cfg_wifi_set endpoint (src/httpserver/http_fn…6.5
- CVE-2026-71274OpenBK7231T's CHANNEL_SetLabel (src/cmnds/cmd_channels.c) st…8.5
- CVE-2026-71275OpenBK7231T's http_fn_ota_exec() (src/httpserver/http_fns.c)…5.4
- CVE-2026-71277rust-iot-platform's AuthToken request-guard implementation (…9.1
- CVE-2026-71278rust-iot-platform allows creating a "calc rule" via POST /ca…9.8
- CVE-2026-71279Zigbee2MQTT's ExternalJSExtension.getFilePath (lib/extension…8
- CVE-2026-7128A security vulnerability has been detected in SourceCodester…7.3
- CVE-2026-71280go-shiori's DownloadBookmark (internal/core/download.go) fet…8.5
- CVE-2026-71281Hugging Face peft's LoRA-GA and CorDA initialization modules…8.8
Are you affected by CVE-2026-71276?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
