{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-102697 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-102697 is a high-severity vulnerability in ollama, published on 29 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-102697 and fix it if it is affected.\n\nWhat it is: CVE-2026-102697 is a high-severity vulnerability in ollama, published on 29 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-102697 in the wild and no public exploit code.\n\nAffected product: ollama. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-102697/ (Markdown: https://insights.sbomify.com/CVE-2026-102697/index.md)","id":"CVE-2026-102697","markdown":"https://insights.sbomify.com/CVE-2026-102697/index.md","name":"CVE-2026-102697","record":{"aliases":["GHSA-44m8-pr79-3734","MINI-7q5q-rpf5-jxx3","MINI-pc59-mm3q-j6p8"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"LLM server software","requires_auth":"none","summary":"Attackers can bypass Bash command approval in Ollama's experimental agent mode via prompt injection, leading to arbitrary code execution.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-10-15","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-10-15T20:02:09Z","kind":"github_poc","ref":"https://github.com/akinerkisa/blindllama-cve-2026-102697","stars":0,"title":"BlindLlama: CVE-2026-102697 Reproduction"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Ollama 0.14.0 before 0.31.2 Experimental Agent Bash Approval Bypass via Prefix-Based Authorization","id":"CVE-2026-102697","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":0,"n_references":6,"next":{"headline":"Arm: multiple issues with GNTTABOP_cache_flush","id":"CVE-2026-102699"},"packages":[],"prev":{"headline":"OmniFaces: Forged combined-resource IDs and related output/push boundaries","id":"CVE-2026-102695"},"products":["ollama"],"published":"2026-09-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-29","vendors":["ollama"]},"summary":"Attackers can bypass Bash command approval in Ollama's experimental agent mode via prompt injection, leading to arbitrary code execution.","url":"https://insights.sbomify.com/CVE-2026-102697/"}