---
id: CVE-2026-105131
title: >-
  ezBookkeeping 1.2.0 before 2.0.1 contains a privilege escalation vulnerability
  that allows attackers holding an API token to obtain a full session token via
  /api/v1/tokens/refresh.json
summary: >-
  ezBookkeeping 1.2.0 before 2.0.1 contains a privilege escalation vulnerability
  that allows attackers holding an API token to obtain a full session token via
  /api/v1/tokens/refresh.json. Because TokenRefreshHandler never checks token
  type…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'
cwe:
  - CWE-863
vendor: mayswind
product: ezBookkeeping
affected:
  - ezBookkeeping >= 1.2.0 < 2.0.1
published: '2026-10-04'
updated: '2026-10-04'
sourceUpdated: '2026-10-04T02:16:33.600'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-105131'
references:
  - url: 'https://github.com/mayswind/ezbookkeeping'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/mayswind/ezbookkeeping/blob/v2.0.0/pkg/api/tokens.go#L327-L380
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/mayswind/ezbookkeeping/commit/9a92b07be8a7034665abfdb35b036210a1d57bf9
    label: disclosure@vulncheck.com
  - url: 'https://github.com/mayswind/ezbookkeeping/releases/tag/v2.0.1'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/mayswind/ezbookkeeping/security/advisories/GHSA-wq25-mpcf-2mfc
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/mayswind-ezbookkeeping-1.2.0-before-2.0.1-privilege-escalation-via-token-refresh-endpoint
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-04T01:51:38.631Z'
epss: 0.00198
epssPercentile: 0.0867
---

## Overview

ezBookkeeping 1.2.0 before 2.0.1 contains a privilege escalation vulnerability that allows attackers holding an API token to obtain a full session token via /api/v1/tokens/refresh.json. Because TokenRefreshHandler never checks token type, attackers can exchange short-lived or IP-restricted API tokens for 30-day normal session tokens that bypass API token expiry and allowlists.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
