CVE-2026-39971S9y Serendipity
High 7.2 No auth needed
Follow: this CVE · S9y · S9y Serendipity We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 3.1
- 7.2
- EPSS
- —
- Auth required
- No
- Published
- Apr 15, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-113
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
What happens
Serendipity is a PHP-powered weblog engine. In versions 2.6-beta2 and below, the email sending functionality in include/functions.inc.php inserts $_SERVER['HTTP_HOST'] directly into the Message-ID SMTP header without validation, and the existing sanitization function serendipity_isResponseClean() is not called on HTTP_HOST before embedding it. An attacker who can control the Host header during an email-triggering action such as comment notifications or subscription emails can inject arbitrary SMTP headers into outgoing emails. This enables identity spoofing, reply hijacking via manipulated Message-ID threading, and email reputation abuse through the attacker's domain being embedded in legitimate mail headers. 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-458g-q4fh-mj6r). 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 Patch
- github.com Exploit Mitigation Vendor Advisory