CVE-2025-8264 — z-push-dev
Fix: Z-Hub/Z-Push#161CVE-2025-8264 is a SQL Injection vulnerability in z-push/z-push-dev. A fix is available for z-push/z-push-dev — see the affected versions and patch details below.
z-push/z-push-dev SQL Injection Vulnerability
Exploitation Status
No confirmed exploitation observed yet
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2025-8264.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
z-push/z-push-devReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
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');
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | z-push/z-push-dev | all versions | 2.7.6composer require z-push/z-push-dev:^2.7.6 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for z-push/z-push-dev, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update z-push/z-push-dev to 2.7.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-8264 is resolved across your whole dependency graph.
Workarounds
Until you can upgrade, make sure every query built from user input uses parameterised statements or a prepared-statement API rather than string concatenation, and reduce the database account's privileges so an injected query cannot read or alter data beyond what the feature needs.
Frequently Asked Questions
Is CVE-2025-8264 in your dependencies?
Find it across Packagist, including transitive dependencies.