Security
Loading…

CVE-2026-102697

HIGHCVSS 7.8
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.

Timeline
Published:September 29th, 2026 5:17 PM
Last modified:September 29th, 2026 9:32 PM
CVSS Scoring

CVSS v3: 7.8 (HIGH)

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses (CWE)

Source: NIST NVD · Data may lag official sources by up to one minute