Skip to main content
EPSS 0.4%top 67%

CVE-2025-8264: SQL Injection in z-push/z-push-dev

0
Critical
VulnerabilityCVE-2025-8264cvecve-2025-8264gcvecwe-89
Published: 07/29/2025 (07/29/2025, 05:00:00 UTC)
Source: CVE Database V5
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
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

Affected software

GitHub Actionsmore threats →ai
z-push/z-push-dev
pkg:github/z-push/z-push-dev
Affected versions
=0<2.7.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/13/2026, 18:07:30 UTC

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'.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses