Skip to main content
VulnerabilityPublished

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

Affects ollamaSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.8 High : upgrade to 0.31.2 soon.

Data as of 11 Nov 2026, 23:24 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.31.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade ollama/ollama to 0.31.2.

Affected software

ProductAffectedFixed in
GitHubollama/ollamapkg:github/ollama/ollamaOther threatsAffected
  • >=0.14.0 <0.31.2
Fixed in
  • 0.31.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Ollama version 0.31.2 and later. Users should upgrade to version 0.31.2 or newer to remediate this vulnerability. No other mitigation guidance is provided.

Description

Ollama versions from 0.14.0 up to but not including 0.31.2 have an incorrect authorization vulnerability in the experimental agent mode Bash tool approval mechanism. This flaw allows attackers who can influence model output via prompt injection to append shell control operators to approved commands, enabling execution of additional shell commands without session approval. The vulnerability has a high severity with a CVSS score of 7.8.

References

Community reviews

Loading reviews…