### [CVE-2024-39719](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-39719) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description An issue was discovered in Ollama through 0.3.14. File existence disclosure can occur via api/create. When calling the CreateModel route with a path parameter that does not exist, it reflects the "File does not exist" error message to the attacker, providing a primitive for file existence on the server. ### POC #### Reference - https://www.oligo.security/blog/more-models-more-probllms #### Github - https://github.com/J1ezds/Vulnerability-Wiki-page - https://github.com/Threekiii/Awesome-POC - https://github.com/dansarmiento/ollama_sql_runner - https://github.com/plzheheplztrying/cve_monitor - https://github.com/srcx404/CVE-2024-39719 - https://github.com/wowtalon/LLM-Security