Read the docs

Path traversal in Amazon document-loader-mcp-server reads files

Priority LOW 25CWE-22Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Amazon awslabs.document-loader-mcp-server from 1.0.10 before 1.0.21 fails to keep file paths inside its base directory (CWE-22). A context-dependent attacker can use crafted document content processed by an MCP client to read files outside that directory, and in 1.0.12 through 1.0.20 to write PNG slide images there. This applies when DOCUMENT_BASE_DIR is unset or empty and the CI, GITHUB_ACTIONS or PYTEST_CURRENT_TEST variable is present.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00167 3rd percentileScored 2026-11-30
Fix Fixed document-loader-mcp-server (Amazon): 1.0.21

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
AWSdocument-loader-mcp-server1.0.10 to before 1.0.211.0.21Patch availableCNA
  • document-loader-mcp-server VendorAWS Affected 1.0.10 to before 1.0.21 Fixed in 1.0.21 Patch available CNA

Remediation

Upgrade Amazon awslabs.document-loader-mcp-server to version 1.0.21 or later, which fixes the flaw. Users who cannot upgrade immediately can set DOCUMENT_BASE_DIR to the directory that holds their documents, but not to /, which removes the restriction.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

  • Fix · CNA document-loader-mcp-server (Amazon) Fixed in 1.0.21

Timeline

  1. 2026-11-20 Threatist record created from CVE-2026-130901
  2. 2026-11-20 CISA SSVC decision points changed

References

  • TI-2026-23989 Incorrect resource transfer in Linux kernel algif_aead KEVCVSS 3.1HIGH 7.8
  • TI-2023-23979 HTTP/2 request cancellation lets attackers exhaust server resources KEVCVSS 3.1HIGH 7.5
  • TI-2024-18648 Amazon AWS Amplify CLI before 12.10.1 incorrectly configures the role trust policy of IAM… CVSS 3.1CRITICAL 9.8
  • TI-2025-03847 Input validation issue in AWS Amplify Studio UI component properties CVSS 4.0CRITICAL 9.0
  • TI-2026-11603 HTTP/2 Stream Parser Confusion Body-Inspection Bypass in Amazon CloudFront with AWS WAF CVSS 4.0HIGH 7.9
  • TI-2026-93186 Heap-based buffer overflow in Oracle Java SE and GraalVM Compiler CVSS 3.1HIGH 8.1
See all 414 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences