Security Digest · Vulnerability record

CVE-2026-46670: YesWiki: Unauthenticated SQL Injection

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…

CVSS 9.8 Critical EPSS 2.0% · p80

Should you act?

Critical and remotely reachable

No known exploitation yet, but it is network-reachable without credentials. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
  • EPSS 2.0%, percentile 80: FIRST’s model estimates a 2.0% chance of exploitation activity in the next 30 days, higher than 80% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
  • Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
  • Only applies if your dependency tree includes yeswiki/yeswiki (Composer (PHP)) < 4.6.4, fixed in 4.6.4. Check your lockfile, including transitive dependencies.

What it is

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 yeswikiusers.password hashes. Version 4.6.4 fixes the issue.

From the GitHub advisory

Summary

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 yeswikiusers.password hashes. Present in 4.6.1 / 4.6.2 / current doryphore-dev; analyzed against upstream commit 1f485c049db030b94c047ec219e63534ac81142e.

Details

Sink is at FormManager::create() (function at L232), unquoted concatenation of bnidnature into the INSERT VALUES list at https://github.com/YesWiki/yeswiki/blob/1f485c049db030b94c047ec219e63534ac81142e/tools/bazar/services/FormManager.php#L258

Reachability is unauthenticated.

Weakness type: CWE-89.

Product: yeswiki/yeswiki (Composer (PHP)) · Assigned by: GitHub_M · Published: 2026-08-11

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
Composer (PHP)yeswiki/yeswiki< 4.6.44.6.4
VendorProductAffected versions (per CVE record)
YesWikiyeswiki< 4.6.4

Severity scores

Scored byCVSSScoreVector
GitHub_M3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub3.19.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Privileges required: none (no login)
  • User interaction: none
  • Scope: unchanged

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation poc, automatable yes, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 1.99% probability of exploitation activity in the next 30 days; percentile 80.

Timeline

  • — GitHub-reviewed advisory GHSA-jwvv-qr7q-cv8j published (critical)
  • — CVE record published by GitHub_M
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-jwvv-qr7q-cv8j github.com
  2. CVE.org record CVE-2026-46670 cve.org
  3. NVD entry CVE-2026-46670 nvd.nist.gov

Other references from the CVE record and advisory

  1. github.com github.com

Critical Composer (PHP) advisories · Today’s Security Digest