CVE-2026-57961: phpMyFAQ Authenticated Path Traversal in PDF Export

thorsten/phpmyfaq Updated 26 Aug 2026

Summary

25/08/2026
Yes i
Moderate
4.9

CVE-2026-57961: phpMyFAQ has Potential Authenticated Path Traversal in PDF Export. Affects thorsten/phpmyfaq versions >= 4.0.0-alpha, < 4.1.5. Fixed in 4.1.5. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

phpMyFAQ is an open-source FAQ management system that allows users to create and manage FAQ entries efficiently. It provides features such as content categorization, user management, and PDF export functionality. However, a vulnerability has been identified in the PDF export feature that could allow privileged users to exploit the system.

Vulnerability Detail

The vulnerability arises from an authenticated path traversal condition in the PDF export functionality, specifically in the image resolution logic. The function 'concatenatePaths()' improperly handles user-controlled paths, allowing an attacker with FAQ editing privileges to craft paths that can read files outside the intended content directory. This could lead to the disclosure of sensitive files, depending on file permissions and the nature of the files being accessed.

How To Fix

Minimum fixed version

4.1.5

This is the first release that contains the fix.

composer require thorsten/phpmyfaq:4.1.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid allowing FAQ editors to include arbitrary paths in image tags within the FAQ content. Implement strict validation of image paths to ensure they are contained within the expected content directory.

Conclusion

The CVE-2026-57961 vulnerability in phpMyFAQ poses a moderate risk due to its potential for path traversal attacks by authenticated users. It is crucial to update to the latest version and implement recommended security measures to protect sensitive data.

See every vulnerability recorded for thorsten/phpmyfaq →

Share this vulnerability

FAQ

CVE-2026-57961 is a vulnerability in phpMyFAQ that allows authenticated users to exploit path traversal in the PDF export functionality.

Users with FAQ editing privileges in phpMyFAQ versions prior to 4.1.5 are affected by this vulnerability.

Exploitation of this vulnerability may lead to unauthorized access to sensitive files on the server, potentially disclosing confidential information.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Update to phpMyFAQ version 4.1.5 or later and implement path validation measures to ensure that user-controlled paths do not lead outside the intended directories.

Related vulnerabilities

Recent vulnerabilities recorded for thorsten/phpmyfaq.

How To Fix

Minimum fixed version

4.1.5

This is the first release that contains the fix.

composer require thorsten/phpmyfaq:4.1.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback