-
Notifications
You must be signed in to change notification settings - Fork 117
Description
Bug Description
Multiple critical and high severity security vulnerabilities have been detected across Python and npm dependencies in the main project and example projects.
Python vulnerabilities:
- NLTK – Zip Slip Vulnerability (Critical) –
uv.lock - LangChain serialization injection (Critical) – enables secret extraction via
dumps/loadsAPIs – detected indocs/examples/cuga_with_runtime_tools/uv.lockanddocs/examples/cuga_as_mcp/uv.lock - Pillow – out-of-bounds write loading PSD images (High) –
uv.lock,docs/examples/cuga_with_runtime_tools/uv.lock,docs/examples/cuga_as_mcp/uv.lock - urllib3 – decompression bomb when following HTTP redirects (High) – detected in
docs/examples/demo_apps/file_system/uv.lock,docs/examples/demo_apps/email_mcp/mcp_server/uv.lock,docs/examples/demo_apps/crm/uv.lock,docs/examples/cuga_with_runtime_tools/uv.lock,docs/examples/cuga_as_mcp/uv.lock - urllib3 – unbounded decompression chain links (High) – same set of lock files
- urllib3 – streaming API improperly handles highly compressed data (High) – same set of lock files
npm vulnerabilities (in src/frontend_workspaces/pnpm-lock.yaml):
- Rollup 4 – Arbitrary File Write via Path Traversal (High)
- basic-ftp – Path Traversal in
downloadToDir()(Critical) - minimatch – ReDoS via repeated wildcards (High) – multiple instances
Steps to Reproduce
- Check GitHub Dependabot alerts
- Upgrade affected Python dependencies via
uvand npm dependencies viapnpm - Reinstall npm dependencies:
cd src/frontend_workspaces pnpm install - Rebuild the frontend UI:
cd src/frontend_workspaces/frontend sh build.sh - Rerun the agent to verify no regressions:
cuga start democuga start demo_crmcuga start manager
- Verify all modes start and operate correctly
Expected Behavior
All dependencies should be updated to versions that patch the listed vulnerabilities. The application should continue to function correctly after upgrades — cuga start demo, cuga start demo_crm, and cuga start manager should all start and run without regressions. The frontend UI (rebuilt via sh build.sh in src/frontend_workspaces/frontend/) should also function correctly.
Actual Behavior
Dependabot has flagged critical and high severity vulnerabilities in both Python (uv.lock) and npm (pnpm-lock.yaml) lock files across the main project and multiple example projects under docs/examples/.
Environment
- Detected automatically by GitHub Dependabot
- Package managers:
uv(Python),pnpm(Node/npm) - Affects:
uv.lock,pnpm-lock.yaml, and multiple example project lock files underdocs/examples/