CVE-2026-130901 is a vulnerability in Amazon awslabs.document-loader-mcp-server versions 1.0.10 through 1.0.20 that allows improper limitation of pathname to a restricted directory. This flaw can enable a context-dependent actor, via crafted document content processed by an MCP client, to read files outside the intended base directory. Additionally, in versions 1.0.12 through 1.0.20, the vulnerability allows writing PNG slide images outside the base directory. The issue arises when the DOCUMENT_BASE_DIR environment variable is not set or empty and certain environment variables like CI, GITHUB_ACTIONS, or PYTEST_CURRENT_TEST are present. Versions before 1.0.10 do not restrict file access to a base directory at all.