{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "260601-a7d098548"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a7d098548ef1414f54b736fe4c27764cfbc6e752"
            }
          ],
          "repo": "https://github.com/photoprism/photoprism",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57945.json"
  },
  "details": "PhotoPrism before 260601-a7d098548 contains a broken access control vulnerability that allows authenticated non-admin users to modify other users' profile information by sending requests to arbitrary user endpoints. Attackers can exploit the missing session-to-user identifier validation in the PUT users API endpoint to overwrite another user's profile details without authorization.",
  "id": "CVE-2026-57945",
  "modified": "2026-07-16T03:31:03.482187458Z",
  "published": "2026-06-29T17:18:05.557Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57945.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/photoprism/photoprism/releases/tag/260601-a7d098548"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57945"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/photoprism-unauthorized-user-profile-modification-via-put-api-v1-users-uid-endpoint"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/photoprism/photoprism/issues/5619"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/photoprism/photoprism"
    }
  ],
  "schema_version": "1.8.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": "PhotoPrism - Unauthorized User Profile Modification via PUT /api/v1/users/{uid} Endpoint"
}