CVE-2026-52777: YesWiki Authenticated PHP Object Injection Vulnerability in BazarImportAction

yeswiki/yeswiki Updated 10 Jul 2026

Summary

09/07/2026
Yes i
Critical
9.4

CVE-2026-52777: YesWiki Vulnerable to Authenticated PHP Object Injection in BazarImportAction via unserialize. Affects yeswiki/yeswiki versions < 4.6.6. Fixed in 4.6.6. 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

YesWiki is an open-source wiki software that allows users to create and manage content collaboratively. It features a user-friendly interface and supports various plugins and extensions. However, a critical vulnerability has been identified in the BazarImportAction component, which can lead to severe security risks if exploited.

Vulnerability Detail

The vulnerability arises from an authenticated PHP object injection in the BazarImportAction class, specifically in the importEntry method. This method uses unserialize without restricting allowed classes, allowing attackers to instantiate arbitrary classes. The vulnerability is reachable through a crafted POST request, enabling remote code execution on the server. The lack of CSRF protection further exacerbates the risk, as it allows attackers to exploit the vulnerability without requiring direct interaction from the admin user.

How To Fix

Minimum fixed version

4.6.6

This is the first release that contains the fix.

composer require yeswiki/yeswiki:4.6.6

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

Workaround

As a temporary workaround, you can implement input validation to sanitize the $_POST['importfiche'] input before processing it. However, this is not a complete solution and should not replace the necessary patch.

Conclusion

The CVE-2026-52777 vulnerability in YesWiki poses a significant risk to authenticated admin users, enabling remote code execution through PHP object injection. It is crucial to update to the patched version and implement recommended security measures to mitigate this risk.

See every vulnerability recorded for yeswiki/yeswiki →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.4, indicating a critical level of severity.

Authenticated users with admin privileges on YesWiki installations are at risk if they interact with the vulnerable BazarImportAction.

Yes, an attacker can exploit this vulnerability remotely by tricking an admin user into visiting a malicious page that sends a crafted POST request.

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

If exploited, this vulnerability can lead to remote code execution on the YesWiki server, allowing attackers to gain full control over the hosting environment.

Related vulnerabilities

Recent vulnerabilities recorded for yeswiki/yeswiki.

How To Fix

Minimum fixed version

4.6.6

This is the first release that contains the fix.

composer require yeswiki/yeswiki:4.6.6

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