CVE-2026-35391
JSON

8.7high

Bulwark Webmail getClientIP() trusted client-controlled X-Forwarded-For value, enabling rate limit bypass and audit log forgery

Severity
8.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

Bulwark Webmail is a self-hosted webmail client for Stalwart Mail Server. Prior to 1.4.11, the getClientIP() function in lib/admin/session.ts trusted the first (leftmost) entry of the X-Forwarded-For header, which is fully controlled by the client. An attacker could forge their source IP address to bypass IP-based rate limiting (enabling brute-force attacks against the admin login) or forge audit log entries (making malicious activity appear to originate from arbitrary IP addresses). This vulnerability is fixed in 1.4.11.

Affected

Product or packageVersionsReported by
bulwarkmail webmail< 1.4.11, before 1.4.11CVE List, NVD

All scores

GitHub_M8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-348

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Bulwark Webmail is a self-hosted webmail client for Stalwart Mail Server. Prior to 1.4.11, the getClientIP() function in lib/admin/session.ts trusted the first (leftmost) entry of the X-Forwarded-For header, which is fully controlled by the client. An attacker could forge their source IP address to bypass IP-based rate limiting (enabling brute-force attacks against the admin login) or forge audit log entries (making malicious activity appear to originate from arbitrary IP addresses). This vulnerability is fixed in 1.4.11.

NVD (es)

Bulwark Webmail es un cliente de webmail autoalojado para Stalwart Mail Server. Antes de la versión 1.4.11, la función getClientIP() en lib/admin/session.ts confiaba en la primera entrada (la más a la izquierda) del encabezado X-Forwarded-For, que está completamente controlada por el cliente. Un atacante podría falsificar su dirección IP de origen para eludir la limitación de velocidad basada en IP (lo que permite ataques de fuerza bruta contra el inicio de sesión del administrador) o falsificar entradas de registro de auditoría (haciendo que la actividad maliciosa parezca originarse de direcciones IP arbitrarias). Esta vulnerabilidad está corregida en la versión 1.4.11.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-35391 changed 2026-04-07CVE Terms of Use
NVDCVE-2026-35391 changed 2026-07-24Public domain