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

Published Aug 5, 2026
·
Updated

ChirpStack's SQLite-backend device tag filtering (chirpstack/src/storage/device.rs, in both getcount() 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.

Affected Software

1 affected component
chirpstack-sqlite

Event History

Aug 5, 2026
CVE Published
via MITRE·12:26 PM
Data Sourced
via MITRE·12:26 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-71282?

The severity of CVE-2026-71282 is rated medium with a score of 6.5.

2

How do I fix CVE-2026-71282?

To fix CVE-2026-71282, sanitize user inputs in the SQLite backend to prevent SQL injection risks.

3

What type of vulnerability is CVE-2026-71282?

CVE-2026-71282 is an SQL Injection vulnerability in ChirpStack's SQLite backend.

4

Which software is affected by CVE-2026-71282?

CVE-2026-71282 affects the ChirpStack software using an SQLite backend.

5

What are the potential impacts of CVE-2026-71282?

The potential impacts of CVE-2026-71282 include unauthorized access to sensitive data due to SQL injection exploits.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203