CVE-2025-45346 Bacula-web SQL Injection Vulnerability

High 8.1 Published Updated

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.

PackageAffectedFixed in
bacula-web/bacula-web PackagistAll versions9.7.1
bacula-web/bacula-web PackagistAll versions9.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.

Sources

Also known as GHSA-hq25-vp56-qr86.

Is CVE-2025-45346 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free