Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · 2 min 120 bronnen 1 kritiek 22 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-47211

NONE Gepubliceerd: CWE-426

Beschrijving NL

Ouroboros is een lokale eerste runtime voor AI-coderingsagenten die hun acties registreert en door de gebruiker gedefinieerd beleid toepast om gedrag te beperken. In versies vóór 0.39.0 kan het klonen van een kwaadaardige repository en het uitvoeren van Ouroboros-opdrachten binnen die directory leiden tot willekeurige code-uitvoering en mogelijke systeemovername. De kwetsbaarheid komt voort uit het laden van het .env-bestand door Ouroboros vanuit de huidige werkmap. Uitvoering-beïnvloedende omgevingsvariabelen zoals OUROBOROS_CLI_PATH, OPENCODE_CLI_PATH en andere backend-selectors worden rechtstreeks van deze lokale .env geaccepteerd. Een aanvaller kan een kwaadaardig script in de repository opnemen en de CLI-padvariabele ernaar wijzen (bijv. OUROBOROS_CLI_PATH=./malicious_script.sh). Wanneer de gebruiker een opdracht uitvoert zoals ouroboros init of een opdracht die de adapter instantieert, wordt het kwaadaardige script uitgevoerd in plaats van de beoogde CLI. Dit probleem is opgelost in versie 0.39.0.

Origineel (Engels) tonen

Ouroboros is a local-first runtime for AI coding agents that records their actions and applies user-defined policies to constrain behavior. In versions prior to 0.39.0, if a user clones a malicious repository and runs Ouroboros commands within that directory, it can lead to arbitrary code execution and potential system takeover. The vulnerability stems from Ouroboros loading the .env file from the current working directory. Execution-affecting environment variables such as OUROBOROS_CLI_PATH, OPENCODE_CLI_PATH, and other backend selectors are accepted directly from this local .env. An attacker can include a malicious script in the repository and point the CLI path variable to it (e.g., OUROBOROS_CLI_PATH=./malicious_script.sh). When the user executes a command like ouroboros init or any command that instantiates the adapter, the malicious script is executed instead of the intended CLI. This issue has been fixed in version 0.39.0.

References