All vulnerabilities

Servers and applications

CVE-2026-104467

YesWiki public API mode permits unauthenticated access to admin-only API routes

Severity
Critical 9.8
Published
1 Sept 2026
Last changed
23 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.6.7
Exploit chance
0.4% in the next 30 daysHigher than 31% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Missing authorization (CWE-862)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-v527-6r4j-j2w2
Sources
Project advisories (GitHub)

Description

When YesWiki is configured with its documented public API mode ('api_allowed_keys' => ['public' => true]), the central API authorization check grants access before respecting route ACLs. As a result, unauthenticated attackers can call some API routes annotated as admin-only (options={"acl":{"@admins"}}) if the controller method does not repeat an in-method admin check. Confirmed affected routes include configuration mutation and archive/backup management endpoints.

includes/services/ApiService.php authorizes API requests in isAuthorized():

Because the api_allowed_keys.public === true branch is not limited to routes whose ACL includes public, it authorizes any matched API route. includes/YesWiki.php calls this check immediately before invoking the routed controller in RunSpecialPages().

The documented public API mode appears in docs/en/dev.md:

Examples of admin-only routes that rely on this central ACL and lack a secondary in-method admin check include:

From YesWiki/yeswiki's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
YesWikiServers and applications · github:yeswiki/yeswiki
  • Every version before 4.6.7

About YesWiki

Free wiki-style software for building online sharing and collaboration platforms

From Wikidata, CC0 1.0.
GitHub stars
139GitHub, 15 Nov 2026
Forks
75GitHub, 15 Nov 2026
Latest release
v4.7.2GitHub, 15 Nov 2026
Released
1 Nov 2026GitHub
License
AGPL-3.0GitHub
Written in
PHPWikidata
First released
2009Wikidata
First published on GitHub
9 Sept 2009GitHub

References