Improper Pathname Limitation in Amazon Document Loader MCP Server
CVE-2026-130901
5.8MEDIUM
What is CVE-2026-130901?
The Amazon document-loader-mcp-server versions 1.0.10 to 1.0.20 exhibit an improper limitation of pathnames, which may allow context-dependent actions for reading files outside the designated directory. This vulnerability arises when the DOCUMENT_BASE_DIR is not specified or empty, coupled with the presence of specific environment variables such as CI, GITHUB_ACTIONS, or PYTEST_CURRENT_TEST. In versions 1.0.12 through 1.0.20, it also permits writing PNG slide images beyond the intended area. Users are encouraged to upgrade to version 1.0.21 or higher to mitigate this issue, or configure DOCUMENT_BASE_DIR to the folder containing their documents, avoiding setting it to the root directory.
Affected Version(s)
document-loader-mcp-server 1.0.10 < 1.0.21
