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-2026-25240

CVE-2026-25240: Pear Pearweb SQLi Vulnerability

CVE-2026-25240 is a SQL injection vulnerability in Pear Pearweb affecting versions prior to 1.33.0. Attackers can exploit the user::maintains() function to manipulate database queries. This article covers technical details, affected versions, impact, and mitigation steps.

Published: February 6, 2026

CVE-2026-25240 Overview

CVE-2026-25240 is a SQL injection vulnerability in PEAR Pearweb, a framework and distribution system for reusable PHP components. Prior to version 1.33.0, a SQL injection vulnerability can occur in the user::maintains() function when role filters are provided as an array and interpolated into an IN (...) clause. This issue has been patched in version 1.33.0.

Critical Impact

This SQL injection vulnerability allows attackers to manipulate database queries through unsanitized array input in role filters, potentially enabling unauthorized data modification.

Affected Products

  • PEAR Pearweb versions prior to 1.33.0

Discovery Timeline

  • 2026-02-03 - CVE CVE-2026-25240 published to NVD
  • 2026-02-05 - Last updated in NVD database

Technical Details for CVE-2026-25240

Vulnerability Analysis

This SQL injection vulnerability (CWE-89) exists in the user::maintains() method within PEAR Pearweb. The flaw occurs when role filter parameters are accepted as an array and directly interpolated into a SQL IN (...) clause without proper sanitization or parameterization. When an attacker provides maliciously crafted array elements as role filters, these values become part of the SQL query string, allowing the injection of arbitrary SQL commands.

The vulnerability is network-accessible with low attack complexity, requiring no authentication or user interaction to exploit. While the vulnerability does not allow direct data exfiltration (confidentiality impact is none), it can be leveraged to modify data within the database (integrity impact is low).

Root Cause

The root cause of this vulnerability is improper input validation and lack of parameterized queries when handling array-based role filters in the user::maintains() function. Instead of using prepared statements with bound parameters, the code directly concatenates user-supplied array values into the SQL query string, creating a classic SQL injection attack surface.

Attack Vector

The attack vector is network-based, targeting the user::maintains() function through web requests. An attacker can craft malicious HTTP requests containing specially formatted array parameters for role filters. When these parameters are processed by the vulnerable function, the injected SQL code is executed against the database.

The vulnerability mechanism involves the improper handling of array input in the role filter parameter. When the application constructs an IN (...) SQL clause, it iterates over the provided array elements and interpolates them directly into the query without proper escaping or parameterization. An attacker can include SQL metacharacters and additional SQL statements within the array elements to manipulate the query behavior.

For technical details on the specific vulnerable code paths, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-25240

Indicators of Compromise

  • Unusual database query patterns containing SQL injection payloads in application logs
  • Unexpected modifications to database records without corresponding legitimate user actions
  • Web access logs showing requests with array parameters containing SQL metacharacters
  • Database audit logs revealing anomalous queries targeting the user maintenance functionality

Detection Strategies

  • Monitor web application firewall (WAF) logs for SQL injection patterns in array parameters
  • Implement database activity monitoring to detect unusual query structures in the user management module
  • Review application logs for error messages related to malformed SQL queries
  • Deploy intrusion detection signatures for common SQL injection payloads in HTTP parameters

Monitoring Recommendations

  • Enable detailed SQL query logging on the database server to capture attempted injection attempts
  • Configure alerting for database integrity violations or unexpected data modifications
  • Monitor for unusual patterns of requests to endpoints utilizing the user::maintains() function
  • Implement real-time log analysis for SQL error messages that may indicate exploitation attempts

How to Mitigate CVE-2026-25240

Immediate Actions Required

  • Upgrade PEAR Pearweb to version 1.33.0 or later immediately
  • Review database logs for signs of prior exploitation attempts
  • Implement web application firewall rules to block SQL injection patterns in role filter parameters
  • Audit database integrity to identify any unauthorized modifications

Patch Information

The vulnerability has been addressed in PEAR Pearweb version 1.33.0. Organizations should upgrade to this version or later to remediate the vulnerability. The patch information and details are available in the GitHub Security Advisory.

Workarounds

  • Deploy a web application firewall (WAF) with SQL injection detection rules for array-based parameters
  • Implement input validation at the application layer to reject role filter arrays containing SQL metacharacters
  • Restrict network access to the affected application to trusted IP ranges only
  • Consider temporarily disabling functionality that relies on the user::maintains() method until patching is complete
bash
# Example WAF rule configuration (ModSecurity)
# Block SQL injection attempts in array parameters
SecRule ARGS "@detectSQLi" \
    "id:1001,\
    phase:2,\
    deny,\
    status:403,\
    msg:'SQL Injection attempt detected in role filter parameter',\
    log,\
    auditlog"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechPear

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/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
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-25234: Pear Pearweb SQLI Vulnerability

  • CVE-2026-25236: Pear Pearweb SQLi Vulnerability

  • CVE-2026-25238: Pear Pearweb SQL Injection Vulnerability

  • CVE-2026-25239: Pear Pearweb SQLi 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