{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-103663 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-103663 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-103663 is a medium-severity path traversal vulnerability in Ollama, published on 8 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-103663 and fix it if it is affected.\n\nWhat it is: CVE-2026-103663 is a medium-severity path traversal vulnerability in Ollama, published on 8 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-103663 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-103663/ (Markdown: https://insights.sbomify.com/CVE-2026-103663/index.md)","id":"CVE-2026-103663","markdown":"https://insights.sbomify.com/CVE-2026-103663/index.md","name":"CVE-2026-103663","record":{"aliases":["GHSA-w8p2-phwr-px3r"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Ollama LLM server","requires_auth":"none","summary":"Unauthenticated attackers can exploit path traversal in the pull endpoint to write malicious binaries, leading to remote code execution as root on restart.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CERT-PL","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-913","name":"Improper Control of Dynamically-Managed Code Resources"},{"id":"CWE-23","name":"Relative Path Traversal"}],"description":"Ollama is vulnerable to path traversal in the `/api/pull` endpoint due to insufficient validation of layer digests by the `digestToPath` function. An unauthenticated remote attacker can specify a path traversal sequence as a layer digest, causing a malicious binary to be written outside the model store. \n\nCritically if the server process has write access to `/usr/lib/ollama` (the default in most Ollama Docker images), an attacker can write the malicious file to that directory. On the next server restart, the file is loaded and executed, resulting in remote code execution as root.\n\nThis issue was fixed in version 0.35.0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-10-19","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-10-19T20:59:59Z","kind":"github_poc","ref":"https://github.com/striga-ai/CVE-2026-103663","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":false,"headline":"Path Traversal leading to Remote Code Execution in Ollama","id":"CVE-2026-103663","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"MISP Reflected Cross-Site Scripting via Unsanitized Analyst Data Seed Parameter","id":"CVE-2026-103664"},"packages":[],"prev":{"headline":"MISP Reflected XSS in Taxonomy Tag Confirmation Forms","id":"CVE-2026-103662"},"products":["Ollama"],"published":"2026-10-08","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-10-08","vendors":["Ollama"]},"summary":"Unauthenticated attackers can exploit path traversal in the pull endpoint to write malicious binaries, leading to remote code execution as root on restart.","url":"https://insights.sbomify.com/CVE-2026-103663/"}