CVE-2026-138330

open-duet can treat a newline-chained Git write as an allowed read

Anil-matcha · open-duet

First documented disclosure · Review checkpoint

Summary

A compound Bash command can inherit a standing Git-read approval while also performing a write.

Severity and exploitation evidence

Medium · 4.8/10 · CVSS 4.0. Severity source.

Exploitation not established: The reviewed public report and any maintainer confirmation describe research or a correction, not malicious exploitation or identified victims. No payload, model, package or proof of concept was executed in this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

The classifier originally omitted newlines from its command splitter and used the first Git verb. A read followed by a newline and a push could therefore receive the read permission. Later hardening conservatively checks compound commands and side-effecting options.

Conditions required

The user has a standing allow rule for a Git read, and the agent emits a crafted compound Bash command, potentially influenced by untrusted content.

Potential impact

Unapproved repository mutation or external Git push with the running user’s permissions.

Affected versions and configurations

CNA lists open-duet 0.8.0 and 0.8.1; the original issue identifies commit 76845213b104816799fa465225b3962054070032.

Fix and mitigation status

PR196 merged November 3; prerelease v0.8.2 on November 5 includes the correction. Its tagged classifier splits on newlines and rejects unsafe read forms. The visible later 0.8.x releases are also marked prerelease.

Practical next steps

Use a corrected build and review standing Git/Bash allow rules; keep generic Bash approval restrictive.

Operating lesson

Permission classification must consider every operation in a compound command.

Evidence and limits

The repository now resolves to suparagent. PR196 says newline splitting had already changed after issue157 and adds broader hardening; v0.8.2 is a verified corrected package, not a claim that this PR alone introduced the first newline fix. Issuing CNA publication was 2026-11-29, separate from the original public disclosure. Severity is VulDB CNA CVSS 4.0 Medium 4.8. CNA also supplies CVSS 3.1 Medium 5.3. Static review only; upstream tests were not repeated.

Sources