CVE-2026-102697

Experimental Agent Bash Approval Bypass via Prefix-Based Authorization

Ollama 0.14.0 < 0.31.2

CVSS
3.17.84.08.5
Weakness
CWE-863 Incorrect Authorization
Published
Researcher
Akıner Kısa
Record
CVE-2026-102697 ↗

Ollama versions 0.14.0 before 0.31.2 contain an incorrect authorization vulnerability in the experimental agent mode Bash tool approval mechanism that fails to properly parse shell syntax. Attackers who can influence model output through prompt injection can execute additional shell commands by appending control operators like semicolons or logical operators to approved commands, bypassing the session approval requirement.

Description from the CVE record.

Technical write-up: LlamaSmuggle: Prefix-Based Authorization Bypass in Ollama Agent Mode (CVE-2026-102697) →

← All findings