News · DiggingBeagle record

AWS Document Loader MCP path restrictions could be disabled by its configuration

AWS disclosed CVE-2026-130901 affecting Document Loader MCP 1.0.10 through 1.0.20. The issue concerns local-file containment for agent-accessible document loading, not a compromised AWS cloud service; version 1.0.21 is fixed.

Published
Nov 22, 2026

The report

An MCP document loader may expose a deliberately narrow directory to an assistant so it can summarize files without reading the rest of the host. AWS's advisory for CVE-2026-130901 describes a configuration path that could defeat that intended boundary in its Document Loader MCP server. The affected package versions are 1.0.10 through 1.0.20; version 1.0.21 is identified as fixed.

The loader's base-directory handling included an environment/configuration setting intended to control local-file access. Under the affected configuration, tools accepted paths outside the nominal document root and could read files that the server process itself was permitted to access. That does not mean an attacker gained host-root privileges; the immediate consequence is widening the files accessible through the agent-facing loading interface.

Reading a document is already an action with scope

The model may believe that it is asking to read a harmless project file. If a user, retrieved instruction or tool parameter can supply an unrestricted path, however, the loader can return local secrets or material belonging to another task into the model context. The actual authorization must be applied to canonical resolved paths at the filesystem boundary rather than delegated to the model's description of the requested document.

This differs from the Qwen-Agent storage-key issue, where path construction itself escaped the root. It also differs from Crawl4AI browser reuse, where the problem was prior client state following a new request. All three can contaminate an agent's visible context, but their prerequisites and patches are not interchangeable.

The AWS advisory establishes an affected version range and a corrective release, not a known campaign or the disclosure of a particular customer's files. Operators should verify the loader's effective root settings, the service account's file permissions and the behavior of path traversal tests under 1.0.21. A successful normal load of an allowed document alone does not prove confinement.

Research behind this