{"id":"CVE-2026-130371","kind":"vulnerability","aliases":["CVE-2026-130371"],"related":[],"title":"phpMyFAQ: web installer lets anyone reinstall and create an admin account","description":"phpMyFAQ before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 contains an authentication bypass vulnerability because the web installer ignores the legacy config/database.php during 3.x upgrades. Unauthenticated attackers can reinstall the site against an attacker-controlled database and create their own administrator account to take over the application.","summary":"phpMyFAQ's web installer ignores the legacy config/database.php during 3.x upgrades, so it can be run against an attacker-controlled database. An unauthenticated attacker can then create their own administrator account and take over the application.","severity":"critical","cvss":9.2,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["package","php","phpmyfaq","self-hosted"],"not_affected_if":["installer-removed","no-3x-upgrade"],"how_to_check":"- Check the installed phpMyFAQ version in the admin panel or in the release files; a version below `4.1.12` on the 4.1 line, or below `4.2.0-RC.2` on the 4.2 alpha line, is affected.\n- Check whether the installer is reachable from the internet, for example by requesting the `/setup/` path on the site.\n- Check for a leftover `config/database.php` from a 3.x install on the server.","fix":"- phpMyFAQ `4.1.12` for the 4.1 line\n- phpMyFAQ `4.2.0-RC.2` for the 4.2 alpha line","status":"open","published_at":"2026-11-17T02:17:20+00:00","first_seen_at":"2026-11-17T02:40:32+00:00","triaged_at":"2026-11-17T02:42:11+00:00","updated_at":"2026-11-17T02:42:11+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-17T02:42:11Z","model":"claude-haiku-5-5","output":{"fix":"- phpMyFAQ `4.1.12` for the 4.1 line\n- phpMyFAQ `4.2.0-RC.2` for the 4.2 alpha line","reach":"internet","title":"phpMyFAQ: web installer lets anyone reinstall and create an admin account","impact":"high","summary":"phpMyFAQ's web installer ignores the legacy config/database.php during 3.x upgrades, so it can be run against an attacker-controlled database. An unauthenticated attacker can then create their own administrator account and take over the application.","audience":"businesses","category":"package","nicknames":[],"who_cares":["phpmyfaq","php","self-hosted"],"confidence":0.8,"fix_status":"available","needs_auth":"no","worst_case":"attacker takes over the site and its admin account","analyst_note":"","how_to_check":"- Check the installed phpMyFAQ version in the admin panel or in the release files; a version below `4.1.12` on the 4.1 line, or below `4.2.0-RC.2` on the 4.2 alpha line, is affected.\n- Check whether the installer is reachable from the internet, for example by requesting the `/setup/` path on the site.\n- Check for a leftover `config/database.php` from a 3.x install on the server.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["installer-removed","no-3x-upgrade"],"who_is_affected":"Sites running phpMyFAQ that were upgraded from a 3.x release, or that still expose the web installer, are exposed. A site with the installer removed or blocked and no leftover legacy config file is not reachable through this path. Hosted or managed phpMyFAQ instances depend on the provider's patch.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"critical"},"cost_usd":0.000788,"input_tokens":4675,"output_tokens":640,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-130371':14A,17A '-2026':13A,16A '3':33B,85C '4.1.12':64C '4.2.0':66C,69C 'account':11A,56B,105C 'admin':10A 'administr':55B,104C 'alpha':67C 'anyon':5A 'applic':61B,110C 'attack':44B,49B,89C,97C 'attacker-control':43B,96C 'authent':73C 'bypass':74C 'config/database.php':31B,83C 'contain':71C 'control':45B,98C 'creat':8A,52B,101C 'cve':12A,15A 'databas':46B,99C 'host':23B 'ignor':28B,80C 'instal':3A,27B,79C 'legaci':30B,82C 'let':4A 'packag':18B 'php':19B 'phpmyfaq':1A,20B,24B,62C 'rc.2':70C 'reinstal':6A,91C 'run':40B 'self':22B 'self-host':21B 'site':93C 'take':58B,107C 'unauthent':48B,88C 'upgrad':35B,87C 'vulner':75C 'web':2A,26B,78C 'x':34B,86C","nicknames":[],"mitigations":[],"who_affected":"Sites running phpMyFAQ that were upgraded from a 3.x release, or that still expose the web installer, are exposed. A site with the installer removed or blocked and no leftover legacy config file is not reachable through this path. Hosted or managed phpMyFAQ instances depend on the provider's patch.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["critical","package","php","phpmyfaq","selfhosted"],"campaign_type":null,"search_a":"'-130371':14A,17A '-2026':13A,16A 'account':11A 'admin':10A 'anyon':5A 'creat':8A 'cve':12A,15A 'instal':3A 'let':4A 'phpmyfaq':1A 'reinstal':6A 'web':2A","search_b":"'3':33B 'account':56B 'administr':55B 'applic':61B 'attack':44B,49B 'attacker-control':43B 'config/database.php':31B 'control':45B 'creat':52B 'databas':46B 'host':23B 'ignor':28B 'instal':27B 'legaci':30B 'packag':18B 'php':19B 'phpmyfaq':20B,24B 'run':40B 'self':22B 'self-host':21B 'take':58B 'unauthent':48B 'upgrad':35B 'web':26B 'x':34B","search_c":"'3':85C '4.1.12':64C '4.2.0':66C,69C 'account':105C 'administr':104C 'alpha':67C 'applic':110C 'attack':89C,97C 'attacker-control':96C 'authent':73C 'bypass':74C 'config/database.php':83C 'contain':71C 'control':98C 'creat':101C 'databas':99C 'ignor':80C 'instal':79C 'legaci':82C 'phpmyfaq':62C 'rc.2':70C 'reinstal':91C 'site':93C 'take':107C 'unauthent':88C 'upgrad':87C 'vulner':75C 'web':78C 'x':86C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T16:08:07+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-130371","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130371","severity":null,"published_at":"2026-11-17T02:17:20+00:00","modified_at":"2026-11-17T02:17:20+00:00","first_seen_at":"2026-11-17T02:40:32+00:00","fetched_at":"2026-11-17T02:40:32+00:00","note":null}],"documents":[{"id":174031,"url":"https://github.com/thorsten/phpMyFAQ/commit/eae6674d64bb6f53caf703d3f38b657f0c16a13c","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":173886,"url":"https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.12","title":"Release notes: github.com","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: github.com"},{"id":173887,"url":"https://github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2","title":"Release notes: github.com","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: github.com"},{"id":174034,"url":"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-jhf3-22r2-88hm","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-11-16T16:08:07+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"},{"id":174035,"url":"https://www.vulncheck.com/advisories/phpmyfaq-before-4.1.12-and-4.2.0-alpha-before-4.2.0-rc.2-unauthenticated-reinstall-via-web-installer","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}