{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.59.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "87c85270a98899e6545108cbb9f41103ec6ea312"
            },
            {
              "fixed": "8ed666c0eb03c97aa82df109edb8929566fe5f99"
            }
          ],
          "repo": "https://github.com/kimai/kimai",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-v8hx-4vx8-wc96"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-287"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52827.json"
  },
  "details": "Kimai is an open-source time tracking application. Prior to 2.59.0, the KIMAI_SESSION cookie issued after password verification but before TOTP completion is accepted by every /api route because config/packages/security.yaml protects the API with IS_AUTHENTICATED and App\\API\\Authentication\\ApiRequestMatcher routes an existing session through the main firewall. A Scheb TwoFactorToken satisfies that access rule, and App\\Voter\\ApiVoter grants API access to its User, allowing an attacker with a valid account password to use authenticated REST API operations without entering the second factor even though web routes remain blocked. This issue is fixed in version 2.59.0.",
  "id": "CVE-2026-52827",
  "modified": "2026-09-18T03:30:53.853212158Z",
  "published": "2026-09-15T10:45:03.605Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/kimai/kimai/releases/tag/2.59.0"
    },
    {
      "type": "WEB",
      "url": "https://www.kimai.org/en/security/ghsa-v8hx-4vx8-wc96"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52827.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/kimai/kimai/security/advisories/GHSA-v8hx-4vx8-wc96"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52827"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kimai/kimai/commit/87c85270a98899e6545108cbb9f41103ec6ea312"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kimai/kimai/pull/5957"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Kimai: Two-factor authentication bypass on the Kimai API"
}