CVE-2025-8264

Published Jul 29, 2025 CVSS 4.0 · 9.1 Critical EPSS < 1% KEV · Not listed
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');

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-22977 z-push/z-push-dev SQL Injection Vulnerability
Github GHSA Github GHSA GHSA-w832-w3p8-cw29 z-push/z-push-dev SQL Injection Vulnerability
History
Type Values Removed Values Added
First Time appeared Z-push
Z-push z-push-dev
Vendors & Products Z-push
Z-push z-push-dev
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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');
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P'}

cvssV4_0

{'score': 9.1, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Aug 13, 2026, 3:25 PM
Reserved
Jul 26, 2025, 4:31 PM
Status
Deferred
Published
Jul 29, 2025, 5:15 AM
Modified
Jun 17, 2026, 10:06 AM