CVE-2025-27140 WeGIA vulnerable to OS Command Injection at endpoint 'importar_dump.php' parameter 'import' (RCE)
Attackers can execute arbitrary OS commands via the importar_dump.php endpoint, potentially uploading webshells and gaining remote control.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-27140?
CVE-2025-27140 is a critical command injection vulnerability in Wegia Wegia, published on 24 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
WeGIA is a Web manager for charitable institutions. An OS Command Injection vulnerability was discovered in versions prior to 3.2.15 of the WeGIA application, `importar_dump.php` endpoint. This vulnerability could allow an attacker to execute arbitrary code remotely. The command is basically a command to move a temporary file, so a webshell upload is also possible. Version 3.2.15 contains a patch for the issue.
Which versions are affected by CVE-2025-27140?
It affects 1 product.
Products include Wegia Wegia.
How do I fix CVE-2025-27140?
No fix has been published for CVE-2025-27140 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-27140 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-27140 exists.
Other vulnerabilities in Wegia Wegia
- CVE-2026-28409 WeGIA Vulnerable to Remote Code Execution (RCE) via OS Command Injection
- CVE-2025-58745 WeGIA has a bypass for the fix for CVE-2025-22133 - Arbitrary File Upload leads to Remote Code Execution (RCE)
- CVE-2025-58159 WeGIA Authenticated Arbitrary File Upload Leading To Remote Code Execution (RCE)
- CVE-2025-55169 WeGIA Path Traversal at endpoint 'html/socio/sistema/download_remessa.php' via parameter 'file'
- CVE-2025-53823 WeGIA vulnerable to SQL Injection (Blind Time-Based) in `processa_deletar_socio.php` parameter `id_socio`
Sources
Also known as GHSA-xw6w-x28r-2p5c.