PT-2026-45033 · Ouroboros · Ouroboros

CVE-2026-47211

·

Published

2026-05-29

·

Updated

2026-08-03

CVSS v4.0

8.6

High

VectorAV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Ouroboros versions prior to 0.39.0
Description A Remote Code Execution issue exists when the software loads a .env file from the current working directory. An attacker can include a malicious script in a repository and use environment variables such as OUROBOROS CLI PATH or OPENCODE CLI PATH to point to that script. When a user runs commands like ouroboros init or any command that instantiates the adapter within that directory, the malicious script is executed instead of the intended CLI, potentially leading to a full system takeover.
Recommendations Update to version 0.39.0 or later. As a temporary workaround, manually inspect the .env file in cloned repositories for unexpected OUROBOROS * CLI PATH or OPENCODE CLI PATH overrides before running commands.

Fix

Untrusted Search Path

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-47211
GHSA-C4M7-2GWP-VW76
PYSEC-2026-2857

Affected Products

Ouroboros