Package vulnerability, severity medium
AWS Labs Document Loader MCP Server path traversal (CVE-2026-130901) allows file read and write outside base directory
Published
CVE-2026-130901 affects awslabs.document-loader-mcp-server versions 1.0.10 through 1.0.20. When DOCUMENT_BASE_DIR is unset or empty and CI or test environment variables are present, the base directory restriction is not enforced. An actor who can influence processed documents could read supported files outside the intended directory, and in versions 1.0.12 through 1.0.20 could also write PNG slide images to other directories.
What's affected
- awslabs.document-loader-mcp-server (pypi)>=1.0.10 <1.0.21
What to do
- Upgrade awslabs.document-loader-mcp-server to version 1.0.21 or later
- Patch any forked or derivative code to incorporate the fixes
- If you cannot upgrade immediately, set DOCUMENT_BASE_DIR to the directory that holds your documents, and do not set it to /
Check whether you were affected
To check a machine, run this in Claude Code with the Pharon plugin, in the repository that uses it. The check is free and needs no account:
/pharon:check-incident awslabs-document-loader-mcp-server-path-traversal-2026-11Don't wait for the next one to reach the news. Pharon tells the team that owns the affected repo within minutes. Free for 7 days, no card.
Get alerted for the next oneReferences
Notice awslabs-document-loader-mcp-server-path-traversal-2026-11, signed with key feed-prod-2026-10 (Ed25519). The Pharon CLI verifies the signature before using a notice.