NFS2ROOT: A Decade Old Linux Vulnerability CVE-2026-99362 · 14h CISA KEV Weekly Briefing – Week 48 · 2d Suspected Vietnam-Linked Hackers Target Southeast Asia in South China Sea Espionage Campaign · 2d Vulnerability in GNU m4 software · 2d Vulnerability in SMSEagle RCDevs OpenOTP SMS integration connector software · 2d Fragnesia: When a Firewall Becomes the Target · 3d Vulnerability in Chainlit software · 3d Vulnerabilities in GNU Screen software · 3d Drupal Warns of New Highly Critical Site Takeover Vulnerability Under Active Exploitation · 3d Hackers Exploit 10 Vulnerabilities Across Mitel, Juniper, Vates, and Danfoss Products · 4d NFS2ROOT: A Decade Old Linux Vulnerability CVE-2026-99362 · 14h CISA KEV Weekly Briefing – Week 48 · 2d Suspected Vietnam-Linked Hackers Target Southeast Asia in South China Sea Espionage Campaign · 2d Vulnerability in GNU m4 software · 2d Vulnerability in SMSEagle RCDevs OpenOTP SMS integration connector software · 2d Fragnesia: When a Firewall Becomes the Target · 3d Vulnerability in Chainlit software · 3d Vulnerabilities in GNU Screen software · 3d Drupal Warns of New Highly Critical Site Takeover Vulnerability Under Active Exploitation · 3d Hackers Exploit 10 Vulnerabilities Across Mitel, Juniper, Vates, and Danfoss Products · 4d
🛡️
ACyber Sentinel 安全评估团队
← 返回
⚡ 情报报告

Ollama软件中的漏洞

Ollama软件中的漏洞

CVE ID

CVE-2026-103663

发布日期

2026年10月08日

供应商

Ollama

产品

Ollama

受影响版本

从0.34.2到0.35.0

漏洞类型(CWE)

相对路径遍历(CWE-23)

报告来源

报告给CERT Polska

描述

CERT Polska收到了关于Ollama软件漏洞的报告,并参与了其披露的协调。

漏洞CVE-2026-103663:Ollama在/api/pull端点存在路径遍历漏洞,原因是digestToPath函数对层摘要的验证不足。未经身份验证的远程攻击者可以将路径遍历序列指定为层摘要,从而导致恶意二进制文件被写入模型存储之外。

关键的是,如果服务器进程对/usr/lib/ollama具有写入权限(在大多数Ollama Docker镜像中为默认设置),攻击者可以将恶意文件写入该目录。在下次服务器重启时,该文件被加载并执行,导致以root身份进行远程代码执行。

此问题已在版本0.35.0中修复。

致谢

我们感谢Bartłomiej Dmitruk(striga.ai)对该漏洞的负责任报告。

有关CERT Polska协调漏洞披露流程的更多信息,请访问https://cert.pl/en/cvd/。

相关漏洞

CVE-2026-103663 CVSS 9.4 CRITICAL Awaiting Analysis
CVE-2026-103663 - Path Traversal leading to Remote Code Execution in Ollama
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.  Critically 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. This issue was fixed in version 0.35.0.