CVE-2025-8264CWE-89

Versions of the package z-push/z-push-dev before 2.7.6 are vulnerable to SQL Injection due to unparameterized queries in the IMAP backend

Critical · published July 29, 2025

CVSS v4.0
9.1
EPSS
0%
Percentile
36.5
In the wild
Unconfirmed
What it is

🚨 A sneaky SQL Injection lurking in Z-Push affects versions before 2.7.6! An attacker can twist the username field like a magician misdirecting your attention — and gain access to sensitive data. 🔥 Think of this vulnerability as a restaurant where a diner can sneakily change their order at the counter. Instead of just getting a new dish, they could manipulate the kitchen staff to mix up all kinds of sensitive recipes, leading to a culinary disaster! An attacker exploiting this flaw could access, modify, or downright delete sensitive data from a linked third-party database. This could result in absolutely devastating data loss or unauthorized access, leaving your organization vulnerable and exposed. The stakes are high!

Put simply

Think of this vulnerability as a restaurant where a diner can sneakily change their order at the counter. Instead of just getting a new dish, they could manipulate the kitchen staff to mix up all kinds of sensitive recipes, leading to a culinary disaster! The SQL Injection vulnerability arises from unparameterized queries in the IMAP backend of Z-Push, allowing attackers to inject malicious SQL commands by manipulating the username during basic authentication.

What to do

An attacker exploiting this flaw could access, modify, or downright delete sensitive data from a linked third-party database. This could result in absolutely devastating data loss or unauthorized access, leaving your organization vulnerable and exposed. The stakes are high! To mitigate this vulnerability, change your configuration to use the default setting by updating your backend/imap/config.php: set 'IMAP_DEFAULTFROM' to an empty value or to 'ldap'. This step is crucial to safeguard your data! You've got this! Follow these steps, and you'll have your Z-Push installation secured in no time. 🛡️

The record
Technical detail
CVSS v4.0
9.1 · CRITICAL
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H/E:P
EPSS
0.00432 · 36.5th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-07-29T05:00Z
EPSS history
Timeline
  • 29 JUL 05:00Z
    Versions of the package z-push/z-push-dev before 2.7.6 are vulnerable to SQL Injection due to unparameterized queries in the IMAP backend
    cvelistv5