Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-111364 Overview
CVE-2026-111364 is an insecure direct object reference (IDOR) vulnerability affecting MinDoc through version 2.2-beta.2. The flaw resides in the DocumentController.Content handler, which fails to verify that an authenticated user has permission to access the requested document before returning its contents. Any authenticated user holding a non-observer role on any book can supply that book's identifier and iterate sequential document IDs to retrieve markdown and HTML content from unrelated private books. The weakness is tracked as CWE-639: Authorization Bypass Through User-Controlled Key.
Critical Impact
Authenticated low-privilege users can read private documents across book boundaries, exposing confidential content stored in MinDoc knowledge bases.
Affected Products
- MinDoc versions up to and including 2.2-beta.2
- DocumentController.Content endpoint defined in controllers/DocumentController.go
- Content API route registered in routers/router.go
Discovery Timeline
- 2026-10-15 - CVE-2026-111364 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-111364
Vulnerability Analysis
MinDoc is an open-source documentation platform written in Go that organizes content into books composed of individual documents. The DocumentController.Content function, defined around lines 847-973 of controllers/DocumentController.go in the v2.2-beta.2 tag, handles API requests for document content. The handler resolves the requested book by the user-supplied book identifier and verifies that the caller holds some role on that book. It then loads the document specified by the content ID without verifying that the document actually belongs to the resolved book.
Because document identifiers are sequential integers assigned globally rather than scoped to a single book, an attacker can enumerate the ID space and read documents from books they never joined. The handler returns both the markdown source and the rendered HTML, exposing the full document body.
Root Cause
The root cause is a missing cross-object authorization check. The controller treats permission on the named book as sufficient authority to read any document ID submitted in the same request, rather than validating that the document's parent book matches the one the user is authorized against.
Attack Vector
An attacker first registers or logs in with any account that holds a non-observer role on at least one book. The attacker then issues requests to the content API endpoint, passing the identifier of a book they legitimately access along with sequential document IDs belonging to private books. The server returns markdown and HTML for each matching document regardless of the actual owning book. Exploitation requires only network reachability to the MinDoc instance and low-privileged authentication. See the VulnCheck Advisory on MinDoc and the HackMD MinDoc API analysis for request-level details.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-111364
Indicators of Compromise
- Sequential document ID enumeration patterns in MinDoc access logs originating from a single authenticated session
- Content API requests where the submitted book identifier does not correspond to the book that owns the returned document
- Spikes in DocumentController.Content responses to accounts with limited book membership
Detection Strategies
- Instrument the MinDoc application or reverse proxy to log the book ID, document ID, and resolved document's owning book for every content request, then alert when these diverge
- Baseline normal per-user document read volume and flag accounts that access an unusually high number of distinct document IDs in a short window
- Correlate authentication events with content API activity to surface newly created low-privilege accounts performing broad enumeration
Monitoring Recommendations
- Forward MinDoc web and application logs to a centralized analytics platform for retention and query
- Monitor for HTTP 200 responses to content requests with monotonically increasing document ID parameters
- Review audit trails for role assignments granting non-observer access to self-registered users
How to Mitigate CVE-2026-111364
Immediate Actions Required
- Restrict MinDoc access to trusted networks or require VPN access until a patched release is deployed
- Disable self-service registration and audit existing accounts that hold non-observer roles on any book
- Review book membership and remove unnecessary editor or administrator roles that are not required for day-to-day work
Patch Information
No fixed version was identified in the enriched CVE data at the time of publication. Track the MinDoc GitHub repository and the VulnCheck advisory for a vendor fix that enforces cross-book authorization inside DocumentController.Content.
Workarounds
- Place MinDoc behind an authenticating reverse proxy that limits which users can reach the content API
- Apply a local source patch to controllers/DocumentController.go that validates the resolved document's book_id matches the requested book before returning content
- Segment sensitive documentation into a separate MinDoc instance with a tightly controlled user roster
# Example reverse proxy restriction for the vulnerable route
location ~ ^/api/.*/content {
allow 10.0.0.0/8;
deny all;
proxy_pass http://mindoc_upstream;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

