Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-8264

CVE-2025-8264: Z-Push IMAP Backend SQLi Vulnerability

CVE-2025-8264 is a SQL injection vulnerability in Z-Push IMAP backend that allows attackers to inject malicious commands via the username field. This post explains its impact, affected versions, and mitigation steps.

Published: March 25, 2026

CVE-2025-8264 Overview

CVE-2025-8264 is a critical SQL Injection vulnerability affecting Z-Push, an open-source implementation of the Exchange ActiveSync protocol. Versions of the z-push/z-push-dev package prior to 2.7.6 contain unparameterized SQL queries in the IMAP backend, allowing remote attackers to inject malicious SQL commands through the username field during basic authentication.

Critical Impact

This vulnerability enables unauthenticated remote attackers to access, modify, or delete sensitive data from linked third-party databases by exploiting SQL injection through the authentication username field.

Affected Products

  • Z-Push (z-push/z-push-dev) versions before 2.7.6
  • Z-Push installations utilizing the IMAP backend
  • Configurations with IMAP_FROM_SQL_QUERY option enabled

Discovery Timeline

  • July 29, 2025 - CVE-2025-8264 published to NVD
  • July 29, 2025 - Last updated in NVD database

Technical Details for CVE-2025-8264

Vulnerability Analysis

This SQL Injection vulnerability (CWE-89) exists in the IMAP backend component of Z-Push, specifically within the user identity handling functionality. The vulnerability manifests when the IMAP_FROM_SQL_QUERY configuration option is enabled, allowing SQL queries to be constructed with unparameterized user input.

The flaw enables network-based attacks without requiring prior authentication or user interaction, though certain preconditions must be met (specifically, the vulnerable IMAP backend configuration). An attacker can compromise the confidentiality and integrity of linked third-party databases, potentially extracting sensitive user credentials, email metadata, or other stored information.

Root Cause

The root cause of CVE-2025-8264 lies in the improper handling of user-supplied input within the user_identity.php file. When processing authentication requests, the application fails to use parameterized queries or prepared statements when constructing SQL queries that incorporate the username from basic authentication. This allows attackers to escape the intended query context and inject arbitrary SQL commands.

The vulnerable code path is triggered when Z-Push is configured to retrieve user identity information from a SQL database via the IMAP backend, making installations with IMAP_FROM_SQL_QUERY enabled susceptible to exploitation.

Attack Vector

The attack is executed over the network by submitting a specially crafted username during the basic authentication process. An attacker targeting this vulnerability would:

  1. Identify a Z-Push installation with the IMAP backend configured to use SQL queries
  2. Craft a malicious username containing SQL injection payloads
  3. Submit the authentication request with the malicious username
  4. The unparameterized query incorporates the malicious input, executing arbitrary SQL commands

The vulnerability allows attackers to bypass authentication mechanisms and directly interact with the backend database, potentially leading to full database compromise. Technical details about the vulnerable code can be found in the GitHub Code Review and the detailed analysis in the Xbow Blog on SQLi.

Detection Methods for CVE-2025-8264

Indicators of Compromise

  • Unusual SQL syntax or special characters (e.g., single quotes, semicolons, UNION, SELECT) appearing in authentication logs
  • Failed authentication attempts with abnormally long or malformed usernames
  • Unexpected database queries or errors in database logs correlating with Z-Push authentication events
  • Evidence of data exfiltration or unauthorized database access following Z-Push authentication activity

Detection Strategies

  • Monitor web application firewall (WAF) logs for SQL injection patterns targeting Z-Push authentication endpoints
  • Implement database activity monitoring to detect unusual query patterns originating from the Z-Push application
  • Configure intrusion detection systems (IDS) with signatures for common SQL injection attack patterns in HTTP Basic Authentication headers
  • Review Z-Push access logs for suspicious username patterns containing SQL metacharacters

Monitoring Recommendations

  • Enable verbose logging for the Z-Push IMAP backend to capture authentication details
  • Configure database audit logging to track all queries executed by the Z-Push application user
  • Set up alerts for authentication failures with usernames containing common SQL injection indicators
  • Monitor for unauthorized data access or modification in databases linked to Z-Push

How to Mitigate CVE-2025-8264

Immediate Actions Required

  • Upgrade Z-Push to version 2.7.6 or later immediately
  • Review database logs for evidence of exploitation attempts
  • If upgrade is not immediately possible, implement the configuration workaround by changing to default or LDAP backend
  • Audit database access permissions for the Z-Push application user and apply principle of least privilege

Patch Information

The vulnerability has been addressed in Z-Push version 2.7.6. The fix implements parameterized queries to prevent SQL injection through the authentication username field. Details about the security patch can be found in GitHub Pull Request #161 and the specific commit implementing the fix. Additional vulnerability information is available in the Snyk Vulnerability Advisory.

Workarounds

  • Change the IMAP backend configuration to use default or LDAP instead of SQL queries
  • Implement a web application firewall (WAF) rule to filter SQL injection patterns in authentication requests
  • Restrict network access to Z-Push authentication endpoints to trusted IP ranges only
  • Consider temporarily disabling the IMAP backend until the patch can be applied
php
# Configuration workaround in backend/imap/config.php
# Option 1: Use default configuration
define('IMAP_DEFAULTFROM', '');

# Option 2: Use LDAP backend
define('IMAP_DEFAULTFROM', 'ldap');

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechZ Push

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Code Review

  • GitHub Pull Request #161

  • GitHub Commit Details

  • Snyk Vulnerability Advisory

  • Xbow Blog on SQLi
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English