{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.58.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "31a8f887a5cda517db7b4320a7ad997c87d08601"
            }
          ],
          "repo": "https://github.com/kimai/kimai",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-xv4r-4885-gwpg"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-285",
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52825.json"
  },
  "details": "Kimai is an open-source time tracking application. Prior to 2.58.0, POST /api/teams/{id}/members/{userId} and POST /api/teams/{id}/activities/{activityId} verify that a teamlead may edit the Team but do not verify access_user for the referenced User or view access for the referenced Activity. A teamlead can add users or activities outside the teamlead's manageable scope to an editable team, bypassing the narrower choices enforced by TeamEditForm and UserRepository::getQueryBuilderForFormType(). The resulting relationships can be trusted by RolePermissionManager::checkTeamAccessActivity() and other team-based authorization, visibility, reporting, and workflow logic. This issue is fixed in version 2.58.0.",
  "id": "CVE-2026-52825",
  "modified": "2026-09-16T03:30:34.712795229Z",
  "published": "2026-09-15T10:39:15.019Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52825.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kimai/kimai/commit/31a8f887a5cda517db7b4320a7ad997c87d08601"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kimai/kimai/pull/5952"
    },
    {
      "type": "WEB",
      "url": "https://github.com/kimai/kimai/releases/tag/2.58.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/kimai/kimai/security/advisories/GHSA-xv4r-4885-gwpg"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52825"
    },
    {
      "type": "WEB",
      "url": "https://www.kimai.org/en/security/ghsa-xv4r-4885-gwpg"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Kimai: Improper Authorization in Kimai Team Member and Team Activity Assignment APIs Allows Expansion of Team Scope Beyond Authorized Visibility"
}