CVE-2026-130901 - Improper limitation of a pathname to a restricted directory in Amazon awslabs.document-loader-mcp-server
Bulletin ID: 2026-195-AWS
Scope: AWS
Content Type: Important (requires attention)
Publication Date: 11/20/2026 10:30 AM PST
Description:
Document Loader MCP Server is an open-source Model Context Protocol (MCP) server that lets AI assistants parse and extract content from PDF, Office and image files on the local filesystem.
We identified CVE-2026-130901, an issue in Document Loader MCP Server versions 1.0.10 through 1.0.20. When DOCUMENT_BASE_DIR is not set or is empty and the server runs with continuous integration or test environment variables present, the default base directory restriction is not enforced. This might allow an actor who can influence the documents an MCP client processes to read supported files outside the intended directory. In versions 1.0.12 through 1.0.20, it might also allow them to write PNG slide images to other directories.
Impacted versions: >= 1.0.10 AND < 1.0.21
Resolution:
This issue has been addressed in awslabs.document-loader-mcp-server version 1.0.21. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.
Workarounds:
If you cannot upgrade immediately, set DOCUMENT_BASE_DIR to the directory that holds your documents. Do not set it to /, which removes the restriction.
References:
Acknowledgement:
We would like to thank Rishaank Gupta for collaborating on this issue through the coordinated disclosure process.
Please email aws-security@amazon.com with any s ecurity questions or concerns.