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

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-04-06T20:17:39.793Z
- Modified: 2026-07-24T21:10:00.143Z
- Weaknesses: CWE-348
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- bulwarkmail webmail: < 1.4.11; before 1.4.11

## Every score

- GitHub_M: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/bulwarkmail/webmail/security/advisories/GHSA-7pj2-232x-6698> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-35391](https://www.cve.org/CVERecord?id=CVE-2026-35391), CVE Terms of Use, modified 2026-04-07
- NVD: [CVE-2026-35391](https://nvd.nist.gov/vuln/detail/CVE-2026-35391), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-35391 · Whole record: https://cve.day/CVE-2026-35391.json · Rebuilt by cve.day 2026-11-25T22:59:18.066Z
