CVE-2026-130901
published medium CVSS 4.0 · 5.8Improper limitation of a pathname to a restricted directory in Amazon awslabs.document-loader-mcp-server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon | — | document-loader-mcp-server1.0.10 to < 1.0.21 · Other versions: unaffected | Affected | Not stated | AMZN |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- AMZN · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | AMZN · cna | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Amazon | document-loader-mcp-server | 1.0.10 to < 1.0.21 (affected · custom)Default: unaffected | AMZN · cna |
Weaknesses
2- CWE-22 CWE-22 Improper limitation of a pathname to a restricted directory ('path traversal')
- CWE-489 CWE-489 Active debug code
References
2Provider assertions
2AMZN · cna
Improper limitation of a pathname to a restricted directory in Amazon awslabs.document-loader-mcp-server
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d188545e3d5a36864f27db8353b536f90447857a430f7c0f4318a10b6fc77a9c
- Ingested
- 20 Nov 2026, 18:53:42 UTC
- Source record
- Official CVE record