The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-22821

CVE-2026-22821: GLPI mreporting Plugin SQLi Vulnerability

CVE-2026-22821 is a SQL injection vulnerability in the GLPI mreporting plugin that affects date change functionality. Attackers can exploit this flaw to manipulate database queries. This post covers technical details, affected versions, and mitigation.

Published: February 13, 2026

CVE-2026-22821 Overview

CVE-2026-22821 is a SQL Injection vulnerability affecting the mreporting plugin for GLPI (Gestionnaire Libre de Parc Informatique). The vulnerability exists in versions prior to 1.9.4 and allows attackers to inject malicious SQL commands through date change functionality. This flaw stems from improper handling of user-controlled input in the $_SESSION['glpilanguage'] parameter, which is directly concatenated into SQL queries without proper sanitization.

Critical Impact

Authenticated attackers with high privileges can exploit this SQL injection vulnerability to extract sensitive data from the GLPI database, potentially exposing confidential IT asset management information, user credentials, and organizational infrastructure details.

Affected Products

  • mreporting GLPI plugin versions prior to 1.9.4
  • GLPI installations with vulnerable mreporting plugin enabled

Discovery Timeline

  • 2026-02-12 - CVE CVE-2026-22821 published to NVD
  • 2026-02-12 - Last updated in NVD database

Technical Details for CVE-2026-22821

Vulnerability Analysis

This SQL injection vulnerability (CWE-89) exists in the mreporting plugin's date handling functionality. The vulnerable code directly concatenates user session data into SQL queries without parameterization. Specifically, the $_SESSION['glpilanguage'] value is inserted directly into a SET lc_time_names SQL statement, allowing an attacker who can control or manipulate session data to inject arbitrary SQL commands.

The attack requires network access and high-level privileges within the GLPI system. While the authentication requirement limits the attack surface, successful exploitation could lead to high confidentiality impact through unauthorized data extraction from the underlying database.

Root Cause

The root cause is improper input validation and the use of string concatenation for building SQL queries instead of prepared statements with parameterized inputs. The vulnerable code in inc/baseclass.class.php constructs the SQL query by directly embedding the session language variable, bypassing any input sanitization mechanisms.

Attack Vector

The vulnerability is exploitable over the network by authenticated users with high privileges. An attacker would need to manipulate the $_SESSION['glpilanguage'] value or intercept and modify session data to include malicious SQL payloads. The injection point in the SET lc_time_names statement could be leveraged to execute additional SQL commands, extract database contents, or potentially modify data depending on the database configuration and permissions.

php
// Vulnerable code (before patch):
$query = "SET lc_time_names = '" . $_SESSION['glpilanguage'] . "'";
$DB->doQuery($query);

// Fixed code (after patch):
$query = "SET lc_time_names = ?";
$stmt = $DB->prepare($query);
$stmt->bind_param("s", $_SESSION['glpilanguage']);
$stmt->execute();

Source: GitHub Commit Changes

Detection Methods for CVE-2026-22821

Indicators of Compromise

  • Unusual database queries containing SQL injection patterns in GLPI logs
  • Unexpected session language values containing special SQL characters like single quotes, semicolons, or SQL keywords
  • Database audit logs showing unauthorized data access or extraction attempts
  • Anomalous activity from privileged GLPI user accounts

Detection Strategies

  • Monitor web application logs for requests to mreporting plugin endpoints with suspicious parameter values
  • Implement database query auditing to detect SQL injection attempts targeting the lc_time_names setting
  • Deploy web application firewall (WAF) rules to detect SQL injection payloads in session-related parameters
  • Review GLPI application logs for authentication anomalies or unusual administrative actions

Monitoring Recommendations

  • Enable verbose logging for the GLPI application and mreporting plugin
  • Configure database audit logging to capture all SET commands and unusual query patterns
  • Implement alerting for multiple failed or suspicious database operations
  • Monitor for session manipulation attempts or unusual session state changes

How to Mitigate CVE-2026-22821

Immediate Actions Required

  • Upgrade the mreporting plugin to version 1.9.4 or later immediately
  • Audit GLPI user accounts to ensure only necessary users have high-level privileges
  • Review database access logs for any signs of exploitation prior to patching
  • Consider temporarily disabling the mreporting plugin if immediate patching is not possible

Patch Information

The vulnerability has been fixed in mreporting version 1.9.4. The patch replaces direct string concatenation with prepared statements and parameterized queries to properly sanitize the $_SESSION['glpilanguage'] input. Organizations should update to the patched version by following the standard GLPI plugin update process.

For detailed patch information, refer to the GitHub Security Advisory GHSA-24q7-h59q-33w8 and the security commit.

Workarounds

  • If immediate patching is not possible, restrict access to the mreporting plugin to only trusted administrative users
  • Implement network-level restrictions to limit access to the GLPI application from trusted IP ranges only
  • Deploy a web application firewall with SQL injection detection rules in front of the GLPI installation
  • Consider temporarily disabling the mreporting plugin until the patch can be applied
bash
# Update mreporting plugin via GLPI marketplace or manual update
cd /path/to/glpi/plugins/
# Backup current plugin
mv mreporting mreporting.backup
# Download and extract updated version 1.9.4+
wget https://github.com/pluginsGLPI/mreporting/releases/download/1.9.4/glpi-mreporting-1.9.4.tar.bz2
tar -xjf glpi-mreporting-1.9.4.tar.bz2
# Set appropriate permissions
chown -R www-data:www-data mreporting

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechGlpi

  • SeverityMEDIUM

  • CVSS Score4.9

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Commit Changes

  • GitHub Security Advisory GHSA-24q7-h59q-33w8
  • Related CVEs
  • CVE-2026-26263: GLPI Search Engine SQLi Vulnerability

  • CVE-2026-29047: Glpi-project Glpi SQLi Vulnerability

  • CVE-2026-25936: Teclib GLPI SQL Injection Vulnerability

  • CVE-2026-26001: GLPI Inventory Plugin 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