{"id":"CVE-2026-35391","summary":"Bulwark Webmail getClientIP() trusted client-controlled X-Forwarded-For value, enabling rate limit bypass and audit log forgery","details":"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.","aliases":["GHSA-7pj2-232x-6698"],"modified":"2026-08-12T03:51:32.772743907Z","published":"2026-04-06T20:17:39.793Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-348"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35391.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35391.json"},{"type":"ADVISORY","url":"https://github.com/bulwarkmail/webmail/security/advisories/GHSA-7pj2-232x-6698"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35391"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bulwarkmail/webmail","events":[{"introduced":"0"},{"fixed":"01c8afbfe8a64899b24281d9700b566bf853d853"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.4.11"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:bulwarkmail:webmail:*:*:*:*:*:*:*:*"}}],"versions":["1.4.10","1.4.9","1.3.9","1.4.8","1.4.7","1.4.6","1.4.5","1.4.4","1.4.3","1.4.2","1.4.0","1.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35391.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}