All vulnerabilities

Servers and applications

CVE-2026-104469

YesWiki login does not regenerate the PHP session ID, enabling session fixation

Severity
Medium 6.8
Published
1 Sept 2026
Last changed
23 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.6.7
Exploit chance
0.3% in the next 30 daysHigher than 22% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Session fixation (CWE-384)
Attack
Over the network · Only under certain conditions · No login needed · Needs someone to click or open something
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Also known as
GHSA-7fvc-v2hp-5pwh
Sources
Project advisories (GitHub)

Description

YesWiki starts a PHP session before authentication and writes the authenticated identity into the existing session during login without regenerating the session ID. If an attacker can set or learn a victim's pre-authentication YesWiki-* session cookie, the attacker can reuse that same session ID after the victim logs in.

includes/YesWikiInit.php starts the session with a path-derived session name:

The successful login path in includes/controllers/AuthController.php stores the authenticated user in the existing session:

Repository-wide source review found no session_regenerate_id() call in the login/authentication flow. As a result, the pre-login session ID remains valid after authentication.

The existing cookie settings (HttpOnly, SameSite=Lax, and HTTPS-dependent Secure) are useful hardening but do not rotate a fixed session ID after privilege elevation.

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