CVE-2026-45027 WeGIA: Use of Weak Password Hashing Algorithm (SHA-256, no salt) in html/login.php
Attackers can recover user passwords via rainbow tables due to unsalted SHA-256 hashing, compromising accounts in WeGIA.
- 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-2026-45027?
CVE-2026-45027 is a medium-severity vulnerability in LabRedesCefetRJ WeGIA, published on 27 May 2026. 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. In versions prior to 3.7.3, when a user logs in, html/login.php hashes the submitted password using PHP's hash() function with the SHA-256 algorithm and no salt before comparing it to the stored value. The password change flow in controle/FuncionarioControle.php follows the same pattern. SHA-256 is a general-purpose cryptographic hash built for speed, not password storage. Without a salt, identical passwords produce identical digests, making the entire hash database vulnerable to a single precomputed rainbow table lookup. This vulnerability is fixed in 3.7.3.
Which versions are affected by CVE-2026-45027?
How do I fix CVE-2026-45027?
No fix has been published for CVE-2026-45027 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-45027 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45027 exists.
Sources
Also known as GHSA-hcgv-vmq6-j6qg.