CVE-2026-80198: Kimai before 2.56.0 Information Disclosure via config() Twig Function

Published Aug 25, 2026
·
Updated

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.

Affected Software

1 affected component
Kimai Kimai<2.56.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Kimai to a version that resolves this vulnerability.

    Fixed in 2.56.0
  2. Configuration

    Upgrade to Kimai 2.56.0 or later to ensure the config() Twig function is properly restricted in sandboxed invoice and export templates, preventing access to arbitrary configuration keys.

    Kimai (sandboxed invoice/export Twig templates) Twig sandbox restrictions for config() function = Restrict config() Twig function in sandboxed templates

Event History

Aug 25, 2026
CVE Published
via MITRE·11:19 PM
Data Sourced
via MITRE·11:19 PM
DescriptionSeverityWeakness
Aug 26, 2026
Data Sourced
via NVD·05:18 AM
DescriptionSeverityWeakness
Nov 21, 58621
Event
via NVD·11:54 AM

Frequently Asked Questions

1

Who can exploit this issue, and who is exposed to the disclosed data?

Exploitation requires administrator privileges to upload a malicious invoice or export template. The resulting documents can expose extracted secrets to lower-privileged users who can access those invoices or exports.

2

What sensitive information could be disclosed?

An administrator can use the unrestricted config() Twig function to retrieve arbitrary configuration keys. The advisory specifically identifies server-wide secrets such as LDAP bind passwords and SAML private keys.

3

Which deployments are affected?

Kimai versions before 2.56.0 are affected where administrators can upload sandboxed invoice or export templates. The issue is present because config() is not restricted in those template contexts.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203