CVE-2026-40285: WeGIA has SQL Injection via Session Variable Override in DespachoControle.php

Published Apr 17, 2026
·
Updated

WeGIA is a web manager for charitable institutions. Versions prior to 3.6.10 contain a SQL injection vulnerability in dao/memorando/UsuarioDAO.php. The cpfusuario POST parameter overwrites the session-stored user identity via extract($REQUEST) in DespachoControle::verificarDespacho(), and the attacker-controlled value is then interpolated directly into a raw SQL query, allowing any authenticated user to query the database under an arbitrary identity. Version 3.6.10 fixes the issue.

Affected Software

1 affected component
WeGIA WeGIA<3.6.10

Event History

Apr 17, 2026
CVE Published
via MITRE·08:25 PM
Data Sourced
via MITRE·08:25 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-40285?

The severity of CVE-2026-40285 is high due to its potential for SQL injection attacks.

2

How do I fix CVE-2026-40285?

To fix CVE-2026-40285, upgrade WeGIA to version 3.6.10 or later.

3

What versions of WeGIA are affected by CVE-2026-40285?

WeGIA versions prior to 3.6.10 are affected by CVE-2026-40285.

4

What type of vulnerability is CVE-2026-40285?

CVE-2026-40285 is an SQL injection vulnerability that allows attackers to manipulate database queries.

5

What is the impact of CVE-2026-40285 on WeGIA users?

The impact of CVE-2026-40285 includes unauthorized access to sensitive data due to compromised user identities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203