{"answers":{"affected":"3 open source packages ship an affected version, including github.com/eat-pray-ai/yutu.","exploited":"There is no known exploitation of CVE-2026-50158 in the wild and no public exploit code.","fix":"Upgrade github.com/eat-pray-ai/yutu to 0.10.9-dev1 or later.","what":"CVE-2026-50158 is a high-severity path traversal vulnerability in eat-pray-ai yutu, published on 17 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-50158 and fix it if it is affected.\n\nWhat it is: CVE-2026-50158 is a high-severity path traversal vulnerability in eat-pray-ai yutu, published on 17 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-50158 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/eat-pray-ai/yutu (Go): affected all versions; fixed in 0.10.9-dev1\n- github.com/eat-pray-ai/yutu (Go): affected all versions; fixed in 0.10.9-dev1\n- github.com/eat-pray-ai/yutu (Go): affected all versions; fixed in 0.10.9-dev1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-50158/ (Markdown: https://insights.sbomify.com/CVE-2026-50158/index.md)","id":"CVE-2026-50158","markdown":"https://insights.sbomify.com/CVE-2026-50158/index.md","name":"CVE-2026-50158","record":{"aliases":["GHSA-2c7f-fxww-6w6c","GO-2026-5980"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"YouTube AI toolkit","requires_auth":"none","summary":"Attackers can write arbitrary files via the caption-download tool, potentially overwriting critical files to achieve code execution or denial of service.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"description":"yutu is an AI-powered toolkit for managing and growing YouTube channels. Prior to 0.10.9, the caption-download MCP tool accepts a caller-controlled file parameter through cmd/caption/download.go and passes it to Caption.Download() in pkg/caption/caption.go, where os.Create() creates or truncates that path without using the pkg.Root confinement boundary backed by YUTU_ROOT. A principal able to invoke caption-download, including a local HTTP client when the MCP server runs with its default authentication-disabled configuration, can write downloaded caption bytes to any path writable by the yutu process outside YUTU_ROOT. This can overwrite application files, configuration, shell startup files, logs, or data and can cause persistent code execution or denial of service depending on the selected writable target. Live caption retrieval also requires usable service credentials and an accessible caption identifier. This issue is fixed in version 0.10.9.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"yutu: Arbitrary File Write via MCP `caption-download` Tool","id":"CVE-2026-50158","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Mermaid allows CSS injection applying to sibling elements of the diagram","id":"CVE-2026-50159"},"packages":[{"ecosystem":"Go","fixed":["0.10.9-dev1"],"introduced":["0"],"last_affected":[],"package":"github.com/eat-pray-ai/yutu","purl":null,"source":"GHSA-2c7f-fxww-6w6c"},{"ecosystem":"Go","fixed":["0.10.9-dev1"],"introduced":["0"],"last_affected":[],"package":"github.com/eat-pray-ai/yutu","purl":"pkg:golang/github.com/eat-pray-ai/yutu","source":"GHSA-2c7f-fxww-6w6c"},{"ecosystem":"Go","fixed":["0.10.9-dev1"],"introduced":["0"],"last_affected":[],"package":"github.com/eat-pray-ai/yutu","purl":"pkg:golang/github.com/eat-pray-ai/yutu","source":"GO-2026-5980"}],"prev":{"headline":"Auth0 Symfony: Bearer Token Accepted via URL Query Parameter in Auth0 Symfony SDK","id":"CVE-2026-50157"},"products":["yutu"],"published":"2026-09-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-18","vendors":["eat-pray-ai"]},"summary":"Attackers can write arbitrary files via the caption-download tool, potentially overwriting critical files to achieve code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2026-50158/"}