CVE-2026-130901
Improper limitation of a pathname to a restricted directory in Amazon awslabs.document-loader-mcp-server
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.
INFO
Published Date :
Nov. 20, 2026, 7:18 p.m.
Last Modified :
Nov. 20, 2026, 7:18 p.m.
Remotely Exploit :
No
Source :
ff89ba41-3aa1-4d27-914a-91399e9639e5
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | ff89ba41-3aa1-4d27-914a-91399e9639e5 | ||||
| CVSS 3.1 | MEDIUM | MITRE-CVE | ||||
| CVSS 4.0 | MEDIUM | ff89ba41-3aa1-4d27-914a-91399e9639e5 | ||||
| CVSS 4.0 | MEDIUM | ff89ba41-3aa1-4d27-914a-91399e9639e5 |
Solution
- Upgrade document-loader-mcp-server to version 1.0.21 or later.
- Set DOCUMENT_BASE_DIR to the document directory.
- Avoid setting DOCUMENT_BASE_DIR to /.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-130901.
| URL | Resource |
|---|---|
| https://aws.amazon.com/security/security-bulletins/2026-195-aws/ | |
| https://pypi.org/project/awslabs.document-loader-mcp-server/1.0.21/ |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-130901 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-130901
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-130901 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-130901 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by ff89ba41-3aa1-4d27-914a-91399e9639e5
Nov. 20, 2026
Action Type Old Value New Value Added 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. Added CVSS V4.0 AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N Added CWE CWE-22 Added CWE CWE-489 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/130xxx/CVE-2026-130901.json">CVE-2026-130901</a> Added Reference https://aws.amazon.com/security/security-bulletins/2026-195-aws/ Added Reference https://pypi.org/project/awslabs.document-loader-mcp-server/1.0.21/ -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 20, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-130901', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-11-20T18:48:34.016280Z'}