{"id":"CVE-2026-111364","summary":"MinDoc through 2.2-beta.2 IDOR via /api/:key/content/:id GET Branch","details":"MinDoc through 2.2-beta.2 contains an insecure direct object reference vulnerability in DocumentController.Content that allows authenticated users to read documents from unauthorized books. Attackers holding a non-observer role on any book can name that book and iterate sequential document ids to read markdown and HTML from private books.","modified":"2026-10-17T02:48:26.536928906Z","published":"2026-10-15T21:43:48.449Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111364.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-639"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111364.json"},{"type":"ADVISORY","url":"https://hackmd.io/@hieuPenguinnn/mindoc-api-content-get-cross-book-document-idor"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111364"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/mindoc-through-2.2-beta.2-idor-via-api-key-content-id-get-branch"},{"type":"PACKAGE","url":"https://github.com/mindoc-org/mindoc"},{"type":"ARTICLE","url":"https://github.com/mindoc-org/mindoc/blob/v2.2-beta.2/controllers/DocumentController.go#L847-L973"},{"type":"ARTICLE","url":"https://github.com/mindoc-org/mindoc/blob/v2.2-beta.2/routers/router.go#L242"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mindoc-org/mindoc","events":[{"introduced":"0"},{"fixed":"a7705388af2d3e8c3ce09b0667fe985847b1546b"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"2.2-beta.2"},{"fixed":"2.2-beta.2"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["v2.2-beta.1","v2.1","v2.1-beta.6","v2.1-beta.5","v2.1-beta.1","v2.0","v2.0-beta.2","v2.0-beta.1","v1.0.2","v1.0.1","v1.0","v0.13.4","v0.13.3","v0.13.2","v0.13.1","v0.13","v0.12","v0.11","v0.10.1","v0.10","v0.9","v0.8.1","v0.8","v0.7.3","v0.7.2","v0.7.1","v0.7","v0.5.1","v0.5","v0.4","v0.3","v0.1.2","v0.1.1","v0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111364.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}