VDB
EN
MEDIUM

GHSA-j99q-93c9-h869

MCPVault: PathFilter restricted-directory deny-list bypass via case and trailing dot/space equivalence

상세

On case-insensitive filesystems (macOS, Windows), PathFilter compiled its deny-list patterns case-sensitively and matched the path verbatim, so names like `.Git/config`, `.GIT/config`, or `.oBsIdIaN/secrets.md` slipped past the `.git`/`.obsidian`/`node_modules` restriction while the OS opened the real file. On Windows, trailing dots/spaces (`.git./config`, `.git /config`) bypassed it the same way. Affects both `isAllowed` (read/write/move/search) and `isAllowedForListing`. Vault-root `..` containment is NOT affected. Fixed in 0.11.4 by case-insensitive matching plus per-segment canonicalization before the deny-list check. Reported privately by novice-22.

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

npm / @bitbonsai/mcpvault
최초 영향 버전: 0 수정 버전: 0.11.4
수정 npm install @bitbonsai/mcpvault@0.11.4

참고