{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-71276","id":"CVE-2026-71276","title":"Magistrala (formerly Mainflux) IoT Platform SQL Injection via format Query Parameter","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 abl","descriptionLong":"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.","published":"2026-08-05T12:26:22.961Z","updated":"2026-10-23T21:10:00.157Z","reserved":"2026-08-05T12:23:34.967Z","status":"Deferred","rejected":false,"assigner":"TuranSec","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","rating":"high","source":"TuranSec"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","rating":"high","source":"TuranSec"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","rating":"high","source":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c"}],"rating":"high","products":["absmach magistrala"],"affectedProducts":[{"vendor":"absmach","product":"magistrala","defaultStatus":"unaffected","versions":[{"version":"0","lessThanOrEqual":"*","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-89"],"aliases":[],"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"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00323,"epssPercentile":0.25894,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-71276","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71276","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-71276","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-71276","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}