Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-130901: medium-severity vulnerability (CVSS 5.8) in Amazon document-loader-mcp-server.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 5.8.
Affected products and versions
Amazon document-loader-mcp-server >= 1.0.10, < 1.0.21
| Product | Versions | Fixed in |
|---|---|---|
| Amazon document-loader-mcp-server | >= 1.0.10, < 1.0.21 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://pypi.org/project/awslabs.document-loader-mcp-server/1.0.21/ — CVE Program
- https://aws.amazon.com/security/security-bulletins/2026-195-aws/ — CVE Program
Weaknesses (CWE): CWE-22, CWE-489
Relevant change history
Published
Preliminary advisory published.