PT-2026-102686
CVE-2026-102697
·
Published
2026-09-29
·
Updated
2026-09-29
Description by
CVSS 4.0
8.5
HighMetricsAV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Ollama versions 0.14.0 through 0.31.1
Description
An incorrect authorization issue exists in the experimental agent mode Bash tool approval mechanism due to improper parsing of shell syntax. Attackers capable of influencing model output via prompt injection can bypass session approval requirements to execute unauthorized shell commands. This is achieved by appending control operators, such as semicolons or logical operators, to commands that have been approved.
Recommendations
Update Ollama to version 0.31.2 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾