CVE-2025-45346 Bacula-web SQL Injection Vulnerability
Remote attackers can execute arbitrary code via SQL injection in Bacula-web, requiring an upgrade to secure the web interface.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-45346?
CVE-2025-45346 is a high-severity SQL injection vulnerability in n/a, published on 29 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SQL Injection vulnerability in Bacula-web before v.9.7.1 allows a remote attacker to execute arbitrary code via a crafted HTTP GET request.
Weakness: CWE-89
Which versions are affected by CVE-2025-45346?
2 open source packages ship an affected version, including bacula-web/bacula-web. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
bacula-web/bacula-web Packagist | All versions | 9.7.1 |
bacula-web/bacula-web Packagist | All versions | 9.7.1 |
Products include Bacula Bacula-Web.
How do I fix CVE-2025-45346?
Upgrade bacula-web/bacula-web to 9.7.1 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-45346 being exploited?
There is no known exploitation of CVE-2025-45346 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-hq25-vp56-qr86.