Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/eat-pray-ai/yutu
  4. ›
  5. CVE-2026-50158

CVE-2026-50158: yutu: Arbitrary File Write via MCP `caption-download` Tool

July 14, 2026

The caption-download MCP tool in yutu passes the caller-supplied file parameter directly to os.Create() at pkg/caption/caption.go:272 without any path validation, canonicalization, or confinement to the pkg.Root boundary (YUTU_ROOT). A local attacker — or any process able to reach the HTTP MCP server — can write arbitrary content to any path writable by the yutu process, entirely outside the intended working directory. This is a High severity vulnerability (CVSS 7.7) with high integrity and availability impact.

References

  • github.com/advisories/GHSA-2c7f-fxww-6w6c
  • github.com/eat-pray-ai/yutu/commit/87026c4eee1ed28775383807087343a750707bf3
  • github.com/eat-pray-ai/yutu/releases/tag/v0.10.9-dev1
  • github.com/eat-pray-ai/yutu/security/advisories/GHSA-2c7f-fxww-6w6c
  • nvd.nist.gov/vuln/detail/CVE-2026-50158

Code Behaviors & Features

Detect and mitigate CVE-2026-50158 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.10.9-dev1

Fixed versions

  • 0.10.9-dev1

Solution

Upgrade to version 0.10.9-dev1 or above.

Impact 7.7 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-73: External Control of File Name or Path

Source file

go/github.com/eat-pray-ai/yutu/CVE-2026-50158.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 15 Jul 2026 12:18:51 +0000.