CVE-2026-46670 YesWiki: Unauthenticated SQL Injection

Critical 9.8 Published Updated

Unauthenticated attackers can inject SQL into YesWiki to read the full database, including user password hashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-46670?

CVE-2026-46670 is a critical SQL injection vulnerability in yeswiki, published on 11 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

YesWiki is a wiki system written in PHP. Prior to version 4.6.4, an unauthenticated SQL injection in the Bazar form-import path (`FormManager::create()`) allows any unauthenticated visitor of a default YesWiki install to inject arbitrary SQL into an `INSERT` statement and read the full database, including `yeswiki_users.password` hashes. Version 4.6.4 fixes the issue.

Weakness: CWE-89

Which versions are affected by CVE-2026-46670?

2 open source packages ship an affected version, including yeswiki/yeswiki.

PackageAffectedFixed in
yeswiki/yeswiki PackagistAll versions4.6.4
yeswiki/yeswiki PackagistAll versions4.6.4

How do I fix CVE-2026-46670?

Upgrade yeswiki/yeswiki to 4.6.4 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-46670 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46670 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-jwvv-qr7q-cv8j.

Is CVE-2026-46670 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free