# CVE-2026-130901: Improper limitation of a pathname to a restricted directory in Amazon awslabs.document-loader-mcp-server

- Severity: Medium 5.8 (CVSS:4.0, scored by AMZN) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-11-20T18:37:54.859Z
- Modified: 2026-11-24T15:05:47.063Z
- Weaknesses: CWE-22, CWE-489
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Amazon document-loader-mcp-server: from 1.0.10 before 1.0.21

## Every score

- AMZN: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N`
- AMZN: CVSS:4.0 5.8 Medium `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`

## References

- <https://pypi.org/project/awslabs.document-loader-mcp-server/1.0.21/> (patch, release-notes)
- <https://aws.amazon.com/security/security-bulletins/2026-195-aws/> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-130901](https://www.cve.org/CVERecord?id=CVE-2026-130901), CVE Terms of Use, modified 2026-11-20
- NVD: [CVE-2026-130901](https://nvd.nist.gov/vuln/detail/CVE-2026-130901), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-130901 · Whole record: https://cve.day/CVE-2026-130901.json · Rebuilt by cve.day 2026-11-25T22:59:52.453Z
