CVE-2026-80198

Kimai before 2.56.0 Information Disclosure via config() Twig Function

Published Aug 25, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
Kimai versions before 2.56.0 fail to restrict the config() Twig function in sandboxed invoice and export templates, allowing administrators to access arbitrary configuration keys. Attackers with admin privileges can upload malicious templates to exfiltrate server-wide secrets including LDAP bind passwords and SAML private keys into invoice or export documents accessible to lower-privileged users.

Analysis

AI-generated

Technical impact

Kimai versions prior to 2.56.0 do not restrict the config() function in sandboxed invoice and export templates, letting an attacker who can act with administrator permissions read arbitrary configuration keys. By uploading a crafted template, the attacker can embed sensitive server secrets such as LDAP bind passwords and SAML private keys into generated invoice or export documents, which are then viewable by lower‑privilege users. This results in a breach of confidentiality for credentials and secrets that the application holds.

Affected Systems

The vulnerability affects the Kimai time‑tracking application from the vendor Kimai, impacting all releases earlier than 2.56.0.

Risk and Exploitability

With a CVSS score of 8.7, the vulnerability poses a high‑impact information‑disclosure risk. The exploit requires administrative access to upload malicious templates; once in place, any lower‑privilege users who view generated documents can read the leaked secrets. There is no EPSS information and the issue is not currently listed in the CISA KEV catalog, but the high severity and the potential for credential theft suggest that administrators should treat the vulnerability as critical and patch immediately.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Kimai to version 2.56.0 or later, which restricts the config() function in templates.
  • Temporarily disable the config() function in invoice and export templates by editing the template files to remove the function or add a sandbox restriction.
  • Restrict the upload of custom invoice/export templates to a minimal set of trusted users, and monitor for unauthorized changes.

Generated by OpenCVE AI on August 26, 2026 at 01:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Kimai versions before 2.56.0 fail to restrict the config() Twig function in sandboxed invoice and export templates, allowing administrators to access arbitrary configuration keys. Attackers with admin privileges can upload malicious templates to exfiltrate server-wide secrets including LDAP bind passwords and SAML private keys into invoice or export documents accessible to lower-privileged users.
Title Kimai before 2.56.0 Information Disclosure via config() Twig Function
First Time appeared Kimai
Kimai kimai
Weaknesses CWE-693
CPEs cpe:2.3:a:kimai:kimai:*:*:*:*:*:*:*:*
Vendors & Products Kimai
Kimai kimai
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-693

    Protection Mechanism Failure

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:25 PM
Reserved
Aug 25, 2026, 11:14 PM
Status
Deferred
Published
Aug 26, 2026, 5:18 AM
Modified
Oct 8, 2026, 4:17 PM