CVE-2026-48488
Received Received - Intake
phpMyFAQ Attachment Password Hashing Weakness via SHA-1

Publication date: 2026-06-08

Last updated on: 2026-06-08

Assigner: GitHub, Inc.

Description
phpMyFAQ is an open source FAQ web application. Prior to version 4.1.4, attachment passwords are hashed using SHA-1, a cryptographically broken algorithm. SHA-1 has been vulnerable to collision attacks since 2017 (SHAttered). Version 4.1.4 fixes the issue.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-08
Last Modified
2026-06-08
Generated
2026-06-09
AI Q&A
2026-06-08
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
phpmyfaq phpmyfaq to 4.1.4 (exc)
thorsten phpmyfaq to 4.1.4 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-328 The product uses an algorithm that produces a digest (output value) that does not meet security expectations for a hash function that allows an adversary to reasonably determine the original input (preimage attack), find another input that can produce the same hash (2nd preimage attack), or find multiple inputs that evaluate to the same hash (birthday attack).
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Compliance Impact

The vulnerability involves the use of SHA-1, a weak and broken cryptographic hash function, for hashing attachment passwords in phpMyFAQ versions prior to 4.1.4. This weak hashing could allow attackers to crack passwords quickly if the database is compromised.

While the CVE description and resources do not explicitly mention compliance with standards like GDPR or HIPAA, the use of weak cryptographic algorithms such as SHA-1 for password hashing can be considered a failure to meet best practices for data protection and security.

Such weaknesses could potentially lead to non-compliance with regulations that require adequate protection of personal data and secure authentication mechanisms, as these regulations generally mandate the use of strong cryptographic methods to protect sensitive information.

Executive Summary

CVE-2026-48488 is a security vulnerability in phpMyFAQ versions 4.1.3 and earlier where attachment passwords were hashed using SHA-1, a cryptographically broken algorithm. SHA-1 has been vulnerable to collision attacks since 2017, meaning attackers can create different inputs that produce the same hash, undermining the security of the hashed passwords.

In this case, the SHA-1 hashes were stored in the database but never actually used for verification, providing no real security benefit and introducing a CWE-328 weakness (use of a weak hash function). The vulnerability was fixed in version 4.1.4 by removing the SHA-1 hashing logic and related dead code.

Impact Analysis

This vulnerability can impact you by allowing attackers to exploit the weak SHA-1 hashing to perform collision attacks and potentially crack attachment passwords quickly if they gain access to the database.

Because SHA-1 is weak, attackers can bypass security measures and recover passwords in under a minute, increasing the risk of unauthorized access to attachments or sensitive information.

However, the vulnerability is classified as low severity, and the actual password hashes were not used for verification, which somewhat limits the impact.

Detection Guidance

This vulnerability can be detected by inspecting the phpMyFAQ database and application code to check if attachment passwords are hashed using the SHA-1 algorithm.

Specifically, you can look for the presence of SHA-1 hashes in the password_hash column of the database or check if the application version is prior to 4.1.4.

Suggested commands include querying the database to find SHA-1 hashed passwords and checking the phpMyFAQ version.

  • Run a SQL query to check for SHA-1 hashes in the password_hash column, for example: SELECT password_hash FROM attachments WHERE LENGTH(password_hash) = 40;
  • Check the installed phpMyFAQ version by reviewing the application version file or using command line tools if available.
Mitigation Strategies

The immediate mitigation step is to upgrade phpMyFAQ to version 4.1.4 or later, where the SHA-1 hashing for attachment passwords has been removed and replaced with a more secure method.

If upgrading immediately is not possible, restrict access to the database to prevent attackers from obtaining the SHA-1 hashed passwords.

Additionally, monitor for any suspicious activity that might indicate attempts to exploit this weakness.

The recommended fix involves replacing SHA-1 with bcrypt using PHP's password_hash() and password_verify() functions.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-48488. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart