{"id":"CVE-2026-138028","state":"PUBLISHED","title":"Bagel before 2.5.5 Argument Injection via rsync Pipeline Task Options","description":"Bagel (bagel-mcp) before 2.5.5 contains an argument injection vulnerability in RsyncFilesToLocalDirectory that allows attackers to inject rsync options because only --quiet and --log-format values are rejected. Attackers who influence the LLM through prompt-injected content can trigger run_pipeline with -e/--rsh or --rsync-path options to execute commands as the Bagel server process.","publishedAt":"2026-11-27T19:15:18.962Z","updatedAt":"2026-11-27T19:15:18.962Z","severity":{"score":7.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["Extelligence-ai Bagel"],"affected":[{"vendor":"Extelligence-ai","product":"Bagel","packageURL":"pkg:pypi/bagel-mcp","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.5.5","versionType":"semver"}],"repo":"https://github.com/Extelligence-ai/bagel"}],"references":["https://github.com/Extelligence-ai/bagel/security/advisories/GHSA-gx2g-3pch-43q5","https://github.com/Extelligence-ai/bagel/commit/cbec958edd9ce105b9005c9e31631b1dc420ee4f","https://github.com/Extelligence-ai/bagel/releases/tag/v2.5.5","https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/pipeline/tasks/rsync_files.py#L75-L84","https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/pipeline/tasks/rsync_files.py#L134-L138","https://www.vulncheck.com/advisories/bagel-before-2.5.5-argument-injection-via-rsync-pipeline-task-options"],"weaknesses":["CWE-88"],"ingestedAt":"2026-11-27T19:24:05.298Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/138xxx/CVE-2026-138028.json","commit":"61a884d4c933c2e1b26b70d870ec142a398853e1","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-138028","state":"PUBLISHED","datePublished":"2026-11-27T19:15:18.962Z","dateUpdated":"2026-11-27T19:15:18.962Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-27T16:44:01.935Z"},"containers":{"cna":{"title":"Bagel before 2.5.5 Argument Injection via rsync Pipeline Task Options","descriptions":[{"lang":"en","value":"Bagel (bagel-mcp) before 2.5.5 contains an argument injection vulnerability in RsyncFilesToLocalDirectory that allows attackers to inject rsync options because only --quiet and --log-format values are rejected. Attackers who influence the LLM through prompt-injected content can trigger run_pipeline with -e/--rsh or --rsync-path options to execute commands as the Bagel server process."}],"affected":[{"vendor":"Extelligence-ai","product":"Bagel","packageURL":"pkg:pypi/bagel-mcp","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.5.5","versionType":"semver"}],"repo":"https://github.com/Extelligence-ai/bagel"}],"references":[{"url":"https://github.com/Extelligence-ai/bagel/security/advisories/GHSA-gx2g-3pch-43q5","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-gx2g-3pch-43q5)"},{"url":"https://github.com/Extelligence-ai/bagel/commit/cbec958edd9ce105b9005c9e31631b1dc420ee4f","tags":["patch"]},{"url":"https://github.com/Extelligence-ai/bagel/releases/tag/v2.5.5","tags":["release-notes"],"name":"Bagel v2.5.5 Release Notes"},{"url":"https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/pipeline/tasks/rsync_files.py#L75-L84","tags":["technical-description"]},{"url":"https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/pipeline/tasks/rsync_files.py#L134-L138","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/bagel-before-2.5.5-argument-injection-via-rsync-pipeline-task-options","name":"VulnCheck Advisory: Bagel before 2.5.5 Argument Injection via rsync Pipeline Task Options","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-88","lang":"en","description":"Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-27T19:15:18.962Z"},"datePublic":"2026-11-15T00:00:00.000Z","credits":[{"lang":"en","value":"Syed Anas Mohiuddin","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}