Skip to main content
Vulnerability Database/CVE-2026-108760

CVE-2026-108760: LlamaFarm Information Disclosure Vulnerability

CVE-2026-108760 is an information disclosure flaw in LlamaFarm that exposes API keys and project data through an insecure server configuration. This article covers the technical details, affected versions, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-108760 Overview

CVE-2026-108760 affects LlamaFarm through version 0.0.34. The project ships an insecure default configuration that binds its FastAPI server to 0.0.0.0 on port 14345 without authentication. The lf command-line interface silently discards HOST environment overrides, preventing operators from restricting the bind address. Network-adjacent attackers can reach the project and dataset management API to read stored provider API keys, modify projects, trigger ingestion jobs, and irreversibly delete projects. The weakness is tracked under [CWE-1327: Binding to an Unrestricted IP Address].

Critical Impact

Any attacker on the same network segment can exfiltrate provider API keys and destroy LlamaFarm projects without credentials.

Affected Products

  • LlamaFarm versions through 0.0.34
  • LlamaFarm lf CLI orchestrator component
  • LlamaFarm FastAPI server component

Discovery Timeline

  • 2026-10-11 - CVE-2026-108760 published to the National Vulnerability Database (NVD)
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-108760

Vulnerability Analysis

LlamaFarm is an open-source orchestrator for local large language model (LLM) workloads. The server component exposes a FastAPI application that manages projects, datasets, and provider credentials. By default the server binds to all interfaces on TCP port 14345 and performs no authentication on its REST endpoints.

The lf CLI is the documented launcher for the server. It accepts a HOST environment variable intended to let operators restrict the listening interface. The CLI reads the variable but does not forward it to the underlying FastAPI process, so overrides to 127.0.0.1 are silently discarded. Operators who believe they have hardened the deployment remain exposed on every reachable interface.

Any host on the local network can issue requests to the API to enumerate projects, read stored provider API keys for upstream LLM services, modify project settings, trigger dataset ingestion, and issue destructive delete operations that cannot be undone.

Root Cause

The root cause is an insecure default configuration combined with a CLI argument-handling defect. The FastAPI settings in server/core/settings.py default the bind host to 0.0.0.0. The CLI orchestrator in cli/cmd/orchestrator/services.go constructs the server launch command without propagating the HOST environment variable, so user overrides never reach the FastAPI process. Review the referenced lines in the GitHub LlamaFarm Settings Code and GitHub LlamaFarm Services Code for the specific defect.

Attack Vector

Exploitation requires network adjacency to the host running LlamaFarm. The attacker sends unauthenticated HTTP requests to port 14345 and interacts directly with the project and dataset management endpoints. No user interaction, prior authentication, or elevated privileges are needed. Technical write-ups are available in the VulnCheck LlamaFarm Security Advisory and the HackMD LlamaFarm API Vulnerability analysis.

Detection Methods for CVE-2026-108760

Indicators of Compromise

  • Unexpected inbound TCP connections to port 14345 from hosts outside the operator workstation
  • API requests to LlamaFarm project or dataset endpoints originating from unknown source addresses
  • Unexplained project deletions, modifications, or new ingestion jobs in LlamaFarm logs
  • Outbound requests to upstream LLM providers using API keys from unexpected source hosts

Detection Strategies

  • Inventory hosts running LlamaFarm and confirm whether port 14345 is reachable from untrusted network segments
  • Audit FastAPI server access logs for requests to project, dataset, and settings endpoints
  • Correlate provider API key usage with authorized LlamaFarm host activity to spot credential theft

Monitoring Recommendations

  • Alert on new listeners bound to 0.0.0.0:14345 on developer and server endpoints
  • Monitor for destructive HTTP methods (DELETE, PUT) against the LlamaFarm API from non-local sources
  • Track provider API key rotation events and failed authentication at upstream LLM providers

How to Mitigate CVE-2026-108760

Immediate Actions Required

  • Restrict network access to port 14345 using host firewalls so only 127.0.0.1 can connect
  • Rotate any provider API keys stored in LlamaFarm configurations on affected hosts
  • Review LlamaFarm logs for unauthorized project or dataset activity and restore from backups if deletion occurred

Patch Information

At the time of publication, no fixed release beyond LlamaFarm 0.0.34 is referenced in the advisory. Monitor the GitHub LlamaFarm Repository for an update that both changes the default bind address and correctly honors the HOST override in the lf CLI.

Workarounds

  • Launch the FastAPI server directly with an explicit bind to 127.0.0.1 instead of using the lf CLI
  • Place LlamaFarm behind an authenticating reverse proxy that terminates connections and enforces access control
  • Deploy LlamaFarm inside an isolated network namespace or container with no exposed interfaces
bash
# Configuration example: restrict LlamaFarm to localhost at the host firewall
sudo iptables -A INPUT -p tcp --dport 14345 ! -s 127.0.0.1 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.