๐Ÿ” CVE Alert

CVE-2026-71282

MEDIUM 6.5

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

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

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 (`dsl::sql::<Bool>(&format!("device.tags->>'{}' =", k)).bind::<Text, _>(v)`), while only the tag VALUE is safely parameter-bound via Diesel's .bind(). An authenticated user with device-list access can inject SQL via a crafted tag key when the SQLite backend (chirpstack-sqlite package) is in use; the PostgreSQL backend is unaffected as it uses Diesel's native JSONB containment operator instead of raw SQL string formatting.

CWE CWE-89
Vendor chirpstack
Product chirpstack
Published Aug 5, 2026
Last Updated Aug 5, 2026
Stay Ahead of the Next One

Get instant alerts for chirpstack chirpstack

Be the first to know when new medium vulnerabilities affecting chirpstack chirpstack are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

chirpstack / chirpstack
0 โ‰ค 4.19.0-test.5

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/chirpstack/chirpstack github.com: https://github.com/chirpstack/chirpstack/blob/master/chirpstack/src/storage/device.rs

Credits

Alibek Baxtiyorov