CVE-2026-41143 YesWiki vulnerable to authenticated SQL Injection via id_fiche in EntryManager::formatDataBeforeSave()
An authenticated attacker can execute arbitrary SQL commands via the id_fiche parameter in the Bazar module, potentially reading or modifying database contents.
- 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-41143?
CVE-2026-41143 is a high-severity SQL injection vulnerability in yeswiki, published on 7 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
YesWiki is a wiki system written in PHP. Prior to version 4.6.1, YesWiki bazar module contains a SQL injection vulnerability in tools/bazar/services/EntryManager.php at line 704. The $data['id_fiche'] value (sourced from $_POST['id_fiche']) is concatenated directly into a raw SQL query without any sanitization or parameterization. This issue has been patched in version 4.6.1.
Weakness: CWE-89
Which versions are affected by CVE-2026-41143?
2 open source packages ship an affected version, including yeswiki/yeswiki.
| Package | Affected | Fixed in |
|---|---|---|
yeswiki/yeswiki Packagist | All versions | 4.6.1 |
yeswiki/yeswiki Packagist | All versions | 4.6.1 |
How do I fix CVE-2026-41143?
Upgrade yeswiki/yeswiki to 4.6.1 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-41143 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41143 exists.
Sources
Also known as GHSA-f58v-p6j9-24c2.