Shellfeed logo Shellfeed

CVE-2026-86041 · MEDIUM

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

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 12.8).

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.

Severity

MEDIUM — vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Affected packages

  • Go github.com/mayswind/ezbookkeeping [0.10.0 – 1.6.0]
  • GIT github.com/mayswind/ezbookkeeping [06ef2220d63d257e057d5076e4422ebbe6fb0755 – e5c12d378531337ea5cf410ca865a9a558398b9c]

References

Posts about CVE-2026-86041