SQL injection in z-push/z-push-dev
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
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');
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | z-push/z-push-dev | before 2.7.6 | 2.7.6 | Patch available | CNA |
| — | z-push/z-push-dev (Packagist) | before 2.7.6 | 2.7.6 | Patch available | GHSA-w832-w3p8-cw29 |
- z-push/z-push-dev Vendor— Affected before 2.7.6 Fixed in 2.7.6 Patch available CNA
- z-push/z-push-dev (Packagist) Vendor— Affected before 2.7.6 Fixed in 2.7.6 Patch available GHSA-w832-w3p8-cw29
Remediation
- Fix · CNA z-push/z-push-dev Fixed in 2.7.6
- Fix · GHSA-w832-w3p8-cw29 z-push/z-push-dev (Packagist) Fixed in 2.7.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-8264
- 2026-10-03 Alias added: GHSA-w832-w3p8-cw29
References
Other 7
- https://xbow.com/blog/xbow-zpush-sqli/
- https://github.com/Z-Hub/Z-Push/pull/161/commits/f981d515a35ac4c303959af21dce880a5db02786
- https://github.com/Z-Hub/Z-Push/pull/161
- https://github.com/Z-Hub/Z-Push/blob/af25a2169a50d6e05a5916d1e8b2b6cd17011c98/src/backend/imap/user_identity.php%23L211C9-L214C25
- https://github.com/Z-Hub/Z-Push/commit/deb044a40e97dab1814da9aa8330c0a590957fc5
- https://github.com/Z-Hub/Z-Push
- https://xbow.com/blog/xbow-zpush-sqli
Sources
- CVE-2025-8264 · CVE Program
- CVE-2025-8264 · NVD
- FIRST EPSS
- GHSA-w832-w3p8-cw29 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences