CVE-2026-86041
Dashboard / Vulnerabilities / CVE-2026-86041
Summary: ezBookkeeping: Source-IP allowlist (MCP & API token) is bypassable via a spoofed `X-Forwarded-For` header
Details: ezBookkeeping is an open source, self-hosted personal finance application. From 0.10.0 until 1.6.0, ezBookkeeping constructs its Gin router with gin.New() without configuring SetTrustedProxies, causing c.ClientIP() to trust a spoofed X-Forwarded-For value. An unauthenticated remote attacker can supply an allowlisted address to bypass the mcp_allowed_remote_ips or api_token_allowed_remote_ips gate. A valid MCP or API token remains required for protected actions. When such actions occur, the same spoofed value is stored in Transaction.CreatedIp and the request log, attributing activity to the trusted host instead of the attacker. This issue is fixed in version 1.6.0.
References: https://github.com/mayswind/ezbookkeeping/releases/tag/v1.6.0, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86041.json, https://github.com/mayswind/ezbookkeeping/security/advisories/GHSA-wchh-mrv2-5h4q, https://nvd.nist.gov/vuln/detail/CVE-2026-86041, https://github.com/mayswind/ezbookkeeping/commit/d79a5beb8037e529dc4dc64a6d22bd2d02b2e986
Affected packages
Package
Name:
Purl:
Affected ranges
Type: GIT
Events:
