{"id":"CVE-2026-71282","state":"PUBLISHED","title":"ChirpStack SQLite Backend SQL Injection via Device Tag Key in ListDevices Filter","description":"ChirpStack's SQLite-backend device tag filtering (chirpstack/src/storage/device.rs, in both get_count and list) interpolates the user-supplied tag KEY directly into a raw SQL fragment via Rust's format! macro , while only the tag VALUE is safely parameter-bound via Diesel's .bind.","publishedAt":"2026-08-05T12:26:28.258Z","updatedAt":"2026-08-10T11:47:06.627Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"TuranSec"},"assigner":"TuranSec","products":["chirpstack chirpstack"],"affected":[{"vendor":"chirpstack","product":"chirpstack","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.19.0-test.5","versionType":"semver"}],"programFiles":["src/storage/device.rs"]}],"references":["https://github.com/chirpstack/chirpstack","https://github.com/chirpstack/chirpstack/blob/master/chirpstack/src/storage/device.rs"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/71xxx/CVE-2026-71282.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-71282","state":"PUBLISHED","datePublished":"2026-08-05T12:26:28.258Z","dateUpdated":"2026-08-10T11:47:06.627Z","assignerShortName":"TuranSec","assignerOrgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateReserved":"2026-08-05T12:23:34.968Z"},"containers":{"cna":{"title":"ChirpStack SQLite Backend SQL Injection via Device Tag Key in ListDevices Filter","descriptions":[{"lang":"en","value":"ChirpStack's SQLite-backend device tag filtering (chirpstack/src/storage/device.rs, in both get_count and list) interpolates the user-supplied tag KEY directly into a raw SQL fragment via Rust's format! macro , while only the tag VALUE is safely parameter-bound via Diesel's .bind."}],"affected":[{"vendor":"chirpstack","product":"chirpstack","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.19.0-test.5","versionType":"semver"}],"programFiles":["src/storage/device.rs"]}],"references":[{"url":"https://github.com/chirpstack/chirpstack","tags":["third-party-advisory"]},{"url":"https://github.com/chirpstack/chirpstack/blob/master/chirpstack/src/storage/device.rs","tags":["third-party-advisory"]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89","type":"CWE"}]}],"providerMetadata":{"shortName":"TuranSec","orgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateUpdated":"2026-08-10T11:47:06.627Z"},"credits":[{"lang":"en","value":"Alibek Baxtiyorov","type":"finder"}],"source":{"discovery":"EXTERNAL"},"datePublic":"2026-08-05T12:26:28.258Z"},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-05T15:53:40.289901Z","id":"CVE-2026-71282","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-05T15:53:45.454Z"}}]}}}