CVE-2026-130901
JSON

5.8medium

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

Severity
5.8medium CVSS:4.0 by AMZN
Exploit likelihood
0.32% (higher than 27% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
AMZN

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.

Affected

Product or packageVersionsReported by
Amazon document-loader-mcp-serverfrom 1.0.10 before 1.0.21CVE List

All scores

AMZN5.3medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
AMZN5.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Classification

CWE-22CWE-489

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-130901 changed 2026-11-20CVE Terms of Use
NVDCVE-2026-130901 changed 2026-11-24Public domain