{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.2.0"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "0.2.0"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "8d8a583dc953cdba1f587481d38f047a9958b244"
            }
          ],
          "repo": "https://github.com/openhealthforall/open-health",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-306"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111312.json"
  },
  "details": "OpenHealth through 0.2.0 contains a missing authentication and authorization vulnerability in the /api/health-data/[id] GET, PATCH and DELETE handlers that query records by id without session or authorId checks. Unauthenticated attackers who know a HealthData record id can read another user's medical record data and file metadata, overwrite it with arbitrary JSON, or delete it.",
  "id": "CVE-2026-111312",
  "modified": "2026-10-20T10:30:49.785253396Z",
  "published": "2026-10-15T21:43:28.153Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111312.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://hackmd.io/@hieuPenguinnn/open-health-health-data-id-missing-auth-idor"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111312"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/openhealth-through-0.2.0-missing-authentication-via-api-health-data-id-route"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/OpenHealthForAll/open-health"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/OpenHealthForAll/open-health/blob/v0.2.0/src/app/api/health-data/%5Bid%5D/route.ts#L13-L43"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/OpenHealthForAll/open-health/blob/v0.2.0/src/middleware.ts#L20"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "OpenHealth through 0.2.0 Missing Authentication via /api/health-data/[id] Route"
}