Back to CVE records
High 7.8Published Sep 29, 2026

CVE-2026-102697Ollama 0.14.0 before 0.31.2 Experimental Agent Bash Approval Bypass via Prefix-Based Authorization

Updated under an hour ago ()

Does this affect you?

It affects ollama. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.15%, higher than 3% of scored CVEs.

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.

CVSS
7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-863
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.15% (percentile 3)
Assigned by
VulnCheck
NVD analysis
Awaiting Analysis
Record last updated
Sep 29, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
ollama ollama
ollama:ollama (from the name)
from 0.14.0 before 0.31.2
CNA record

References

  • patch
  • release-notes
  • technical-description
  • technical-description
  • product
  • third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.