CVE-2026-71282

ChirpStack SQLite Backend SQL Injection via Device Tag Key in ListDevices Filter

State
Published
Severity
6.5 Medium
Published
Aug 5, 2026
Updated
Aug 10, 2026
Reserved
Aug 5, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NTuranSec

Weaknesses

Affected Products

ProductVersions
chirpstackchirpstack
  • 4.19.0-test.5 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.