CVE-2026-130901: Improper limitation of a pathname to a restricted directory in Amazon awslabs.document-loader-mcp-server
Affects document-loader-mcp-serverSource AWS Security Bulletins
Not known to be exploited · CVSS 5.3 Medium · fixed in 1.0.21 : update document-loader-mcp-server when convenient.
Data as of 20 Nov 2026, 19:32 UTC
Thin evidence
One scorer or none| CNA (AMZN) | CVSS 3.1 | 5.3 |
|---|---|---|
| CNA (AMZN) | CVSS 4.0 | 5.8 |
- Patch
- Available – fixed in 1.0.21
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npm@awslabs/document-loader-mcp-serverpkg:npm/@awslabs/document-loader-mcp-serverOther threats | Affected– | Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in version 1.0.21 or later, which addresses the improper pathname limitation. Users should upgrade to version 1.0.21 or newer to remediate this vulnerability. Since this is not a cloud service, manual patching is required. No vendor advisory content was provided to indicate alternative mitigations or temporary fixes.
Description
CVE-2026-130901 is a vulnerability in Amazon awslabs.document-loader-mcp-server versions 1.0.10 through 1.0.20 that allows improper limitation of pathname to a restricted directory. This flaw can enable a context-dependent actor, via crafted document content processed by an MCP client, to read files outside the intended base directory. Additionally, in versions 1.0.12 through 1.0.20, the vulnerability allows writing PNG slide images outside the base directory. The issue arises when the DOCUMENT_BASE_DIR environment variable is not set or empty and certain environment variables like CI, GITHUB_ACTIONS, or PYTEST_CURRENT_TEST are present. Versions before 1.0.10 do not restrict file access to a base directory at all.