Skip to content
8.5 High

CVE-2026-102697 Ollama versions 0.14.0 before 0.31.2 contain an incorrect authorization vulnerability in the experimental agent mode…

Description

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.

Affected products and versions

Product Affected versions Fixed in
Ollama 0.14 0.14.0 → < 0.31.2 0.31.2

References

Timeline

  1. Published
  2. Last modified
The 14 CVEs of Ollama →
Track this CVE