Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-49205 EUVD-2026-37954GHSA-8c6h-7g6x-m5x4

phpMyFAQ: Missing userHasPermission() in 4 API write endpoints (CVE-2026-24421 Incomplete Fix)

Published Jun 18, 2026 · Updated Jun 22, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
thorsten phpMyFAQ < 4.1.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phpmyfaq/phpmyfaq < 4.1.4 4.1.4 GHSA-8c6h-7g6x-m5x4
Packagist thorsten/phpmyfaq < 4.1.4 4.1.4 GHSA-8c6h-7g6x-m5x4

References