---
id: CVE-2026-80201
title: >-
  Kimai before 2.53.0 fails to block sensitive User methods in the Twig invoice
  template sandbox, allowing admins to call getApiToken() and getPlainApiToken()
  methods
summary: >-
  Kimai before 2.53.0 fails to block sensitive User methods in the Twig invoice
  template sandbox, allowing admins to call getApiToken() and getPlainApiToken()
  methods. Attackers with template creation permissions can embed these method
  cal…
severity: low
cvss: 2
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N'
cwe:
  - CWE-94
vendor: kimai
product: kimai
affected:
  - kimai < 2.53.0
published: '2026-08-26'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T16:17:46.120'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-80201'
references:
  - url: 'https://github.com/kimai/kimai/security/advisories/GHSA-rh42-6rj2-xwmc'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/kimai-before-2.53.0-api-token-leakage-via-invoice-template
    label: disclosure@vulncheck.com
  - url: 'https://github.com/kimai/kimai/security/advisories/GHSA-rh42-6rj2-xwmc'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-08-26T14:16:14.479982Z'
epss: 0.00255
epssPercentile: 0.15724
ingestedAt: '2026-10-08T16:52:14.730Z'
---

## Overview

Kimai before 2.53.0 fails to block sensitive User methods in the Twig invoice template sandbox, allowing admins to call getApiToken() and getPlainApiToken() methods. Attackers with template creation permissions can embed these method calls in invoice templates to leak hashed API tokens in rendered invoice output.

## Remediation

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