// Security Advisory Triage

mcp-sanitizer permits arbitrary user-home absolute paths through 1.3.x

GitHub advisories — npm · published 2026-10-31 05:44 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDGitHub published GHSA-7w82-6f9j-v9jp on 28 October 2026, rating a path traversal vulnerability in mcp-sanitizer as high severity. Versions before 1.4.0 permit arbitrary absolute paths in user-home contexts when sanitizing file paths.
WHY IT MATTERSServices using mcp-sanitizer to validate untrusted file paths can be bypassed, allowing an attacker to reference files outside intended directories. This breaks the sanitizer's core security guarantee.
WHAT TO DOUpgrade mcp-sanitizer to 1.4.0 or later. Check package.json and lock files for direct and transitive dependencies on mcp-sanitizer <1.4.0.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-7w82-6f9j-v9jp
+summary: mcp-sanitizer: File Path Sanitizer Permits Arbitrary User-Home Absolute Paths
+severity: high
+published_at: 2026-10-28T19:51:34Z
+cve_id:
+vulnerabilities[].package.name: mcp-sanitizer
+vulnerabilities[].first_patched_version: 1.4.0
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.72, needed 0.5
triage reasoningNew high-severity advisory on npm package affecting path sanitization—a common dependency in services processing untrusted input.
signalsnew advisory published · high severity rating · npm package with first_patched_version specified · path traversal/sanitization bypass class (arbitrary absolute paths) · mcp-sanitizer is a utility likely in dependency trees of services handling untrusted paths
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)