CVE-2025-8264: SQL Injection in z-push/z-push-dev
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');
AI Analysis
Technical Summary
This vulnerability in z-push/z-push-dev (CVE-2025-8264) is due to unparameterized SQL queries in the IMAP backend when the IMAP_FROM_SQL_QUERY option is enabled. Attackers can inject SQL commands via the username field in basic authentication, leading to unauthorized access and potential modification or deletion of sensitive data in connected third-party databases. The issue affects versions prior to 2.7.6. Mitigation is possible by changing the IMAP backend configuration to use default or LDAP instead of the vulnerable SQL query option.
Potential Impact
Successful exploitation allows an unauthenticated attacker to perform SQL Injection via the username field, potentially leading to unauthorized data access, modification, or deletion in linked third-party databases. This compromises data confidentiality, integrity, and availability in affected deployments.
Mitigation Recommendations
A fix is available by upgrading to version 2.7.6 or later. Alternatively, users can mitigate the vulnerability by changing the IMAP backend configuration in backend/imap/config.php to use the default or LDAP backend instead of the IMAP_FROM_SQL_QUERY option. Specifically, define 'IMAP_DEFAULTFROM' as '' (empty) or 'ldap'.
CVE-2025-8264: SQL Injection in z-push/z-push-dev
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');
CVSS v4.0
Score 9.1critical
Affected software
pkg:github/z-push/z-push-devRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in z-push/z-push-dev (CVE-2025-8264) is due to unparameterized SQL queries in the IMAP backend when the IMAP_FROM_SQL_QUERY option is enabled. Attackers can inject SQL commands via the username field in basic authentication, leading to unauthorized access and potential modification or deletion of sensitive data in connected third-party databases. The issue affects versions prior to 2.7.6. Mitigation is possible by changing the IMAP backend configuration to use default or LDAP instead of the vulnerable SQL query option.
Potential Impact
Successful exploitation allows an unauthenticated attacker to perform SQL Injection via the username field, potentially leading to unauthorized data access, modification, or deletion in linked third-party databases. This compromises data confidentiality, integrity, and availability in affected deployments.
Mitigation Recommendations
A fix is available by upgrading to version 2.7.6 or later. Alternatively, users can mitigate the vulnerability by changing the IMAP backend configuration in backend/imap/config.php to use the default or LDAP backend instead of the IMAP_FROM_SQL_QUERY option. Specifically, define 'IMAP_DEFAULTFROM' as '' (empty) or 'ldap'.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- snyk
- Date Reserved
- 2025-07-26T16:31:09.228Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 68885973ad5a09ad008b4380
Added to database: 07/29/2025, 05:17:39 UTC
Last enriched: 08/13/2026, 18:07:30 UTC
Last updated: 09/10/2026, 19:36:52 UTC
Views: 241
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.