# CVE-2026-71282: ChirpStack SQLite Backend SQL Injection via Device Tag Key in ListDevices Filter

- Severity: Medium 6.5 (CVSS:3.1, scored by TuranSec) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 24% of CVEs (2026-11-30)
- Published: 2026-08-05T12:26:28.258Z
- Modified: 2026-08-26T17:13:24.800Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: TuranSec

## 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.

(As written by CVE List.)

## Affected

- chirpstack chirpstack: up to 4.19.0-test.5

## References

- <https://github.com/chirpstack/chirpstack> (third-party-advisory)
- <https://github.com/chirpstack/chirpstack/blob/master/chirpstack/src/storage/device.rs> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-71282](https://www.cve.org/CVERecord?id=CVE-2026-71282), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-71282](https://nvd.nist.gov/vuln/detail/CVE-2026-71282), Public domain, modified 2026-08-26

---

Page: https://cve.day/CVE-2026-71282 · Whole record: https://cve.day/CVE-2026-71282.json · Rebuilt by cve.day 2026-11-25T22:59:31.107Z
