CVE-2026-130901: Improper limitation of a pathname to a restricted directory in Amazon awslabs.document-loader-mcp-server

Published Nov 20, 2026
·
Updated

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 DOCUMENTBASEDIR is not set or is empty and the CI, GITHUBACTIONS or PYTESTCURRENTTEST 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 DOCUMENTBASEDIR to the directory that holds their documents. Do not set it to /, which removes the restriction.

Affected Software

0 affected components

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.0.21
  2. Configuration

    Set DOCUMENT_BASE_DIR to the directory that holds your documents; do not set it to /, which removes the restriction.

    DOCUMENT_BASE_DIR = directory that holds your documents

Event History

Nov 20, 2026
CVE Published
via MITRE·06:37 PM
Data Sourced
via MITRE·06:37 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:18 PM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203