Vulnerability · Published Jul 29, 2025 · Assigned by snyk

CVE-2025-8264

Critical 9.0

In plain English

A critical-severity SQL injection in z-push/z-push-dev. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.0Critical
Exploit odds (30 days)0.4%top 60.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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. An attacker can inject malicious commands by manipulating the username field in basic authentication. This allows the attacker to access and potentially modify or delete sensitive data from a linked third-party database. **Note:** This vulnerability affects Z-Push installations that utilize the IMAP backend and have the IMAP_FROM_SQL_QUERY option configured. Mitigation Change configuration to use the default or LDAP in backend/imap/config.php php define('IMAP_DEFAULTFROM', ''); or php define('IMAP_DEFAULTFROM', 'ldap');

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistz-push/z-push-dev2.7.6GHSA-w832-w3p8-cw29
Ubuntu:22.04:LTSz-pushno fix listedUBUNTU-CVE-2025-8264

Affected products (as reported)

VendorProductVersions
n/a z-push/z-push-dev 0 – before 2.7.6

Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P

References