CVE-2026-130901
AWS Document Loader MCP could bypass its base-directory restriction
Amazon · document-loader-mcp-server
First documented disclosure · Review checkpoint
Summary
CI/test environment variables could disable the intended file boundary.
Severity and exploitation evidence
Medium · 5.8/10 · CVSS 4.0. Severity source.
Exploitation not established: Public evidence describes a weakness, source correction or controlled demonstration; malicious exploitation against users is not established.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
With DOCUMENT_BASE_DIR unset or empty, environment detection bypasses the default containment check.
Conditions required
Crafted document content processed by an MCP client, unset/empty DOCUMENT_BASE_DIR, and CI, GITHUB_ACTIONS or PYTEST_CURRENT_TEST present.
Potential impact
Reads of supported files outside the base; 1.0.12–1.0.20 also permit PNG slide-image writes outside it.
Affected versions and configurations
1.0.10–1.0.20; releases before 1.0.10 had no base-directory restriction.
Fix and mitigation status
1.0.21.
Practical next steps
Upgrade; explicitly set DOCUMENT_BASE_DIR to the document directory, never /. Patch derivative code too.
Operating lesson
Test flags must not disable security boundaries in deployed services.
Evidence and limits
Amazon CVSS 3.1 5.3 and CVSS 4.0 5.8 are separate assessments. PyPI1.0.21 was uploaded September 1; original security bulletin was November 20 10:30PST. CNA publication 2026-11-20 is distinct from the earliest reviewed public source. AMZN assessment: CVSS 3.1 5.3; CVSS 4.0 5.8.
Sources
- AMZN CVE authority record
Primary source ·
- Amazon security bulletin2026-195-AWS
Primary source ·