This release includes 2 security fixes for security teams reviewing exposed deployments.
Topics
+8 more
Affected surfaces
Summary
AI summaryPath validation now rejects null bytes and .. segments; yt-dlp dependency updated to >=2024.7.1.
Full changelog
v0.9.7 — Security hardening
Patch release addressing MCP Marketplace High findings: safer path handling for tool inputs and a stricter yt-dlp dependency bound.
Security
- Path validation — User-supplied local paths now go through
_resolve_user_content_path: rejects null bytes and..path segments before resolving (seesrc/pinrag/mcp/tools.py). Chroma persist dirs use_resolve_persist_dir_path(null-byte check only). - Dependencies — Require
yt-dlp>=2024.7.1so installs resolve past known CVEs (e.g. CVE-2024-38519 / GHSA-79w7-vh3h-8g4j and related advisories).
Tests
tests/test_mcp_paths.pycovers the new path helpers.
Security Fixes
- Path handling now rejects null bytes and .. segments (addresses MCP Marketplace High finding).
- Require yt-dlp >=2024.7.1 to avoid CVE-2024-38519 (GHSA-79w7-vh3h-8g4j) and related advisories.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About ndjordjevic/pinrag
RAG for PDFs, YouTube, GitHub repos, Discord exports; index documents and query with citations.
Related context
Beta — feedback welcome: [email protected]