CVE-2026-39963 Serendipity: Host Header Injection enables authentication cookie scoping to an attacker-controlled domain
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- PHPNetwork Appliances
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| s9y/serendipity | < 2.6.0; = 2.6.0-beta1; = < 2.6.0 | 2.6.0 | Fixed |
| s9y/serendipity(Packagist) | < 2.6.0; = 2.0.0; = 2.0.1; = 2.0.2 +28 more | 2.6.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| s9y/serendipity(Packagist) | < 2.6.0 | 2.6.0 |
| s9y/serendipity(Packagist) | = 2.0.0 | No fix listed |
| s9y/serendipity(Packagist) | = 2.0.1 | No fix listed |
| s9y/serendipity(Packagist) | = 2.0.2 | No fix listed |
| s9y/serendipity(Packagist) | = 2.0.3 | No fix listed |
| s9y/serendipity(Packagist) | = 2.0.4 | No fix listed |
| s9y/serendipity(Packagist) | = 2.0.5 | No fix listed |
| s9y/serendipity(Packagist) | = 2.1-beta1 | No fix listed |
| s9y/serendipity(Packagist) | = 2.1-beta2 | No fix listed |
| s9y/serendipity(Packagist) | = 2.1-beta3 | No fix listed |
| s9y/serendipity(Packagist) | = 2.1-rc1 | No fix listed |
| s9y/serendipity(Packagist) | = 2.1.0 | No fix listed |
| s9y/serendipity(Packagist) | = 2.1.1 | No fix listed |
| s9y/serendipity(Packagist) | = 2.1.2 | No fix listed |
| s9y/serendipity(Packagist) | = 2.1.3 | No fix listed |
| s9y/serendipity(Packagist) | = 2.1.4 | No fix listed |
| s9y/serendipity(Packagist) | = 2.1.5 | No fix listed |
| s9y/serendipity(Packagist) | = 2.1.6 | No fix listed |
| s9y/serendipity(Packagist) | = 2.2.1-alpha1 | No fix listed |
| s9y/serendipity(Packagist) | = 2.3-beta1 | No fix listed |
| s9y/serendipity(Packagist) | = 2.3-rc1 | No fix listed |
| s9y/serendipity(Packagist) | = 2.3.0 | No fix listed |
| s9y/serendipity(Packagist) | = 2.3.1 | No fix listed |
| s9y/serendipity(Packagist) | = 2.3.2 | No fix listed |
| s9y/serendipity(Packagist) | = 2.3.3 | No fix listed |
Show 10 more
| Product | Affected versions | Fixed in |
|---|---|---|
| s9y/serendipity(Packagist) | = 2.3.4 | No fix listed |
| s9y/serendipity(Packagist) | = 2.3.5 | No fix listed |
| s9y/serendipity(Packagist) | = 2.4-beta1 | No fix listed |
| s9y/serendipity(Packagist) | = 2.4.0 | No fix listed |
| s9y/serendipity(Packagist) | = 2.5-beta1 | No fix listed |
| s9y/serendipity(Packagist) | = 2.5.0 | No fix listed |
| s9y/serendipity(Packagist) | = 2.6-beta1 | No fix listed |
| s9y/serendipity | = < 2.6.0 | No fix listed |
| s9y/serendipity | < 2.6.0 | 2.6.0 |
| s9y/serendipity | = 2.6.0-beta1 | No fix listed |
References
- https://github.com/s9y/Serendipity/security/advisories/GHSA-4m6c-649p-f6gf exploit mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://github.com/s9y/Serendipity/releases/tag/2.6.0 product
- github.com