CVE-2026-39963S9y Serendipity
Medium 6.9 No auth needed
Follow: this CVE · S9y · S9y Serendipity We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 3.1
- 6.9
- EPSS
- —
- Auth required
- No
- Published
- Apr 15, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-565
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
What happens
Serendipity is a PHP-powered weblog engine. In versions 2.6-beta2 and below, the serendipity_setCookie() function in include/functions_config.inc.php uses $_SERVER['HTTP_HOST'] without validation as the domain parameter of setcookie(). An attacker who can influence the Host header at login time, such as via MITM, reverse proxy misconfiguration, or load balancer manipulation, can force authentication cookies including session tokens and auto-login tokens to be scoped to an attacker-controlled domain. This enables session fixation, token leakage to attacker-controlled infrastructure, and privilege escalation if an admin logs in under a poisoned Host header. This issue has been fixed in version 2.6.0.
What to do
- Apply the vendor's security update for Serendipity.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | s9y/serendipity |
< 2.6.0 |
2.6.0 |
composer require "s9y/serendipity:^2.6.0" |
Per OSV / GitHub Advisories (GHSA-4m6c-649p-f6gf). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| s9y | serendipity | < 2.6.0 |
| s9y | serendipity | 2.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Exploit Mitigation Vendor Advisory