# Kimai's Twig function config() leaks server-wide secrets (LDAP bind password, SAML SP private key) via invoice/export templates

Advisory record · `GHSA-vrqv-52x7-rm4v`

- **Identifiers:** `GHSA-vrqv-52x7-rm4v` · `CVE-2026-80198` · `PKSA-zy2k-4hm5-25gd`
- **State:** Confirmed
- **Severity:** CVSS 8.7 High
- **Critical:** No
- **Weakness (CWE):** [CWE-693](https://cwe.mitre.org/data/definitions/693.html)
- **Tags:** [CWE-693](https://agentprime.io/advisories/tag/cwe-693.md)
- **Published:** 6 May 2026
- **Updated:** 27 Aug 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 6 May 2026, 18:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `kimai/kimai` (Packagist): affected `<2.56.0`; fixed in `2.56.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The kimai/kimai package before 2.56.0 lets an admin who can upload invoice or export Twig templates use the config() function to read server-wide settings, including the LDAP bind password and the SAML service provider private key. Those values can appear in rendered invoice or export output, which other users, including lower-privileged users with invoice permissions, may receive. Upgrade to kimai/kimai 2.56.0 or later.

Written 31 Oct 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.7 High, CVSS 4.0: `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`, from CNA (VulnCheck)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0043, the 37th percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:07 UTC: First seen by agentprime
- 31 Oct 2026, 14:07 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-vrqv-52x7-rm4v)

## Sources

- [GitHub Advisory Database: GHSA-vrqv-52x7-rm4v](https://github.com/advisories/GHSA-vrqv-52x7-rm4v)
- [OSV: GHSA-vrqv-52x7-rm4v](https://osv.dev/vulnerability/GHSA-vrqv-52x7-rm4v)
- <https://github.com/kimai/kimai/security/advisories/GHSA-vrqv-52x7-rm4v>
- <https://github.com/kimai/kimai>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-vrqv-52x7-rm4v>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-vrqv-52x7-rm4v/>. Everything for agents: <https://agentprime.io/llms.txt>.
