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.
Published: 2026-08-25
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 25 Aug 2026 23:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-25T23:19:04.492Z

Reserved: 2026-08-25T23:14:37.730Z

Link: CVE-2026-80198

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T02:30:04Z

Weaknesses
  • CWE-693

    Protection Mechanism Failure