Skip to content
Blog

llama.cpp · openIMIS · compose-farm

Self-Hosted: llama.cpp, openIMIS, compose-farm and LaraDashboard, Four Critical RCEs (CVE-2026-137567, CVE-2026-82489…)

llama.cpp RPC server, openIMIS reports, compose-farm web UI, LaraDashboard modules: four critical CVEs leading to code execution. Affected versions and fixes.

Between November 24 and 26, 2026, NVD published four critical CVEs in open source projects you run yourself: llama.cpp (local LLM inference), openIMIS (health insurance management), compose-farm (driving Docker Compose stacks across several hosts) and LaraDashboard (a Laravel admin dashboard).

All four were published by VulnCheck (CNA) and all end in code execution. How they get there couldn't be more different, which is what makes them worth reading.

ProjectCVECVSS 3.1Flaw classAffected versions (NVD description)NVD status
llama.cppCVE-2026-1375679.8Out-of-bounds write (CWE-787)b11450 up to (excluding) b12658Awaiting Analysis
openIMISCVE-2026-824899.8Code injection (CWE-94)before the 2026-10 releaseDeferred
compose-farmCVE-2026-1361849.6Cross-site WebSocket hijacking (CWE-1385)0.19.0 up to (excluding) 1.22.0Received
LaraDashboardCVE-2026-1375449.1Path traversal (CWE-22)before 1.5.0Deferred

CVSS 3.1 scores are from VulnCheck; NVD publishes no CPE configuration for these entries. None is in CISA KEV at the time of writing.


llama.cpp — CVE-2026-137567

Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8; CVSS 4.0: 9.3)

The bug lives in the ggml RPC server, the component that spreads inference across machines: one box runs rpc-server, another sends it tensors to compute. That server has no authentication.

Per NVD, the attacker learns buffer base addresses with BUFFER_GET_BASE, then sends RPC_CMD_COPY_TENSOR with a zero-element destination tensor whose pointer sits below the buffer base. The bounds check lets it through, and the write lands at an arbitrary heap address: the server crashes, or the attacker gets code execution.

Versions: b11450 up to (excluding) b12658. The references point to the b12658 release and the fix pull request.

Who's exposed: only machines running rpc-server. Using llama-server or llama-cli on their own doesn't start it. But an RPC server fired up "just to try it" on every interface of a GPU box is exactly the kind of service people forget about.


openIMIS — CVE-2026-82489

Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8; CVSS 4.0: 9.3)

The report module (openimis-be-report_py) exposes /api/report/reportbro/preview, which evaluates the printIf expressions in report templates server-side using the simpleeval library. The guard is a name-prefix blocklist, and it isn't enough: an expression can reach sys.modules['os'] through datetime.sys and run OS commands as root, with no authentication.

The same endpoint also allows arbitrary file reads through its key parameter. The NVD description calls out exposure of database credentials and JWT signing keys, which means sessions can still be forged after patching unless those keys are rotated.

Versions: before the openIMIS 2026-10 release (reference: the release page on the project wiki).

It's a familiar trap: a "safe" expression evaluator built on a blocklist nearly always leaves some path open to the language's own modules.


compose-farm — CVE-2026-136184

Vector: AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H (9.6; CVSS 4.0: 9.4)

compose-farm's web UI has no authentication and doesn't check the Origin header. So a malicious site visited by someone on that machine can open the /ws/shell/{host} or /ws/exec WebSockets from their browser, or abuse unquoted service parameters and PUT /api/console/file, to run commands on every managed host.

That's the key point: the UI doesn't need to be on the internet. It can listen only on localhost or the internal network; the admin's own browser does the relaying. Hence UI:R (visiting a page is enough) and S:C (impact reaches past the UI to every host it controls).

Versions: 0.19.0 up to (excluding) 1.22.0. The references point to the v1.22.0 release and the project's GitHub advisory.


LaraDashboard — CVE-2026-137544

Vector: AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H (9.1; CVSS 4.0: 9.4)

LaraDashboard installs modules shipped as ZIP files. Destination folder names are derived from the providers in module.json and the psr-4 namespace in composer.json without filtering traversal sequences (../). A booby-trapped module can therefore write PHP files into the app's public directory, then trigger them with a plain HTTP request.

Worth flagging: the NVD description says "unauthenticated remote code execution", but also that the attacker needs the module.create permission, and VulnCheck's vector is PR:H (high privileges). In practice you need an account allowed to install modules; the dropped code then runs without authentication. The risk is mostly for instances with several admins, or a compromised admin account.

Versions: before 1.5.0. The references point to the fix commit and the project's GitHub advisory.


Detection

  • llama.cpp: ss -tlnp | grep rpc-server on GPU machines; any rpc-server listening on something other than 127.0.0.1; repeated process crashes.
  • openIMIS: requests to /api/report/reportbro/preview in reverse proxy logs, especially without a session; datetime, sys or modules in request bodies.
  • compose-farm: WebSocket connections to /ws/shell/ or /ws/exec with a foreign Origin header; containers or stack files changed without you touching them.
  • LaraDashboard: unexpected PHP files in public/; recently installed modules nobody recognizes.

Mitigation

  1. Update: llama.cpp b12658 or later, openIMIS 2026-10 release or later, compose-farm 1.22.0 or later, LaraDashboard 1.5.0 or later. Check each project's release notes to confirm the fix is in.
  2. llama.cpp: never expose rpc-server outside a trusted network; bind it to 127.0.0.1 or a firewalled private interface.
  3. openIMIS: after updating, rotate the JWT signing keys and database credentials if the instance was reachable. A past file read isn't undone by the patch.
  4. compose-farm: put the UI behind a reverse proxy with authentication, and use a dedicated browser profile for admin work.
  5. LaraDashboard: limit the module.create permission to the bare minimum and only install modules from known sources.

Why Continuous Monitoring Matters for Self-Hosted Tools

None of these four projects has a CPE configuration in NVD, so monitoring that only searches by CPE never sees them. Yet they run with high privileges, on GPU boxes, Docker hosts or health insurance databases.

With cveo.tech, register the open source tools you host along with their versions and get an automatic alert as soon as a critical CVE affects them, even before NVD has analyzed it.

Know which CVEs hit the versions you run.

Add the product and its version: cveo.tech lists the CVEs that affect it right away, then alerts you by email when a new one affects it — including before NVD has finished its analysis. Free, an account is all it takes.

Every Monday

The week's critical CVEs, in your inbox

One email a week: the CVSS ≥ 9 vulnerabilities published in the last seven days, plus our latest analyses. Nothing else.

Double opt-in by email. Unsubscribe in one click, any time.