CVE-2026-102697

HIGH CVSS 4.0: 8.5 EPSS 0.15%
Updated Sep 30, 2026
Ollama
Parameter Value
CVSS 8.5 (HIGH)
Affected Versions before 0.31.2
Type CWE-863 (Incorrect Authorization)
Vendor Ollama
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0