Skip to main content

phpMyFAQ EUVDEUVD-2026-35091

| CVE-2026-48488 LOW
Use of Weak Hash (CWE-328)
2026-06-08 GitHub_M GHSA-58fg-62fg-3fcj
2.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain database read access (SQL injection or exposed port)
  2. Delivery
    Query faqattachment table for password_hash values
  3. Exploit
    Apply SHA-1 rainbow tables or collision tools to recover plaintext keys
  4. Execution
    Use recovered keys to decrypt protected attachment files
  5. Impact
    Exfiltrate sensitive attachment content

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Irreversible hash functions
Exploitation Conditions

Exploitation of the weak hash requires an attacker to first obtain stored SHA-1 password hashes from the faqattachment database table - this is a prerequisite not directly provided by this vulnerability itself. The SHA-1 hash is only computed and stored when an attachment is created with a non-default explicit password (setKey() called with a non-null key on an encrypted attachment). Installations that do not use password-protected attachments are not exposed. The CVSS PR:N vector reflects that no application-level authentication is needed to trigger the hash weakness conceptually, but practical exploitation is gated by database read access. Exploitation is further limited to confidentiality impact only (VI:N, VA:N): no write or availability consequences are possible through this path alone.

Impact

CVSS 4.0 scores this at 2.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N), which accurately reflects the constrained real-world impact: confidentiality impact is limited (VC:L) and no integrity or availability consequences are assessed. The PR:N vector warrants note - while no authentication is required in the CVSS model, exploiting the weak hash in practice requires an attacker to first obtain the password_hash database values, which demands either direct database access, a secondary vulnerability such as SQL injection, or exposure of a database backup. The exploit maturity is E:U (unreported), no public POC exists, and no CISA KEV listing is present, making opportunistic mass exploitation implausible. EPSS data is not provided in the source intelligence. The primary real-world risk scenario is insider threat or post-compromise lateral movement where an attacker already has DB read access and wants to decrypt attachment-protected files more efficiently than brute force against a strong hash would allow. This is a genuine but low-severity cryptographic hygiene issue rather than a critical attack path.

Exploit ScenarioDerived

An attacker who gains read access to the phpMyFAQ database - through SQL injection in another part of the application, a misconfigured database port, or a leaked backup - extracts the password_hash column values from the attachment table. Using SHA-1 collision or preimage techniques, or simply a rainbow table attack against the 160-bit digests, the attacker recovers the plaintext attachment passwords and decrypts otherwise access-controlled file attachments. No public POC targeting this specific path has been identified at time of analysis.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

Weak cryptographic hashing of attachment passwords in phpMyFAQ prior to 4.1.4 exposes protected attachment credentials to offline cracking or collision-based forgery. The application stored SHA-1 hashes of per-attachment passwords in the database column password_hash, computed via sha1((string) $key) in AbstractAttachment::setKey(). Because SHA-1 has been cryptographically broken since the 2017 SHAttered collision attack, an attacker who obtains these database-stored hashes faces significantly weakened resistance compared to a modern algorithm. No active exploitation is confirmed (CISA KEV: no; exploit status E:U per CVSS 4.0), and the CVSS 4.0 base score of 2.7 reflects limited real-world impact.

RemediationAI

Upgrade phpMyFAQ to version 4.1.4, which removes SHA-1 password hash storage entirely via commit 1aa9be6f8a2fa5c527c983826205229fc3129718. The vendor advisory is available at https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-58fg-62fg-3fcj. After upgrading, administrators should audit the faqattachment database table for any existing password_hash column values and consider them compromised if the database was accessible to unauthorized parties - the column is dropped in the patched schema but historical rows written by prior versions may persist in database backups. No effective workaround exists short of upgrading, since the weak hash is embedded in application logic; restricting database network access reduces the risk of hash exfiltration but does not eliminate the underlying cryptographic weakness.

Affected VersionsENISA

phpMyFAQ < 4.1.4

Affected Packages

composer phpmyfaq/phpmyfaq fix: 4.1.4
composer thorsten/phpmyfaq fix: 4.1.4
euvd phpmyfaq fix: 4.1.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

phpMyFAQ (CPE: cpe:2.3:a:thorsten:phpmyfaq:*:*:*:*:*:*:*:*) is a PHP-based open-source FAQ application. The vulnerability is rooted in CWE-328 (Use of Weak Hash): the AbstractAttachment class in phpmyfaq/src/phpMyFAQ/Attachment/AbstractAttachment.php applied PHP's native sha1() function to attachment encryption keys and persisted the resulting 160-bit digest in the database. SHA-1 is structurally broken for security use - collision attacks are computationally feasible (demonstrated by SHAttered in 2017), and preimage attacks are within reach given sufficient compute. The fix (commit 1aa9be6f) entirely removes the passwordHash property, eliminates password_hash from all INSERT and SELECT statements, and simplifies setKey() to no longer hash or store the key, addressing the root cause by removing the weak hash storage mechanism rather than substituting a stronger algorithm.

Know when Phpmyfaq gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 2.7 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch available
Jun 08, 2026 - 17:01 EUVD
CVSS changed
Jun 08, 2026 - 16:22 NVD
2.7 (LOW)
CVE Published
Jun 08, 2026 - 15:15 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +14
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-59943 CRITICAL POC
9.8 Oct 03

Duplicate-email registration handling in phpMyFAQ 4.0.7 through 4.0.13 (and 4.0-nightly-2025-10-03 and earlier) lets una

CVE-2023-5865 CRITICAL POC
9.8 Oct 31

Insufficient Session Expiration in GitHub repository thorsten/phpmyfaq prior to 3.2.2. Rated critical severity (CVSS 9.8

CVE-2023-1886 CRITICAL POC
9.8 Apr 05

Authentication Bypass by Capture-replay in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity

CVE-2023-1753 CRITICAL POC
9.8 Mar 31

Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity (CVSS 9.8), t

CVE-2022-3754 CRITICAL POC
9.8 Oct 29

Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.8. Rated critical severity (CVSS 9.8), th

CVE-2026-46364 CRITICAL POC
9.3 May 15

Unauthenticated SQL injection in phpMyFAQ before 4.1.2 allows remote attackers to extract credentials, admin tokens, and

CVE-2017-15730 HIGH POC
8.8 Oct 22

In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.ratings.php. Rated high severity (CVS

CVE-2017-15808 HIGH POC
8.8 Oct 23

In phpMyFaq before 2.9.9, there is CSRF in admin/ajax.config.php. Rated high severity (CVSS 8.8), this vulnerability is

CVE-2017-15735 HIGH POC
8.8 Oct 22

In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) for modifying a glossary. Rated high severity (CVSS

CVE-2017-15734 HIGH POC
8.8 Oct 22

In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.main.php. Rated high severity (CVSS 8

CVE-2024-28107 HIGH POC
8.8 Mar 25

phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi

CVE-2024-27299 HIGH POC
8.8 Mar 25

phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy