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-33991

CVE-2026-33991: Wegia SQL Injection Vulnerability

CVE-2026-33991 is a SQL injection flaw in Wegia that allows attackers to manipulate database queries through unsanitized user input. This article covers the technical details, affected versions, and mitigation strategies.

Published: April 2, 2026

CVE-2026-33991 Overview

CVE-2026-33991 is a SQL Injection vulnerability in WeGIA, a web manager for charitable institutions. The vulnerability exists in the file html/socio/sistema/deletar_tag.php which uses extract($_REQUEST) on line 14 and directly concatenates the $id_tag variable into SQL queries on lines 16-17 without prepared statements or sanitization. This allows authenticated attackers to manipulate database queries and potentially access, modify, or delete sensitive data.

Critical Impact

Authenticated attackers can execute arbitrary SQL commands against the database, potentially leading to unauthorized data access, data manipulation, or complete database compromise affecting charitable institution records.

Affected Products

  • WeGIA versions prior to 3.6.7
  • WeGIA web manager installations using the vulnerable deletar_tag.php component

Discovery Timeline

  • 2026-03-27 - CVE-2026-33991 published to NVD
  • 2026-03-31 - Last updated in NVD database

Technical Details for CVE-2026-33991

Vulnerability Analysis

This vulnerability stems from unsafe coding practices in WeGIA's tag deletion functionality. The vulnerable file deletar_tag.php employs PHP's dangerous extract() function on user-supplied request data, which automatically creates variables from array keys. This means any parameter sent in the HTTP request becomes a PHP variable in the script's scope.

The critical flaw occurs when the $id_tag variable, now controlled by user input, is directly concatenated into SQL queries without any form of input validation, parameterization, or escaping. This classic SQL Injection pattern allows attackers to break out of the intended query structure and inject malicious SQL statements.

Since this vulnerability requires authentication (low privileges required), it represents an insider threat or a post-authentication attack vector where an authenticated user with minimal privileges could escalate their access to the entire database.

Root Cause

The root cause is twofold: First, the use of extract($_REQUEST) which is a well-documented dangerous PHP practice that should never be used on untrusted data. Second, the lack of prepared statements or parameterized queries when constructing SQL commands. The combination of these two unsafe patterns creates a direct pathway for SQL Injection attacks.

Attack Vector

The attack is network-based and requires low-privilege authentication to the WeGIA application. An attacker would authenticate with valid credentials and then craft malicious HTTP requests to the deletar_tag.php endpoint. By manipulating the id_tag parameter with SQL injection payloads, the attacker can modify the intended query behavior.

Exploitation could involve techniques such as UNION-based injection to extract data from other tables, boolean-based blind injection to enumerate database contents, or time-based blind injection if direct output is not visible. The attacker could potentially read sensitive donor information, financial records, or administrative credentials stored in the database.

Detection Methods for CVE-2026-33991

Indicators of Compromise

  • Unusual or malformed requests to /html/socio/sistema/deletar_tag.php containing SQL syntax characters such as single quotes, semicolons, or SQL keywords
  • Web server access logs showing id_tag parameters with encoded SQL injection payloads
  • Database query logs revealing unexpected queries or syntax errors originating from the tag deletion functionality
  • Evidence of data exfiltration or unauthorized database modifications

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect SQL injection patterns in requests to WeGIA endpoints
  • Enable detailed logging on the WeGIA application and database server to capture suspicious query patterns
  • Implement database activity monitoring to alert on anomalous query structures or unauthorized data access
  • Use application security testing tools to scan for SQL injection vulnerabilities in WeGIA installations

Monitoring Recommendations

  • Monitor HTTP request logs for SQL injection attack signatures targeting the deletar_tag.php endpoint
  • Set up alerts for database errors or exceptions that may indicate attempted SQL injection exploitation
  • Track authentication events and correlate with requests to sensitive administrative endpoints
  • Review database audit logs for unexpected SELECT, UPDATE, or DELETE operations on sensitive tables

How to Mitigate CVE-2026-33991

Immediate Actions Required

  • Upgrade WeGIA to version 3.6.7 or later immediately to patch this vulnerability
  • If immediate patching is not possible, restrict network access to the WeGIA application to trusted IP ranges
  • Implement WAF rules to block SQL injection attempts targeting the affected endpoint
  • Review database access logs for evidence of exploitation and investigate any suspicious activity

Patch Information

WeGIA version 3.6.7 addresses this SQL Injection vulnerability by implementing proper input sanitization and prepared statements. Administrators should update their installations as soon as possible. For detailed patch information, refer to the GitHub Security Advisory GHSA-74xm-6wgf-x37j.

Workarounds

  • Implement a Web Application Firewall with SQL injection detection rules to filter malicious requests before they reach the application
  • Restrict access to the vulnerable endpoint /html/socio/sistema/deletar_tag.php using web server access controls or authentication requirements
  • Apply network segmentation to limit who can access the WeGIA administrative interface
  • If the tag deletion feature is not critical, consider temporarily disabling or removing the deletar_tag.php file until patching is complete
bash
# Example: Block access to vulnerable endpoint using Apache .htaccess
<Files "deletar_tag.php">
    Order Deny,Allow
    Deny from all
    # Allow only from trusted admin IP
    Allow from 192.168.1.100
</Files>

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechWegia

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33133: Wegia Web Manager SQLi Vulnerability

  • CVE-2026-33134: Wegia Wegia SQL Injection Vulnerability

  • CVE-2026-31895: WeGIA SQL Injection Vulnerability

  • CVE-2026-31896: WeGIA SQL Injection Vulnerability
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