CVE-2026-130901 Improper limitation of a pathname to a restricted directory in Amazon awslabs.document-loader-mcp-server
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
Improper limitation of a pathname to a restricted directory in the file access checks in Amazon awslabs.document-loader-mcp-server 1.0.10 through 1.0.20 might allow a context-dependent actor, via crafted document content processed by an MCP client, to read files outside the intended base directory and, in 1.0.12 through 1.0.20, to write PNG slide images outside it. This occurs when DOCUMENT_BASE_DIR is not set or is empty and the CI, GITHUB_ACTIONS or PYTEST_CURRENT_TEST environment variable is present. Versions before 1.0.10 do not restrict file access to a base directory.
To remediate this issue, users should upgrade to version 1.0.21 or later. Users who cannot upgrade immediately can set DOCUMENT_BASE_DIR to the directory that holds their documents. Do not set it to /, which removes the restriction.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Amazon document-loader-mcp-server | >= 1.0.10, < 1.0.21 | 1.0.21 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Amazon document-loader-mcp-server | >= 1.0.10, < 1.0.21 | 1.0.21 |
References
- aws.amazon.com vendor-advisory
- pypi.org patch release-notes
- ENISA EUVD EUVD-2026-131729 third-party-advisory