{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-71276","assignerOrgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","state":"PUBLISHED","assignerShortName":"TuranSec","dateReserved":"2026-08-05T12:23:34.967Z","datePublished":"2026-08-05T12:26:22.961Z","dateUpdated":"2026-08-10T11:46:54.326Z"},"containers":{"cna":{"title":"Magistrala (formerly Mainflux) IoT Platform SQL Injection via format Query Parameter","descriptions":[{"lang":"en","value":"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.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>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.</p>"}]}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-89","cweId":"CWE-89","type":"CWE"}]}],"affected":[{"vendor":"absmach","product":"magistrala","programFiles":["readers/postgres/messages.go","readers/timescale/messages.go"],"versions":[{"version":"0","lessThanOrEqual":"*","status":"affected","versionType":"custom"}],"defaultStatus":"unaffected"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE"}}],"references":[{"url":"https://github.com/absmach/magistrala","tags":["third-party-advisory"]},{"url":"https://github.com/absmach/magistrala/blob/main/readers/postgres/messages.go","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"Alibek Baxtiyorov","type":"finder"}],"providerMetadata":{"orgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","shortName":"TuranSec","dateUpdated":"2026-08-10T11:46:54.326Z"},"source":{"discovery":"EXTERNAL"},"datePublic":"2026-08-05T12:26:22.961Z"},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-05T15:55:35.305885Z","id":"CVE-2026-71276","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-08-05T15:55:40.702Z"}}]}}