{"id":"CVE-2025-8264","published":"2025-07-29T05:00:00Z","modified":"2026-08-13T15:25:16Z","title":"Versions of the package z-push/z-push-dev before 2.7.6 are vulnerable to SQL Injection due to unparameterized queries…","vendor":null,"product":null,"tier":"tail","description":{"text":"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. \r\r**Note:** This vulnerability affects Z-Push installations that utilize the IMAP backend and have the IMAP_FROM_SQL_QUERY option configured. \r\r Mitigation\rChange configuration to use the default or LDAP in backend/imap/config.php\r\rphp\rdefine('IMAP_DEFAULTFROM', '');\r\ror\rphp\rdefine('IMAP_DEFAULTFROM', 'ldap');","provenance":"source","from":"CVE.org"},"cvss":{"score":9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00448,"percentile":0.39808,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-PHP-ZPUSHZPUSHDEV-10908180","tags":[]},{"url":"https://xbow.com/blog/xbow-zpush-sqli/","tags":[]},{"url":"https://github.com/Z-Hub/Z-Push/pull/161/commits/f981d515a35ac4c303959af21dce880a5db02786","tags":[]},{"url":"https://github.com/Z-Hub/Z-Push/pull/161","tags":[]},{"url":"https://github.com/Z-Hub/Z-Push/blob/af25a2169a50d6e05a5916d1e8b2b6cd17011c98/src/backend/imap/user_identity.php%23L211C9-L214C25","tags":[]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":7.96},{"name":"CVSS severity","points":6.3}]},"affectedVersions":[{"vendor":"n/a","product":"z-push/z-push-dev","versions":["< 2.7.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-07-29T13:56:33.210458Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"z-push/z-push-dev","vulnerableRanges":["<2.7.6"],"patched":["2.7.6"],"from":["GHSA-w832-w3p8-cw29"],"provenance":"source"}],"summary":{"text":"The z-push/z-push-dev package, in versions before 2.7.6, contains an SQL injection flaw caused by unparameterized queries in its IMAP backend. An attacker can exploit it by manipulating the username field during basic authentication, but only on installations that use the IMAP backend with the IMAP_FROM_SQL_QUERY option configured, which could let them read, modify, or delete sensitive data in a linked third-party database.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:13Z"},"euvd":{"id":"EUVD-2025-22977","exploited":false,"provenance":"source"}}