CVE-2025-8264

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-8264
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-8264.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-8264
Aliases
Downstream
Published
2025-07-29T05:15:32Z
Modified
2025-07-29T22:00:52.032889Z
Summary
[none]
Details

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

References

Affected packages

Git / github.com/z-hub/z-push

Affected ranges

Type
GIT
Repo
https://github.com/z-hub/z-push
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2.*

2.2.10
2.2.11
2.2.11beta1
2.2.11beta2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.6beta2+ZP-756
2.2.7
2.2.8
2.2.9
2.3.0
2.3.0alpha1
2.3.0alpha2
2.3.0beta1
2.3.0beta2
2.3.0beta3
2.3.1
2.3.1beta0
2.3.1beta1
2.3.1beta2
2.3.2
2.3.2beta0
2.3.2beta1
2.3.3
2.3.3beta0
2.3.3beta1
2.3.4
2.3.4beta0
2.3.4beta1
2.3.5
2.3.5beta0
2.3.5beta1
2.3.6
2.3.6beta0
2.3.6beta1
2.3.7
2.3.7beta0
2.3.7beta1
2.3.8
2.3.8beta0
2.3.8beta1
2.3.8beta2
2.3.9
2.3.9beta0
2.4.0
2.4.0.alpha1
2.4.0.beta1
2.4.0.beta2
2.4.1
2.4.1.beta0
2.4.1.beta1
2.4.2
2.4.2.beta0
2.4.2.beta1
2.4.3
2.4.3.beta0
2.4.3.beta1
2.4.4
2.4.4.beta1
2.4.5
2.4.5.beta0
2.4.5.beta1
2.4.6.beta0
2.5.0
2.5.0.alpha0
2.5.0.beta1
2.5.1
2.5.1.beta0
2.5.1.beta1
2.5.2
2.5.2.beta0
2.5.2.beta1
2.6.0
2.6.0.alpha0
2.6.0.alpha1
2.6.0.beta0
2.6.0.beta1
2.6.1
2.6.1.beta1
2.6.2
2.6.2.alpha1
2.6.2.beta1
2.6.3.alpha1
2.7.0
2.7.1
2.7.2
2.7.3
2.7.4
2.7.5
2.7.x