Ollama allows deletion of arbitrary filesGHSA-93jv-pvg8-hf3v
MEDIUMGHSA-93jv-pvg8-hf3v is a medium-severity (CVSS 6.6) Improper Input Validation vulnerability in github.com/ollama/ollama. A fix is available for github.com/ollama/ollama — see the affected versions and patch details below.
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for GHSA-93jv-pvg8-hf3v.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/ollama/ollamaReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
An issue in Ollama v0.1.33 allows attackers to delete arbitrary files via sending a crafted packet to the endpoint /api/pull.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/ollama/ollama | all versions | 0.1.34go get github.com/ollama/ollama@v0.1.34 |
Affected Products
ollamaollamaDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/ollama/ollama, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/ollama/ollama to 0.1.34 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-93jv-pvg8-hf3v is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-93jv-pvg8-hf3v in your dependencies?
Find it across Go, including transitive dependencies.