CVE-2026-102697
Last modified
CVE-2026-102697 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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..
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ollama | ollama | >= 0.14.0, < 0.31.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-102697?
How severe is CVE-2026-102697?
How do I fix CVE-2026-102697?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-10268A weakness has been identified in janet-lang janet up to 1.4…3.3
- CVE-2026-102682Pipecat is an open-source Python framework for building real…5.6
- CVE-2026-10269A security vulnerability has been detected in decolua 9route…6.3
- CVE-2026-102692RIOT is an open-source microcontroller operating system desi…9.1
- CVE-2026-102693RIOT is an open-source microcontroller operating system desi…9.6
- CVE-2026-102695OmniFaces is a utility library for Faces. In OmniFaces versi…8.2
- CVE-2026-102699[This CNA information record relates to multiple CVEs; the t…7.5
- CVE-2026-10270A vulnerability was detected in D-Link DI-7001 MINI up to 19…7.5
- CVE-2026-102700With its original introduction, GNTTAB_cache_flush was made …4.7
- CVE-2026-102702[This CNA information record relates to multiple CVEs; the t…7.5
- CVE-2026-102703[This CNA information record relates to multiple CVEs; the t…4.4
- CVE-2026-102704[This CNA information record relates to multiple CVEs; the t…4.4
Are you affected by CVE-2026-102697?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
