Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
llama-cpp-python versions from 0.2.30 before 0.2.72 are affected. A model file with a malicious chat template in its metadata can trigger server-side template injection when the model is loaded and used, because the template is rendered without a sandbox. An attacker who can get a user to load such a model can execute arbitrary code. Upgrade to llama-cpp-python 0.2.72 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.7 | Critical | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.26, the 97th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:35 UTC First seen by agentprime
- 31 Oct 2026, 14:35 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-56xg-wfcc-g829
- OSV: GHSA-56xg-wfcc-g829
- github.com/abetlen/llama-cpp-python/security/advisories/GHSA-56xg-wfcc-g829
- nvd.nist.gov/vuln/detail/CVE-2024-34359
- github.com/abetlen/llama-cpp-python/commit/b454f40a9a1787b2b5659cd2cb00819d983185df
- github.com/abetlen/llama-cpp-python