CVE-2025-8264
Versions of the package z-push/z-push-dev before 2.7.6 are …
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');
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Z-Hub/Z-Push/blob/af25a2169a50d6e05a5916d1e8b2b6cd17011c98/src/backend/imap/use
- github.com/Z-Hub/Z-Push/pull/161
- github.com/Z-Hub/Z-Push/pull/161/commits/f981d515a35ac4c303959af21dce880a5db02786
- security.snyk.io/vuln/SNYK-PHP-ZPUSHZPUSHDEV-10908180
- xbow.com/blog/xbow-zpush-sqli/
- nvd.nist.gov/vuln/detail/CVE-2025-8264
- xbow.com/blog/xbow-zpush-sqli
- github.com/Z-Hub/Z-Push/commit/deb044a40e97dab1814da9aa8330c0a590957fc5
- nvd.nist.gov/vuln/detail/CVE-2025-8264
- cve.org/CVERecord?id=CVE-2025-8264
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.