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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-04 · Modified: 2026-11-05
- Aliases: GHSA-wchh-mrv2-5h4q, GO-2026-6949
- Record: https://cvemate.com/vulnerability/CVE-2026-86041 · JSON: https://cvemate.com/vulnerability/CVE-2026-86041/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v4.0, CVE.org) 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
- EPSS: 0.324%, percentile 27.389%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- github.com/mayswind ezbookkeeping (Go): ≥ 0.10.0, \< 1.6.0
- mayswind ezbookkeeping: ≥ 0.10.0, \< 1.6.0

## References

- <https://github.com/mayswind/ezbookkeeping/security/advisories/GHSA-wchh-mrv2-5h4q>
- <https://github.com/mayswind/ezbookkeeping/commit/d79a5beb8037e529dc4dc64a6d22bd2d02b2e986>
- <https://github.com/mayswind/ezbookkeeping/releases/tag/v1.6.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-86041>
- <https://github.com/mayswind/ezbookkeeping>

---

Data as of 2026-12-05T14:22:50.182Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
