Skip to main content

phpMyFAQ EUVDEUVD-2026-126791

| CVE-2026-130356 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-11-17 VulnCheck GHSA-2f6h-rh8g-h6ph
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as category-restricted editor
  2. Delivery
    Send faq/update with untranslated lang
  3. Exploit
    Empty scope lookup bypasses category check
  4. Execution
    Rewrite record-keyed ACL to everyone and wipe tags
  5. Impact
    Expose restricted FAQ to anonymous readers

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Requires an authenticated phpMyFAQ editor account whose FAQ_EDIT right is restricted to specific categories or languages, and the instance must run with security.permLevel=medium (the level that introduced the bypassed category/language scoping in 4.2.0-alpha.2). The attacker controls both faqId and lang in the POST /admin/api/faq/update body and must supply a lang in which the target FAQ has no translation so that Relation::getCategories() returns [] and only their own allowed category is checked; a valid pmf-csrf-token copied from any reachable editor page is also needed. Limiting factors that reduce real-world risk: it is not remote-unauthenticated (PR:L - a restricted editor account is mandatory), it does not apply to 4.1.x or to permission levels other than medium, it affects only pre-release 4.2.0 builds (alpha.2 through RC.1), and impact is confined to FAQ visibility ACLs, tags, and overwriting of orphaned FAQs rather than full system compromise.

Impact

Signals point to a real but moderate-priority issue rather than an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and CWE-639 (IDOR / authorization bypass through a user-controlled key) describe a network-reachable, low-complexity flaw that nonetheless requires PR:L - a valid, authenticated editor account that already holds a category- or language-restricted FAQ_EDIT right. Impact is explicitly low across the board (VC:L/VI:L, VA:N): an attacker can expose group/user-restricted FAQs to anonymous readers, wipe tags, hide FAQs from their intended audience, or overwrite orphaned FAQs, but cannot gain code execution or take down the service. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with this being an insider-privilege-escalation-of-visibility problem rather than a wormable RCE. No CISA KEV listing and no EPSS score are provided in the input, so there is no evidence of active or widespread exploitation; a detailed reproduction and a standalone PoC script are published in the VulnCheck/GHSA advisory, which lowers the barrier to exploitation by a motivated authenticated insider. Two caveats to verify: exploitation is gated on security.permLevel=medium (the advisory states 4.1.x and non-medium levels behave differently), and only pre-release 4.2.0 builds (alpha.2 through RC.1) are affected - so the real-world exposed population is small.

Exploit ScenarioDerived

A low-privileged editor whose FAQ_EDIT right is restricted to a single category sends POST /admin/api/faq/update targeting a FAQ outside their scope, but with a 'lang' value in which that FAQ has no translation; the scope lookup returns an empty category list, so only the attacker's own allowed category is checked and the request is authorized. The handler then rewrites the record-id-keyed visibility ACL to '-1' (everyone) and deletes the FAQ's tags, exposing a group-restricted FAQ to anonymous visitors. The advisory ships step-by-step reproduction and a standalone PoC script, though that script only replays the SQL/logic against in-memory SQLite and is not verified as a working exploit against a live instance.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 17, 2026

Category- and language-restricted phpMyFAQ editors can rewrite the visibility ACLs and tags of any FAQ - including FAQs in categories they are not allowed to touch - by POSTing to /admin/api/faq/update with a target faqId and a lang in which that FAQ has no translation. The flaw exists in the pre-release 4.2.0 line (alpha.2 through RC.1 / current main) and only manifests when security.permLevel=medium, which is the setting that introduced the category and language scoping the bypass circumvents; it requires an authenticated editor account holding a scoped FAQ_EDIT right (PR:L), so it is not remotely exploitable without credentials. Impact is limited to FAQ visibility ACLs, tag links and overwriting/re-homing orphaned FAQs rather than system compromise, and the 4.2.0-RC.2 release contains the fix; the advisory ships a standalone PoC script that replays the controller's SQL against in-memory SQLite rather than booting phpMyFAQ, so a public PoC reference exists but it is not verified as working exploit code, and there is no confirmed active exploitation (no CISA KEV listing) - the vuln.today priority decision is this_month.

RemediationAI

Vendor-released patch: upgrade to phpMyFAQ 4.2.0-RC.2 (see the release at https://github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2 and the advisory at https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-cch2-977x-6vqj); any 4.2.0 pre-release from alpha.2 up to and including RC.1, and main prior to the fix, should be replaced with RC.2 or later. No configuration-based workaround is documented in the advisory, and downgrading to 4.1.x is not a mitigation - the advisory states 4.1.x simply has no category or language scoping, so every FAQ_EDIT holder can already edit all FAQs there. The bypass only exists on 4.2.0 builds that enable the category/language scoping introduced in alpha.2 (security.permLevel=medium), so instances that do not use that level neither expose this specific bypass nor benefit from the scoped editor rights it depends on. Where upgrading cannot be done immediately, the advisory's limiting factors are what reduce exposure: an attacker must hold an authenticated editor account whose FAQ_EDIT right is restricted to specific categories or languages, must supply a lang in which the target FAQ has no translation, and must have a valid pmf-csrf-token copied from a reachable editor page - so auditing editor group memberships and their category/language restrictions, and treating such accounts as trusted, bounds the population who can exercise the flaw. Because no public exploit code is verified as working and there is no KEV listing, the vendor's own release remains the only complete fix.

Affected VersionsENISA

phpMyFAQ 4.2.0-alpha.2 <4.2.0-RC.2

Affected Packages

euvd phpmyfaq fix: 4.2.0-RC.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

CWE-639 (Authorization Bypass Through User-Controlled Key) in phpMyFAQ's administrative API: FaqController::update() (route faq/update, phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/FaqController.php:377) derives the caller's authorization scope from the attacker-supplied pair (faqId, lang). It merges the categories named in the request body with Relation::getCategories($faqId, $faqLang), and that lookup (Category/Relation.php:384-397) filters on record_id = %d AND record_lang = '%s'. Supplying a language in which the target FAQ has no translation makes the lookup return an empty array, so only the attacker's own permitted category is validated by userHasPermissionForCategories(). Because there is no translation, the handler takes the create() branch with the existing id already set (->setId($faqId) line 489; Faq::create() preserves a non-null id, Faq.php:753), inserting a new (faqId, lang) row, and no publish right is needed because the new row resolves to Draft and resolveStatusChange() returns it unchanged when no status is sent, leaving the existing published translation live. Afterwards the handler writes data that is keyed by record id only and therefore shared across every language of the FAQ: Tags::create()/deleteByRecordId() wipe faqdata_tags for the record (Tags.php:168-169, 326), and Faq\Permission::delete()/add() run DELETE FROM %sfaqdata_%s WHERE record_id = %d (Faq/Permission.php:112) before re-inserting rows from createPermissionArray(), which accepts userpermission/grouppermission ('all' becoming -1, i.e. everyone) and restricted_users/restricted_groups straight from the request body. Public read paths join faqdata_user and faqdata_group on record_id with no language column (Faq/FaqRepository.php:269, 427, 526) and filter via QueryHelper::queryPermission(), which is why ACL changes to a de-language FAQ take effect immediately for anonymous readers. A second variant affects uncategorized (orphaned) FAQs: AbstractController::userHasPermissionForCategories() (Controller/AbstractController.php:427-439) rejects uncategorized content for category-restricted users only when the merged category list is empty, so adding one permitted category lets the request pass and lines 535-536 then overwrite the orphan's question/answer and re-home it into the attacker's category. Notably, the classic admin edit page (Controller/Administration/FaqController.php:281-284) validates the FAQ's real categories and returns 403 for the same targets, while the API endpoint does not. The category-scoped and language-scoped permission logic being bypassed shipped in commits c43e83004 (#4311) and 83db240a7 (#4312), both first released in 4.2.0-alpha.2, which is why 4.1.x is not affected as a scope bypass - it has no category or language scoping at all, so any FAQ_EDIT holder can already edit every FAQ.

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 (VulnCheck) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.4 MEDIUM

Network API with low complexity but requires an authenticated restricted-editor account (PR:L); limited confidentiality (exposing restricted FAQs) and integrity (rewriting ACLs/tags, overwriting orphans), no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

1
Patch available
Nov 17, 2026 - 03:16 EUVD

DescriptionCVE.org

phpMyFAQ from 4.2.0-alpha.2 before 4.2.0-RC.2 contains an authorization bypass that lets category- or language-restricted editors rewrite visibility ACLs and tags of any FAQ. Attackers send faq/update requests with a target faqId and an untranslated lang to expose restricted FAQs, wipe tags, or overwrite orphaned FAQs.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
niche self-hosted open-source FAQ manager; only pre-release 4.2.0 builds affected
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
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