CVE-2026-86041

GHSA-wchh-mrv2-5h4q · published 4 Nov 2026 · updated 12 Nov 2026

ezBookkeeping: Source-IP allowlist (MCP & API token) is bypassable via a spoofed `X-Forwarded-For` header

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in github.com/mayswind/ezbookkeeping 1.6.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
mayswind>=0.10.0 <1.6.0
go: github.com/mayswind/ezbookkeeping>=0.10.0 <1.6.01.6.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-86041 severity on Zeptric[![CVE-2026-86041](https://zeptric.io/badge/cve/CVE-2026-86041.svg)](https://zeptric.io/cve/CVE-2026-86041)