# CVE-2025-8264: z-push/z-push-dev SQL Injection Vulnerability

- Severity: Critical 9.1 (CVSS:4.0, scored by snyk) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2025-07-29T05:00:00.756Z
- Modified: 2026-08-13T15:25:16.992Z
- Also known as: GHSA-w832-w3p8-cw29
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: snyk

## 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');

(As written by CVE List.)

## Affected

- z-push/z-push-dev: before 2.7.6
- z-push/z-push-dev (Packagist): before 2.7.6

## Every score

- snyk: CVSS:4.0 9.1 Critical `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`
- snyk: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P`
- GitHub: CVSS:3.1 9.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://security.snyk.io/vuln/SNYK-PHP-ZPUSHZPUSHDEV-10908180> (web)
- <https://xbow.com/blog/xbow-zpush-sqli/>
- <https://github.com/Z-Hub/Z-Push/pull/161/commits/f981d515a35ac4c303959af21dce880a5db02786> (web)
- <https://github.com/Z-Hub/Z-Push/pull/161> (web)
- <https://github.com/Z-Hub/Z-Push/blob/af25a2169a50d6e05a5916d1e8b2b6cd17011c98/src/backend/imap/user_identity.php%23L211C9-L214C25> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-8264> (advisory)
- <https://github.com/Z-Hub/Z-Push/commit/deb044a40e97dab1814da9aa8330c0a590957fc5> (web)
- <https://github.com/Z-Hub/Z-Push> (package)
- <https://xbow.com/blog/xbow-zpush-sqli> (web)

## Sources

- CVE List: [CVE-2025-8264](https://www.cve.org/CVERecord?id=CVE-2025-8264), CVE Terms of Use, modified 2026-08-13
- GitHub Advisory Database: [GHSA-w832-w3p8-cw29](https://github.com/advisories/GHSA-w832-w3p8-cw29), CC-BY-4.0, modified 2025-07-29
- NVD: [CVE-2025-8264](https://nvd.nist.gov/vuln/detail/CVE-2025-8264), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-8264 · Whole record: https://cve.day/CVE-2025-8264.json · Rebuilt by cve.day 2026-11-25T22:59:01.836Z
