{"id":"CVE-2026-48488","aliases":["CVE-2026-48488","GHSA-58fg-62fg-3fcj"],"related":[],"kind":"vulnerability","state":"published","title":"phpMyFAQ has Weak Cryptography - SHA1 for Password Hashing","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nAttachment passwords are hashed using SHA-1, a cryptographically broken algorithm. SHA-1 has been vulnerable to collision attacks since 2017 (SHAttered).\n\n### Details\n\n**Affected File** : `phpmyfaq/src/phpMyFAQ/Attachment/AbstractAttachment.php`\n\n<img width=\"810\" height=\"427\" alt=\"image\" src=\"https://github.com/user-attachments/assets/6499a008-3ece-4291-8296-f1d3303ba35c\" />\n\n\n### Impact\n\n- An attacker can generate SHA-1 collisions to bypass attachment protection\n- Risk of password cracking if database is compromised\n- Estimated cracking time: < 1 minute for standard attachment\n\n### Solution\n\n**Use bcrypt:**\n\n```\npublic function setPassword(string $password): void\n{\n    $this->passwordHash = password_hash($password, PASSWORD_BCRYPT);\n}\n\npublic function verifyPassword(string $plainPassword): bool\n{\n    return password_verify($plainPassword, $this->passwordHash);\n}\n```","format":"markdown","source":"ghsa"},{"lang":"es","text":"phpMyFAQ es una aplicación web de preguntas frecuentes (FAQ) de código abierto. Antes de la versión 4.1.4, las contraseñas de los archivos adjuntos se hashean usando SHA-1, un algoritmo criptográficamente roto. SHA-1 ha sido vulnerable a ataques de colisión desde 2017 (SHAttered). La versión 4.1.4 soluciona el problema.","source":"nvd"}],"published":"2026-06-08T15:15:12.595Z","modified":"2026-09-10T03:50:48.284Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":2.7,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":2.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"}],"cwes":["CWE-328"],"affected":[{"ranges":[{"version":"< 4.1.4","status":"affected"}],"vendor":"thorsten","product":"phpMyFAQ","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.1.4"}],"ecosystem":"Packagist","package":"thorsten/phpmyfaq","purl":"pkg:composer/thorsten/phpmyfaq","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.1.4"}],"ecosystem":"Packagist","package":"phpmyfaq/phpmyfaq","purl":"pkg:composer/phpmyfaq/phpmyfaq","source":"ghsa"}],"references":[{"url":"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-58fg-62fg-3fcj","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/thorsten/phpMyFAQ/commit/1aa9be6f8a2fa5c527c983826205229fc3129718","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48488","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/thorsten/phpMyFAQ","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-09T14:23:33.704Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48488","url":"https://www.cve.org/CVERecord?id=CVE-2026-48488","licence":"CVE Terms of Use","modified":"2026-06-09T14:36:01.366Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-58fg-62fg-3fcj","url":"https://github.com/advisories/GHSA-58fg-62fg-3fcj","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:48.284Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48488","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48488","licence":"Public domain","modified":"2026-07-23T07:10:00.113Z"}],"updatedAt":"2026-11-25T22:59:23.989Z","epss":{"score":0.00182,"percentile":0.08131,"date":"2026-12-01T12:00:22.000Z"}}