CWE-759Weakness · CWE-759

CVE-2026-45027

MEDIUM · 5.9 CVSS v3.1 Published 2026-05-27
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
68/100
Remediation priority · Elevated
Remotely reachable No privileges Zero-click

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 · unedited
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.

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 confidence

WeGIA 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.

MitigationUpgrade 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify WeGIA installation and version
    Locate 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
  2. Locate the html/login.php file
    Navigate 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
  3. Inspect html/login.php for unsalted SHA-256 password hashing
    In 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
  4. Locate the controle/FuncionarioControle.php file
    Navigate 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
  5. Verify password storage implementation
    In 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade 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.

Recommended fix High confidence

3.7.3

  1. Identify the current WeGIA installation version in use
  2. Obtain version 3.7.3 from the official WeGIA repository or distribution channel
  3. Backup the existing WeGIA database and application files before proceeding
  4. Replace the existing WeGIA files with the version 3.7.3 files, preserving any local configuration
  5. Verify that html/login.php now uses a proper password hashing mechanism (such as password_hash() with bcrypt or Argon2)
  6. Verify that controle/FuncionarioControle.php now uses proper salted password hashing
  7. Test the login flow to ensure authentication works correctly with the new hashing
  8. Test the password change flow to confirm it uses secure hashing

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing4.0 h
  • Review / QA2.0 h
15.0 hours of engineering $2,640
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-45027 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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