GitHub Advisoryadvisory · Packagist

GHSA-w832-w3p8-cw29 z-push/z-push-dev SQL Injection Vulnerability

HIGH Published 2025-07-29 Modified 2025-07-29 Official page ↗
Aliases
CVE-2025-8264
Ecosystem
Packagist
Packages
z-push/z-push-dev
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Weaknesses
CWE-89
Reviewed
2025-07-29

Affected packages

• Packagist z-push/z-push-dev: < 2.7.6 → fixed in 2.7.6

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

Related

Alias · CVE (1)

  • CVE-2025-8264 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. vulnerability

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References