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

CVE-2026-35395: Wegia SQL Injection Vulnerability

CVE-2026-35395 is a SQL injection vulnerability in Wegia, a web manager for charitable institutions, allowing authenticated users to execute arbitrary SQL commands. This article covers technical details, affected versions, and mitigation.

Updated: May 15, 2026

CVE-2026-35395 Overview

CVE-2026-35395 is a SQL injection vulnerability in WeGIA, a web-based management application for charitable institutions. The flaw resides in dao/memorando/DespachoDAO.php, where the id_memorando parameter is read from $_REQUEST and concatenated directly into SQL queries without validation or parameterization. Any authenticated user can exploit this issue to execute arbitrary SQL commands against the backend database. The vulnerability is tracked under [CWE-89] and is fixed in WeGIA version 3.6.9.

Critical Impact

Authenticated attackers can read, modify, or destroy database contents, leading to full compromise of confidentiality, integrity, and availability of institutional data.

Affected Products

  • WeGIA (Web gerenciador para instituições assistenciais)
  • All versions prior to 3.6.9
  • Component: dao/memorando/DespachoDAO.php

Discovery Timeline

  • 2026-04-06 - CVE-2026-35395 published to NVD
  • 2026-04-09 - Last updated in NVD database

Technical Details for CVE-2026-35395

Vulnerability Analysis

The vulnerability exists in the data access layer file dao/memorando/DespachoDAO.php. The application retrieves the id_memorando parameter using PHP's $_REQUEST superglobal, which accepts values from GET, POST, and COOKIE inputs. The value is then interpolated directly into a SQL query string without prepared statements, parameter binding, or input sanitization.

Because authentication is the only barrier, any user with valid credentials, including low-privilege accounts, can manipulate the parameter to break out of the intended query context. The injected SQL executes with the privileges of the database account configured for the WeGIA application. This typically allows reading arbitrary tables, modifying records, and in some configurations writing files or executing stored procedures.

Root Cause

The root cause is unsafe string concatenation of untrusted input into SQL statements, classified as [CWE-89] Improper Neutralization of Special Elements used in an SQL Command. The code path does not enforce type casting on id_memorando, which should be a numeric identifier, and does not use PDO prepared statements available in the PHP runtime.

Attack Vector

An authenticated attacker submits a crafted HTTP request to the endpoint that consumes DespachoDAO.php, supplying a malicious id_memorando value such as a UNION-based or boolean-based payload. The vulnerable query executes the attacker-controlled SQL fragment, returning data from arbitrary tables or modifying records. Refer to the GitHub Security Advisory GHSA-43jm-pcrq-w7gv for full technical context.

Detection Methods for CVE-2026-35395

Indicators of Compromise

  • HTTP requests to WeGIA endpoints containing SQL metacharacters such as ', --, UNION SELECT, or SLEEP( in the id_memorando parameter.
  • Database error messages or unusually large response payloads from memorando related endpoints.
  • Unexpected SELECT, UPDATE, or INFORMATION_SCHEMA queries in MySQL or PostgreSQL logs originating from the WeGIA service account.

Detection Strategies

  • Enable database query logging and alert on queries referencing information_schema or executing outside the application's normal query patterns.
  • Deploy a Web Application Firewall (WAF) with rules targeting SQL injection signatures on requests to /dao/memorando/ paths.
  • Review web server access logs for requests where id_memorando contains non-numeric characters.

Monitoring Recommendations

  • Monitor authenticated user sessions for anomalous request volumes against memorando endpoints.
  • Alert on database account activity that deviates from baseline read patterns, such as bulk row extraction.
  • Correlate authentication events with subsequent injection attempts to identify compromised low-privilege accounts.

How to Mitigate CVE-2026-35395

Immediate Actions Required

  • Upgrade WeGIA to version 3.6.9 or later, which contains the official fix from the maintainers.
  • Audit application and database logs for prior exploitation attempts against id_memorando.
  • Rotate database credentials and review user account activity if compromise is suspected.

Patch Information

The maintainers released a fix in WeGIA 3.6.9. Details are published in the WeGIA GitHub Security Advisory GHSA-43jm-pcrq-w7gv. Administrators should pull the latest release from the LabRedesCefetRJ/WeGIA repository and verify the patched version is deployed across all instances.

Workarounds

  • Restrict access to the WeGIA application to trusted networks using firewall or VPN controls until the patch is applied.
  • Apply WAF rules that block non-numeric values in the id_memorando parameter.
  • Reduce the privileges of the database account used by WeGIA to the minimum required, removing FILE, CREATE, and administrative grants.
bash
# Upgrade WeGIA to the patched release
cd /var/www/WeGIA
git fetch --tags
git checkout 3.6.9

# Example MySQL least-privilege grant for the application account
REVOKE ALL PRIVILEGES ON *.* FROM 'wegia_app'@'localhost';
GRANT SELECT, INSERT, UPDATE, DELETE ON wegia_db.* TO 'wegia_app'@'localhost';
FLUSH PRIVILEGES;

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.04%

  • 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-40285: WeGIA SQL Injection Vulnerability

  • CVE-2026-33991: Wegia SQL Injection Vulnerability

  • CVE-2026-33133: Wegia Web Manager SQLi Vulnerability

  • CVE-2026-33134: Wegia Wegia SQL Injection 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