AWS Document Loader MCP Server: CVE-2026-130901 can let someone who influences the documents an MCP client processes read files outside the intended base directory; fixed in 1.0.21
AWS security bulletin 2026-195-AWS (published 11/20/2026 10:30 AM PST, 02:30 21 Nov Perth) describes CVE-2026-130901 in Document Loader MCP Server (awslabs.document-loader-mcp-server), an open-source Model Context Protocol server that lets AI assistants parse and extract content from PDF, Office and image files on the local filesystem (source: AWS).
AWS says that in 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, which might allow an actor who can influence the documents an MCP client processes to read supported files outside the intended directory, and in versions 1.0.12 through 1.0.20 to write PNG slide images to other directories (source: AWS). The CVE record names the CI, GITHUB_ACTIONS and PYTEST_CURRENT_TEST environment variables and scores the flaw CVSS 3.1 5.3 Medium (source: CVE record).
AWS rates the bulletin Important, says the issue is fixed in version 1.0.21, and says users who cannot upgrade immediately should set DOCUMENT_BASE_DIR to the directory that holds their documents and not set it to / (source: AWS).
- Product
- AWS Document Loader MCP Server (awslabs.document-loader-mcp-server, open source)
- Versions
- Affected (AWS): versions 1.0.10 up to but not including 1.0.21; fixed in 1.0.21
- CVSS
- Medium (CVSS 3.1, CVE record); AWS bulletin rated Important
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N - Exploited in Australia?
- unknown
- Patch to
- Upgrade awslabs.document-loader-mcp-server to 1.0.21 or later and patch any forked or derivative code; if you cannot upgrade immediately, set DOCUMENT_BASE_DIR to the directory that holds your documents (not /), per AWS.
- Primary: AWS — CVE-2026-130901 - Improper limitation of a pathname to a restricted directory in Amazon awslabs.document-loader-mcp-server (Bulletin 2026-195-AWS, 20 Nov 2026 10:30 AM PST)
- CVE: CVE-2026-130901
- Source: CVE Record — CVE-2026-130901 (CNA: Amazon, published 21 Nov 2026 02:37 AWST (20 Nov 18:37 UTC))
