Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft document with traversal pathname
-
DeliveryVictim MCP client processes the document
-
ExploitBypass base-directory file access check
-
ExecutionRead or write files outside base dir
-
ImpactDisclose sensitive files or plant images
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a specific non-default state: DOCUMENT_BASE_DIR must be unset or empty AND one of the environment variables CI, GITHUB_ACTIONS or PYTEST_CURRENT_TEST must be present - effectively CI/CD or automated-test contexts. The attacker must get crafted document content processed by an MCP client (user interaction, UI:R), the vector is local (AV:L), and the write primitive (PNG slide images outside the base directory) exists only in 1.0.12-1.0.20 while read-outside-base affects 1.0.10-1.0.20. Limiting factors: the unusual environment-variable precondition and empty-base-dir configuration (AC:H), required victim interaction, and local access substantially narrow realistic exploitation beyond general production deployments; note that versions before 1.0.10 do not restrict access at all, and setting DOCUMENT_BASE_DIR to / also removes the restriction. |
| Impact | Vendor-assigned CVSS is 5.3 (medium) with vector AV:L/AC:H/PR:N/UI:R, and the vuln.today decision label is 'this_month' rather than act_now/emergency - so this is a genuine but non-urgent fix-on-schedule issue, not a drop-everything priority. The exploitation signals reinforce the lower-urgency read: no EPSS score was supplied, the CVE is not in CISA KEV (no confirmed active exploitation), and no public exploit or PoC reference is present in the input (no public exploit identified at time of analysis). The CVSS vector itself is internally consistent with the description: AV:L (local) and UI:R (a victim must process attacker-crafted document content through an MCP client) match the stated trigger, and AC:H reflects the unusual environmental precondition (DOCUMENT_BASE_DIR unset/empty AND a CI, GITHUB_ACTIONS or PYTEST_CURRENT_TEST variable present). One tension worth noting: PR:N (unauthenticated) combined with UI:R and a local-only vector means the practical attacker is 'context-dependent' - they supply malicious document content but rely on a victim and a specific misconfiguration, so raw unauthenticated framing overstates reach. The high-complexity precondition confines realistic impact largely to CI/test environments, which is the main reason this reads as a real-but-contained issue rather than a high-impact remote flaw. |
| Exploit ScenarioDerived | An attacker supplies crafted document content (for example a document a developer or pipeline feeds to the MCP server) that embeds a traversal pathname; when the server runs with DOCUMENT_BASE_DIR unset and a CI/GITHUB_ACTIONS/PYTEST_CURRENT_TEST variable set, the file-access check fails to confine the path and the server reads files outside the intended base directory (and in 1.0.12-1.0.20 also writes PNG slide images outside it). Local vector and required user interaction mean the victim must process the malicious document through an MCP client; no public exploit code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Directory traversal in awslabs.document-loader-mcp-server 1.0.10 through 1.0.20 lets crafted document content processed through an MCP client read files outside the intended base directory, and in 1.0.12 through 1.0.20 also write PNG slide images outside that directory. The flaw only manifests when DOCUMENT_BASE_DIR is unset or empty and one of the CI, GITHUB_ACTIONS or PYTEST_CURRENT_TEST environment variables is present, so exposure is concentrated in CI/CD and automated-test contexts; the assessed vector is AV:L/AC:H/PR:N/UI:R (CVSS 5.3, medium), reflecting local access, unauthenticated execution, required victim interaction and an unusual configuration precondition. No public exploit code or in-the-wild activity has been identified, and the vuln.today decision label is this_month - a genuine but non-urgent fix-on-schedule item, patched in 1.0.21.
RemediationAI
Vendor-released patch: upgrade awslabs.document-loader-mcp-server to 1.0.21 or later (https://pypi.org/project/awslabs.document-loader-mcp-server/1.0.21/), as directed in AWS security bulletin 2026-195 (https://aws.amazon.com/security/security-bulletins/2026-195-aws/). For users who cannot upgrade immediately, the vendor-supplied workaround is to explicitly set DOCUMENT_BASE_DIR to the directory that holds their documents so the file access checks have a concrete restriction to enforce; do not set it to /, which removes the restriction entirely. Because exploitation depends on the variable being unset or empty alongside CI, GITHUB_ACTIONS or PYTEST_CURRENT_TEST, ensuring DOCUMENT_BASE_DIR is explicitly defined in every CI pipeline and test harness closes the known precondition until the upgrade is applied. No public exploit code or active exploitation has been reported, and the decision label is this_month, so the upgrade can be scheduled in the normal patch cycle rather than treated as an emergency.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is an Amazon awslabs Model Context Protocol (MCP) server that loads documents on behalf of an MCP client, exposing file access operations to an AI/agent workflow. The root cause is CWE-22, improper limitation of a pathname to a restricted directory: the server's file access checks fail to properly confine resolved paths to the configured document root, so crafted document content can steer reads (and, in 1.0.12 through 1.0.20, PNG slide-image writes) to locations outside the base directory. The restriction is bypassed specifically when DOCUMENT_BASE_DIR is not set or is empty while a CI, GITHUB_ACTIONS or PYTEST_CURRENT_TEST environment variable is present - the code path taken in continuous-integration or automated-test environments evidently does not fall back to a safe default directory. Versions before 1.0.10 perform no base-directory restriction at all, so the affected window for read-escape is 1.0.10 through 1.0.20 and for write-escape 1.0.12 through 1.0.20. The assessed vector AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N matches the description's preconditions: local/context-dependent access, no privileges required, victim interaction to process attacker-influenced document content, high confidentiality impact from arbitrary file reads and limited integrity impact from the slide-image write primitive; availability is unaffected.
Know when Amazon gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local crafted-document trigger with a required CI/empty-base-dir precondition gives AV:L/AC:H/UI:R; arbitrary file read is C:H while only PNG writes limit integrity to I:L, no availability impact.
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
A heap-based buffer overflow in the HotSpot x86_64 Base64 decode intrinsic affects Oracle Java SE (8u511b33-perf, 17.0.2
Amazon AWS Amplify CLI before 12.10.1 incorrectly configures the role trust policy of IAM roles associated with Amplify
Improper Neutralization of audio output from 3rd and 4th Generation Amazon Echo Dot devices allows arbitrary voice comma
The CLI 1.0.0 for Amazon AWS OpenSearch has weak permissions for the configuration file. Rated critical severity (CVSS 9
Blink XT2 Sync Module firmware prior to 2.13.11 allows remote attackers to execute arbitrary commands on the device due
Blink XT2 Sync Module firmware prior to 2.13.11 allows remote attackers to execute arbitrary commands on the device due
AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define cloud infrastructure in c
opensearch-ruby is a community-driven, open source fork of elasticsearch-ruby. Rated high severity (CVSS 8.8), this vuln
Incomplete fix for CVE-2021-3100. Rated high severity (CVSS 8.8), this vulnerability is low attack complexity. Public ex
Amazon Amazon WorkSpaces agent is affected by Integer Overflow. Rated high severity (CVSS 8.8), this vulnerability is lo
EUVD-2026-131729
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB