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.
Configurations

No configuration.

History

29 Sep 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-29 17:17

Updated : 2026-09-29 21:32


NVD link : CVE-2026-102697

Mitre link : CVE-2026-102697

CVE.ORG link : CVE-2026-102697


JSON object : View

Products Affected

No product.

CWE
CWE-863

Incorrect Authorization