cvelo
P3 · MediumCVSS 5.3EPSS 0.3%

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

  • CVE-2026-130901
  • EUVD-2026-131729

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.

Text from the CVE.org record.

Recommendation

  • Amazon document-loader-mcp-server

    • If you run 1.0.xupdate to 1.0.21 or laterPatch update: breaking changes are unlikely

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Amazon document-loader-mcp-server

    Affected versionsFixed in
    from 1.0.10 to before 1.0.211.0.21

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.