{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.57.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "976d38e8a4485a1c923ee7b5841849e91a06e849"
            },
            {
              "fixed": "09b7adaa062d4843afa882fc1343800467a6125d"
            }
          ],
          "repo": "https://github.com/kimai/kimai",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-vrr2-g9gh-c3jc"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52820.json"
  },
  "details": "Kimai is an open-source time tracking application. Prior to 2.57.0, PATCH /api/timesheets/{id} and POST /api/timesheets accept a user-controlled project identifier through TimesheetApiEditForm and FormTrait, and ProjectRepository::getQueryBuilderForFormType() places that identifier in an unconditional OR branch that bypasses the team access criteria. Any authenticated user with edit_own_timesheet can therefore assign an owned timesheet to a project outside the user's teams, persist unauthorized project attribution, and retrieve project and customer metadata through GET /api/timesheets/{id}?full=true. TimesheetTeamAccessValidator now checks changed project and activity associations against current team access. This issue is fixed in version 2.57.0.",
  "id": "CVE-2026-52820",
  "modified": "2026-09-17T03:30:36.851959945Z",
  "published": "2026-09-15T10:37:17.720Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/kimai/kimai/releases/tag/2.57.0"
    },
    {
      "type": "WEB",
      "url": "https://www.kimai.org/en/security/ghsa-vrr2-g9gh-c3jc"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52820.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/kimai/kimai/security/advisories/GHSA-vrr2-g9gh-c3jc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52820"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kimai/kimai/commit/976d38e8a4485a1c923ee7b5841849e91a06e849"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kimai/kimai/pull/5929"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Kimai: Timesheet PATCH/POST allows assigning to project outside user's team via query_builder OR-bypass"
}