CVE-2026-86041
MEDIUM 5.3CVSS 4.0ezBookkeeping: Source-IP allowlist (MCP & API token) is bypassable via a spoofed `X-Forwarded-For` header
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.
- Published
- 4 Nov 2026
- Last modified
- 23 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-348
- Also known as
- GHSA-wchh-mrv2-5h4qGO-2026-6949
- Sources
- NVDJSONOSV GHSA-wchh-mrv2-5h4qJSONOSV GO-2026-6949JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/mayswind/ezbookkeeping | >= 0.10.0, < 1.6.0 | 1.6.0 |
References
- https://github.com/mayswind/ezbookkeeping/commit/d79a5beb8037e529dc4dc64a6d22bd2d02b2e986 · WEB, FIX
- https://github.com/mayswind/ezbookkeeping/releases/tag/v1.6.0 · WEB
- https://github.com/mayswind/ezbookkeeping/security/advisories/GHSA-wchh-mrv2-5h4q · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-86041 · ADVISORY
- https://github.com/mayswind/ezbookkeeping · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 4 Nov 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Nov 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Nov 2026)