mayswind ezBookkeeping 1.2.0 before 2.0.1 Privilege Escalation via Token Refresh Endpoint
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-105131
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 01:27 UTC · Revision 1
Source evidence
mayswind ezBookkeeping 1.2.0 before 2.0.1 Privilege Escalation via Token Refresh Endpoint
core-osv · Original sourcePublished 4 Oct 2026, 01:20 UTC
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.
osv:CVE-2026-105131
Complete source record
{
"id": "ce42a5552092b0e7e79496dce32391784cfbbc2b1599181aff40590901addd08",
"url": "https://osv.dev/vulnerability/CVE-2026-105131",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "mayswind ezBookkeeping 1.2.0 before 2.0.1 Privilege Escalation via Token Refresh Endpoint",
"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, attackers can exchange short-lived or IP-restricted API tokens for 30-day normal session tokens that bypass API token expiry and allowlists.",
"evidence": "osv:CVE-2026-105131",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-105131",
"aliases": [
"CVE-2026-105131",
"GHSA-wq25-mpcf-2mfc"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mayswind/ezbookkeeping",
"type": "GIT",
"events": [
{
"introduced": "4c8bb5a0b7f5a40821fa666dc600caaccde8c1f0"
},
{
"fixed": "323cf0c683d7889ad0c28377039ced1a44167c1e"
},
{
"fixed": "9a92b07be8a7034665abfdb35b036210a1d57bf9"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "1.2.0"
},
{
"fixed": "2.0.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "9a92b07be8a7034665abfdb35b036210a1d57bf9"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "323cf0c683d7889ad0c28377039ced1a44167c1e"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v2.0.1"
}
]
}
}
],
"versions": [
"v2.0.0",
"v1.6.0",
"v1.5.1",
"v1.5.0",
"v1.4.0",
"v1.3.2",
"v1.3.1",
"v1.3.0",
"v1.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-105131.json"
}
}
],
"modified": "2026-10-28T02:30:48.732167587Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105131.json",
"https://github.com/mayswind/ezbookkeeping/releases/tag/v2.0.1",
"https://github.com/mayswind/ezbookkeeping/security/advisories/GHSA-wq25-mpcf-2mfc",
"https://nvd.nist.gov/vuln/detail/CVE-2026-105131",
"https://www.vulncheck.com/advisories/mayswind-ezbookkeeping-1.2.0-before-2.0.1-privilege-escalation-via-token-refresh-endpoint",
"https://github.com/mayswind/ezbookkeeping/commit/9a92b07be8a7034665abfdb35b036210a1d57bf9",
"https://github.com/mayswind/ezbookkeeping",
"https://github.com/mayswind/ezbookkeeping/blob/v2.0.0/pkg/api/tokens.go#L327-L380"
],
"provider_metadata": {
"cwe_ids": [
"CWE-863"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105131.json"
}
},
"related_cves": [
{
"value": "CVE-2026-105131",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 516974,
"published_at": "2026-10-04T01:20:29.985+00:00"
}