A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-54060

CVE-2025-54060: WeGIA SQL Injection Vulnerability

CVE-2025-54060 is a SQL injection vulnerability in WeGIA web manager affecting versions prior to 3.4.6. Attackers can exploit this flaw to manipulate SQL queries and access sensitive database information. This article covers technical details, affected versions, impact, and mitigation steps.

Published: June 2, 2026

CVE-2025-54060 Overview

CVE-2025-54060 is a SQL injection vulnerability in WeGIA, an open source web manager focused on Portuguese-language charitable institutions. The flaw affects versions prior to 3.4.6 and resides in the idatendido_familiares parameter of the /html/funcionario/dependente_editarInfoPessoal.php endpoint. Authenticated attackers can manipulate SQL queries to extract sensitive database contents, including table structures and stored records. The maintainers released version 3.4.6 to remediate the issue. The vulnerability maps to CWE-89 (Improper Neutralization of Special Elements used in an SQL Command).

Critical Impact

Attackers with low-privileged access can exfiltrate sensitive database contents and pivot to compromise the confidentiality, integrity, and availability of the WeGIA application.

Affected Products

  • WeGIA versions prior to 3.4.6
  • Vendor: LabRedesCefetRJ (WeGIA project)
  • Component: wegia:wegia

Discovery Timeline

  • 2025-07-17 - CVE-2025-54060 published to NVD
  • 2025-07-30 - Last updated in NVD database

Technical Details for CVE-2025-54060

Vulnerability Analysis

The vulnerability stems from unsanitized user input passed to a SQL query in the dependente_editarInfoPessoal.php endpoint. The idatendido_familiares request parameter is concatenated into a SQL statement without parameterized queries or input validation. An authenticated attacker can supply crafted payloads that alter the query logic, enabling extraction of arbitrary database records.

Because WeGIA is deployed by charitable institutions to manage staff, beneficiaries, and dependents, the backing database typically contains personal data. Successful exploitation enables disclosure of names, identification numbers, financial records, and other regulated information. The flaw is classified under CWE-89.

Root Cause

The root cause is improper neutralization of special elements in a SQL command. The endpoint constructs SQL using direct string concatenation of the idatendido_familiares parameter. The application does not apply prepared statements, bound parameters, or context-aware escaping before query execution.

Attack Vector

The attack vector is network-based and requires low-privileged authentication to the WeGIA application. The attacker sends a crafted HTTP request to /html/funcionario/dependente_editarInfoPessoal.php with a malicious idatendido_familiares value. Typical exploitation techniques include UNION-based extraction, boolean-based blind injection, and time-based blind injection to enumerate schemas and exfiltrate rows. No user interaction is required beyond an authenticated session.

No verified public proof-of-concept code is available. See the WeGIA GitHub Security Advisory GHSA-mw78-c4f6-2hq7 for additional technical context.

Detection Methods for CVE-2025-54060

Indicators of Compromise

  • HTTP requests to /html/funcionario/dependente_editarInfoPessoal.php containing SQL metacharacters such as ', --, UNION, SELECT, or SLEEP( in the idatendido_familiares parameter.
  • Database server logs showing unexpected UNION, INFORMATION_SCHEMA, or SLEEP queries originating from the WeGIA application user.
  • Unusual response time variance on the affected endpoint, consistent with time-based blind injection.
  • Authenticated sessions issuing high volumes of requests to the dependent editing endpoint outside normal business workflows.

Detection Strategies

  • Deploy web application firewall (WAF) rules that inspect the idatendido_familiares parameter for SQL injection signatures.
  • Enable database query logging and alert on queries referencing INFORMATION_SCHEMA or system tables from the WeGIA service account.
  • Correlate web server access logs with database audit logs to identify injection attempts followed by anomalous query patterns.

Monitoring Recommendations

  • Track all POST and GET traffic to /html/funcionario/dependente_editarInfoPessoal.php and baseline normal parameter values.
  • Monitor authenticated user sessions for sudden access to dependent management endpoints from atypical IP ranges.
  • Forward web, application, and database logs to a centralized analytics platform for cross-source correlation and retention.

How to Mitigate CVE-2025-54060

Immediate Actions Required

  • Upgrade WeGIA to version 3.4.6 or later without delay.
  • Audit application and database logs for evidence of prior exploitation of the idatendido_familiares parameter.
  • Rotate database credentials and review the WeGIA service account permissions following any suspected compromise.
  • Restrict access to the WeGIA application to trusted networks where feasible.

Patch Information

The WeGIA maintainers fixed the vulnerability in version 3.4.6. Patch details and remediation guidance are published in the WeGIA GitHub Security Advisory GHSA-mw78-c4f6-2hq7. Administrators should deploy the upgrade by following the standard WeGIA update procedure and verify the installed version after deployment.

Workarounds

  • If immediate patching is not possible, place a WAF in front of WeGIA with rules blocking SQL metacharacters in the idatendido_familiares parameter.
  • Apply least-privilege principles to the database account used by WeGIA, removing rights to read unrelated tables or schemas.
  • Temporarily restrict the /html/funcionario/dependente_editarInfoPessoal.php endpoint to a limited set of administrative IP addresses until the patch is deployed.
bash
# Example ModSecurity rule to block SQLi patterns in the vulnerable parameter
SecRule ARGS:idatendido_familiares "@rx (?i)(union(\s)+select|sleep\s*\(|--|;|/\*)" \
    "id:1054060,phase:2,deny,status:403,log,msg:'CVE-2025-54060 WeGIA SQLi attempt'"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechWegia

  • SeverityCRITICAL

  • CVSS Score9.4

  • EPSS Probability0.25%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-40285: WeGIA SQL Injection Vulnerability

  • CVE-2026-35395: Wegia SQL Injection Vulnerability

  • CVE-2026-33991: Wegia SQL Injection Vulnerability

  • CVE-2026-33133: Wegia Web Manager SQLi Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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