← VULNERABILITIES

CVE-2026-130901

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

Medium · 5.8Fix available
CVSS
5.8
EPSS
0.17% (p3)
Published
2026-11-20
Age
11d old
Modified
2026-11-24
Product
Amazon document-loader-mcp-server

CVSS:4.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

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.

Fixed in

1.0.21

Affected packages

EcosystemPackageRangeFixed
vendordocument-loader-mcp-server>=1.0.10, <1.0.211.0.21

Sources

  • NVD · first seen 11d ago · NVD terms of use
  • CVE List · first seen 11d ago · CVE Terms of Use

References

JSON