Skip to content

document-loader-mcp-server

Improper limitation of a pathname to a restricted directory in Amazon awslabs.document-loader-mcp-server

CVE-2026-130901Published 20 Nov 2026, 18:37 UTC

Real-world risk

1.1/ 10Low

Routine

If the vulnerable configuration applies to you: 2.4

PreliminaryFrom the CVSS vector only · confidence low

CVSS

5.8

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from AMZN)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
document-loader-mcp-serverNiche>= 1.0.10, < 1.0.211.0.21

What to do

Update to a fixed version: 1.0.21.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.3% chance of exploitation in 30 days (percentile 27), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.158
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 0.1575 × threat 0.851.071
  4. Rounded to one decimal between 0.1 and 101.1

How the score works

Exploitation and evidence timeline

  1. 20 Nov 2026 Published
  2. 3 Dec 2026 Risk 1.1 (cvss fallback)

Weakness

CWE-22, CWE-489

References

Get alerts for document-loader-mcp-server

Free email or text alerts when a vulnerability in document-loader-mcp-server reaches risk 8 or higher. Nothing else.