CVE-2026-35391

Source
https://cve.org/CVERecord?id=CVE-2026-35391
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35391.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-35391
Aliases
  • GHSA-7pj2-232x-6698
Published
2026-04-06T20:17:39.793Z
Modified
2026-08-12T03:51:32.772743907Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-348"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35391.json"
}
References

Affected packages

Git / github.com/bulwarkmail/webmail

Affected ranges

Type
GIT
Repo
https://github.com/bulwarkmail/webmail
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.4.11"
        }
    ],
    "cpe": "cpe:2.3:a:bulwarkmail:webmail:*:*:*:*:*:*:*:*"
}

Affected versions

1.*
1.3.0
1.3.9
1.4.0
1.4.10
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8
1.4.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35391.json"