CVE-2026-45027
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedWeGIA 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceWeGIA versions before 3.7.3 use PHP's hash() with SHA-256 and no salt for password storage in html/login.php and controle/FuncionarioControle.php. This creates identical hashes for identical passwords, enabling rainbow table attacks against the stored credential database.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify WeGIA installation and versionLocate the WeGIA application directory and check for a version file, typically named version.php, VERSION, or similar. Read the declared version number.Affected if The installed version is before 3.7.3
-
Locate the html/login.php fileNavigate to the WeGIA web root directory and find the html/login.php file. Open it and search for occurrences of the hash() function.Affected if The file contains hash() calls using SHA-256 algorithm without a salt parameter for password processing
-
Inspect html/login.php for unsalted SHA-256 password hashingIn html/login.php, look for patterns like hash('sha256', $password) or hash('sha256', $_POST['password']). Check if a salt variable is used as a second parameter to hash().Affected if Password hashing uses hash('sha256', ...) without a salt variable present in the hash() call
-
Locate the controle/FuncionarioControle.php fileNavigate to the WeGIA application directory and find controle/FuncionarioControle.php. Open it and search for hash() function usage related to password storage.Affected if The file contains hash() calls using SHA-256 for password hashing without a salt parameter
-
Verify password storage implementationIn both affected files, examine any code that processes or stores passwords. Confirm whether a constant salt, per-user salt, or no salt is used with the hash() function.Affected if Passwords are hashed with SHA-256 and no salt is applied, allowing identical passwords to produce identical hashes
If the installed WeGIA version is before 3.7.3 and the affected files contain hash() with SHA-256 but no salt for password processing, the environment is vulnerable to rainbow table attacks.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to WeGIA 3.7.3 or later, which implements proper password hashing. For existing deployments, implement a secure migration path that rehashes passwords using bcrypt, Argon2, or PBKDF2 while maintaining backward compatibility during transition.
3.7.3
- Identify the current WeGIA installation version in use
- Obtain version 3.7.3 from the official WeGIA repository or distribution channel
- Backup the existing WeGIA database and application files before proceeding
- Replace the existing WeGIA files with the version 3.7.3 files, preserving any local configuration
- Verify that html/login.php now uses a proper password hashing mechanism (such as password_hash() with bcrypt or Argon2)
- Verify that controle/FuncionarioControle.php now uses proper salted password hashing
- Test the login flow to ensure authentication works correctly with the new hashing
- Test the password change flow to confirm it uses secure hashing
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-45027 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-45027 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data