High, CVSS 7.9PackagistPublished
z-push/z-push-dev SQL Injection Vulnerability
CVE-2025-8264 · GHSA-w832-w3p8-cw29
- Affected
- Packagist z-push/z-push-dev < 2.7.6
- Fixed in
- 2.7.6· Vendor fix available
- Issue
- 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 IMAPFROMSQLQUERY option configured. Mitigation Change configuration to use the default or LDAP in backend/imap/config.php php define('IMAPDEFAULTFROM', ''); or php define('IMAPDEFAULTFROM', 'ldap');
Recommended action: Upgrade to 2.7.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.