Skip to content
MediumVulnerability

CVE-2026-130901: Amazon awslabs.document-loader-mcp-server path traversal in file access checks

Identifier
CVE-2026-130901
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Improper pathname limitation in the file access checks of awslabs.document-loader-mcp-server versions 1.0.10 through 1.0.20 lets an actor use crafted document content processed by an MCP client to read files outside the intended base directory. In versions 1.0.12 through 1.0.20 the actor can also write PNG slide images outside that directory. The flaw applies when DOCUMENT_BASE_DIR is unset or empty and the CI, GITHUB_ACTIONS or PYTEST_CURRENT_TEST environment variable is present.

Mitigation

Upgrade to version 1.0.21 or later. If an immediate upgrade is not possible, set DOCUMENT_BASE_DIR to the directory that holds the documents, and do not set it to /, which removes the restriction.