Overview
CVE-2026-140386 describes an authorization bypass in phpMyFAQ that affects releases before 4.2.0-RC.2. According to the published record, the frontend FaqController checks only the coarse edit_faq permission before rendering private notes tied to a published FAQ, rather than verifying that the requesting user is actually authorized for the FAQ's specific category or language. A scoped FAQ editor who legitimately holds edit_faq for some categories or languages can therefore request the public FAQ content page and receive notes that belong to FAQs outside their scope.
The class of weakness is broken-function-level authorization (a subset of access control flaws), and the practical effect is confidentiality exposure of editorial notes rather than modification, authentication bypass, or server compromise.
Affected systems
- Product: phpMyFAQ
- Affected versions: releases before 4.2.0-RC.2
- Fixed-in boundary: 4.2.0-RC.2 (per the advisory text; the supplied context does not include a vendor changelog URL)
- Vulnerable component: frontend
FaqController, specifically the path that renders FAQ notes on the public content page
An exploit requires an authenticated user that has been granted FAQ-editing privileges and is scoped to a subset of categories or languages. The presence of any edit_faq grant is sufficient to reach the vulnerable rendering path; the per-scope check is what is missing.
Technical details
The vector reported with the advisory is AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N (CVSS v3.1 base 4.3). The confidentiality impact is low, integrity and availability impacts are none, and the attack complexity is low once a scoped editor account exists.
The root cause is straightforward: enforcement happens only at the permission name (edit_faq) rather than at the resource scope (category, language). Because the request itself is a fetch of the normal public FAQ content page, off-the-shelf request signatures and behavior rules in network logs may not surface the abuse without contextual correlation of the requesting user's assigned scopes.
Mitigation
- Plan an upgrade to phpMyFAQ 4.2.0-RC.2 or later after confirming through the vendor release notes or changelog that the authorization fix is included in that boundary.
- Reduce blast radius during evaluation: tighten the categories and languages assigned to each FAQ-editor account so the smallest possible scope holds the
edit_faqright; remove or merge shared editor accounts; rotate credentials for accounts that had broad grants.
- As a temporary workaround at the deployment layer, restrict or hide private-note rendering on public FAQ content pages, or place an upstream authorization check in front of the affected
FaqControllerendpoint.
- Audit logs for scoped editors requesting published FAQ content pages whose category or language lies outside their assigned scopes. Useful signals include high-volume enumeration across FAQ IDs or locale variants by a single editor session followed by responses that include note content.
- Review the content of any private notes that may have been viewed outside their intended scope and reclassify or rework them if log evidence indicates an out-of-scope retrieval.
Detection guidance
Generic public-page-request rules are unlikely to flag this bypass, because the affected route is also reached by anonymous visitors reading normal FAQ content. Detection should correlate the authenticated editor session, their assigned categories/languages, and the FAQ identifiers or locales they requested, then flag successful responses that contain note markup or note fields tied to a different scope. The supplied advisory does not enumerate the exact request parameter names or log format, so detection tuning requires inspection of the deployed phpMyFAQ version and its routing configuration.
Outlook
The combination of a low CVSS base, the absence of a CISA KEV listing, and the lack of any reported exploitation in the supplied intelligence places CVE-2026-140386 in a steady-state advisory posture. It should be tracked on the next maintenance cycle rather than treated as an emergency, while keeping authentication hygiene and scope-tightening for editor accounts as standing practice.