CVE-2026-49205 phpMyFAQ: Missing userHasPermission() in 4 API write endpoints (CVE-2026-24421 Incomplete Fix)
Attackers with valid API tokens can create or modify categories, FAQs, and questions without proper user permission checks.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-49205?
CVE-2026-49205 is a medium-severity missing authorization vulnerability in thorsten phpMyFAQ, published on 18 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
phpMyFAQ is an open source FAQ web application. Versions prior to 4.1.4 have Missing Authorization in the API CategoryController. CVE-2026-24421 addressed this in the BackupController by adding: $this->userHasPermission(PermissionType::BACKUP). The same fix was not applied to 4 other write endpoints in the public API. All 4 only call $this->hasValidToken() — which checks a shared API key header, rather than the individual user's role permissions. The following APIs are affected: POST /api/v4.0/category (CategoryController::create), POST /api/v4.0/faq (FaqController::create), PUT /api/v4.0/faq (FaqController::update), and POST /api/v4.0/question (QuestionController::create). This issue has been fixed in version 4.1.4.
Weakness: CWE-862
Which versions are affected by CVE-2026-49205?
4 open source packages ship an affected version, including thorsten/phpmyfaq and phpmyfaq/phpmyfaq.
| Package | Affected | Fixed in |
|---|---|---|
thorsten/phpmyfaq Packagist | All versions | 4.1.4 |
thorsten/phpmyfaq Packagist | All versions | 4.1.4 |
phpmyfaq/phpmyfaq Packagist | All versions | 4.1.4 |
phpmyfaq/phpmyfaq Packagist | All versions | 4.1.4 |
How do I fix CVE-2026-49205?
Upgrade thorsten/phpmyfaq to 4.1.4 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-49205 being exploited?
There is no known exploitation of CVE-2026-49205 in the wild and no public exploit code.
Sources
Also known as GHSA-8c6h-7g6x-m5x4.