Path Traversal in Amazon Document-Loader-Mcp-Server
CVE-2026-130901
- CVSS v3
- 5.3 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 25.7th percentile
- Published
- 2026-11-20
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N.
- Attack Vector
- Local
AV:L - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 25.7th percentile (last changed ). About EPSS.
Affected products
Weakness classification (CWE)
References
- pypi.org/project/awslabs.document-loader-mcp-server/1.0.21/ (release-notes, patch)
- aws.amazon.com/security/security-bulletins/2026-195-aws/ (vendor-advisory)