CVE-2026-130901

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

State
Published
Severity
5.8 Medium
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Nov 17, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.8 MediumCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:NAMZN
3.15.3 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:NAMZN

Weaknesses

  • CWE-22 Improper limitation of a pathname to a restricted directory ('path traversal')
  • CWE-489 Active debug code

Affected Products

ProductVersions
document-loader-mcp-serverAmazon
  • 1.0.10 to before 1.0.21Affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.