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
    • 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-54119

CVE-2025-54119: ADOdb PHP Library SQL Injection Vulnerability

CVE-2025-54119 is a SQL injection flaw in ADOdb PHP database library affecting versions 5.22.9 and below. Attackers can execute arbitrary SQL via crafted table names. This article covers technical details, impact, and patches.

Published: March 11, 2026

CVE-2025-54119 Overview

CVE-2025-54119 is a SQL Injection vulnerability affecting ADOdb, a widely-used PHP database class library that provides abstractions for performing queries and managing databases. In versions 5.22.9 and below, improper escaping of a query parameter allows attackers to execute arbitrary SQL statements when applications using ADOdb connect to a sqlite3 database and call the metaColumns(), metaForeignKeys(), or metaIndexes() methods with a crafted table name.

Critical Impact

Attackers can execute arbitrary SQL statements on sqlite3 databases through crafted table name parameters, potentially leading to complete database compromise, data exfiltration, and unauthorized data manipulation.

Affected Products

  • ADOdb versions 5.22.9 and below
  • Applications using ADOdb with sqlite3 database connections
  • Systems utilizing the vulnerable metaColumns(), metaForeignKeys(), or metaIndexes() methods

Discovery Timeline

  • 2025-08-05 - CVE CVE-2025-54119 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2025-54119

Vulnerability Analysis

This SQL injection vulnerability (CWE-89) exists in the ADOdb sqlite3 driver, specifically in the implementation of metadata retrieval methods. The vulnerability arises from direct string interpolation of user-controllable table name parameters into PRAGMA SQL statements without proper parameterization or escaping.

When an application passes unvalidated input to the metaColumns(), metaForeignKeys(), or metaIndexes() methods, an attacker can craft a malicious table name that breaks out of the intended SQL context and injects arbitrary SQL statements. This is particularly dangerous because these methods are often called with user-supplied data during database schema introspection operations.

The vulnerability affects the network attack vector and requires no authentication or user interaction to exploit, making it highly accessible to remote attackers. Successful exploitation can result in complete confidentiality and integrity compromise of the underlying database.

Root Cause

The root cause is insufficient input validation and improper escaping in the sqlite3 driver's metadata methods. The vulnerable code directly interpolates the $table parameter into SQL PRAGMA statements using string concatenation instead of using parameterized queries. This allows specially crafted table names containing SQL syntax to be interpreted as executable SQL code.

Attack Vector

The attack exploits network-accessible applications that use ADOdb with sqlite3 databases. An attacker can inject malicious SQL code by providing a specially crafted table name to any of the three vulnerable methods. The attack requires:

  1. An application using ADOdb version 5.22.9 or earlier
  2. A sqlite3 database connection
  3. Application code that passes attacker-controllable data to metaColumns(), metaForeignKeys(), or metaIndexes()

The vulnerability enables attackers to bypass intended SQL boundaries and execute arbitrary database commands, potentially affecting other system components through changed scope.

php
// Vulnerable code pattern (before patch)
// Source: https://github.com/ADOdb/ADOdb/commit/5b8bd52cdcffefb4ecded1b399c98cfa516afe03
 		if ($this->fetchMode !== false) {
 			$savem = $this->SetFetchMode(false);
 		}
-		$rs = $this->Execute("PRAGMA table_info('$table')");
+
+		$rs = $this->execute("PRAGMA table_info(?)", array($table));
+
 		if (isset($savem)) {
 			$this->SetFetchMode($savem);
 		}

The patch replaces direct string interpolation with parameterized queries using placeholders, ensuring that table names are properly escaped and cannot break out of the SQL context.

Detection Methods for CVE-2025-54119

Indicators of Compromise

  • Unusual or malformed table name parameters in application logs containing SQL syntax characters such as single quotes, parentheses, or SQL keywords
  • Error messages from sqlite3 indicating SQL syntax errors in PRAGMA statements
  • Database audit logs showing unexpected SQL statements executed during metadata operations
  • Application exceptions related to metaColumns(), metaForeignKeys(), or metaIndexes() method calls

Detection Strategies

  • Implement web application firewall (WAF) rules to detect SQL injection patterns in request parameters that may be passed to database metadata functions
  • Monitor application logs for calls to the three vulnerable ADOdb methods with suspicious input patterns
  • Conduct static code analysis to identify instances where user input flows to metaColumns(), metaForeignKeys(), or metaIndexes() without validation
  • Deploy runtime application self-protection (RASP) to detect SQL injection attempts at the application layer

Monitoring Recommendations

  • Enable detailed sqlite3 query logging to capture all SQL statements executed against the database
  • Configure alerting for SQL syntax errors occurring within PRAGMA statement contexts
  • Implement database activity monitoring to detect anomalous query patterns
  • Review access logs for requests containing encoded or obfuscated SQL injection payloads

How to Mitigate CVE-2025-54119

Immediate Actions Required

  • Update ADOdb to version 5.22.10 or later immediately
  • Audit all application code that calls metaColumns(), metaForeignKeys(), or metaIndexes() methods to ensure only controlled data is passed
  • Implement input validation on any user-supplied data that may be used as table names
  • Consider temporarily disabling functionality that relies on the vulnerable methods until patching is complete

Patch Information

ADOdb has released version 5.22.10 which addresses this vulnerability by replacing direct string interpolation with parameterized queries. The fix ensures that table name parameters are properly escaped before being included in PRAGMA statements.

The security patch is available through:

  • GitHub Commit
  • GitHub Security Advisory
  • Debian LTS Announcement

For more details on the vulnerability, see GitHub Issue #1083.

Workarounds

  • Only pass controlled, validated data to the metaColumns(), metaForeignKeys(), and metaIndexes() method's $table parameter
  • Implement strict allowlist validation for table names before passing them to metadata methods
  • Use prepared statements or parameterized queries in custom wrapper functions that call the affected methods
  • Apply input sanitization to strip or escape SQL metacharacters from table name inputs
bash
# Verify ADOdb version and update
# Check current version in your composer.json or package configuration
grep -r "adodb" composer.lock

# Update via Composer to patched version
composer require adodb/adodb-php:^5.22.10

# Verify the update
composer show adodb/adodb-php | grep version

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechAdodb

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.07%

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

  • GitHub Issue #1083

  • GitHub Security Advisory

  • Debian LTS Announcement
  • Related CVEs
  • CVE-2025-46337: ADOdb PHP Library 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