{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.51.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a0601c8cb28fed1cca19051a8272425069ab758f"
            }
          ],
          "repo": "https://github.com/kevinpapst/kimai2",
          "type": "GIT"
        }
      ]
    },
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a0601c8cb28fed1cca19051a8272425069ab758f"
            }
          ],
          "repo": "https://github.com/kimai/kimai",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-v33r-r6h2-8wr7"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-285"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28685.json"
  },
  "details": "Kimai is a web-based multi-user time-tracking application. Prior to version 2.51.0, \"GET /api/invoices/{id}\" only checks the role-based view_invoice permission but does not verify the requesting user has access to the invoice's customer. Any user with ROLE_TEAMLEAD (which grants view_invoice) can read all invoices in the system, including those belonging to customers assigned to other teams. This issue has been patched in version 2.51.0.",
  "id": "CVE-2026-28685",
  "modified": "2026-04-01T23:09:09.799820564Z",
  "published": "2026-03-06T04:49:08.312Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/kimai/kimai/releases/tag/2.51.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28685.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/kimai/kimai/security/advisories/GHSA-v33r-r6h2-8wr7"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-28685"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kimai/kimai/commit/a0601c8cb28fed1cca19051a8272425069ab758f"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Kimai: API invoice endpoint missing customer-level access control (IDOR)"
}