CVE-2026-102697: ollama Incorrect Authorization
Vulnerability summary
CVE-2026-102697 is a high (CVSS 8.5) Incorrect Authorization vulnerability in ollama. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 3.5% of scored vulnerabilities.
Timeline
- 29-09-2026PublishedVulnerability first disclosed.
- 29-09-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 2 sources · 2 versions- NVDNIST8.5HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.15%
Chance of exploitation in the next 30 days
Percentile
4%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ollama1 product
- ollama≥ 0.14.0, < 0.31.2
1 vendor · 1 product
References
6 links- github.com/ollama/ollama/releases/tag/v0.31.2Release Notes
- github.com/ollama/ollama/blob/v0.31.1/x/agent/approval.goTechnical Description
- github.com/ollama/ollama/blob/v0.31.1/x/agent/approval.goTechnical Description
- github.com/ollama/ollamaProduct
- www.vulncheck.com/advisories/…Third Party Advisory