CVE-2026-102697 Ollama - Command Injection

Ollama 0.14.0 before 0.31.2 contains a command injection caused by improper parsing of shell syntax in the experimental agent mode Bash tool approval mechanism, letting attackers execute additional shell commands by prompt injection, exploit requires attacker to influence model output.

CVSS base score 7.8 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
EPSS
0.15% chance of exploitation in 30 days
View the NVD record ↗