OS Command Injection in WeGIA - CVE-2025-27140

 

OS Command Injection in WeGIA - CVE-2025-27140

Published: February 24, 2025 / Updated: May 2, 2026


Vulnerability identifier: #VU129025
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-27140
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to improper neutralization of special elements used in an os command in the importar_dump.php endpoint when handling the import file upload parameter. A remote attacker can supply a crafted filename in the import parameter to execute arbitrary code.

The issue affects POST /html/configuracao/importar_dump.php, and the session check can be bypassed because execution continues after the redirect logic.


Affected software

WeGIA

How to mitigate CVE-2025-27140

Install security update from vendor's website.

WeGIA - update to 3.2.15

External References

Related Security Bulletins