Descrizione
Langfuse is an open source large language model engineering platform. From version 3.68.0 to before version 3.167.0, there is a role-based-access control flaw in the LLM connection update flow. An authenticated, low-privileged user of role “member” in a project could request the update of an existing LLM connection to an attacker-controlled baseUrl, causing Langfuse to reuse the stored provider secret and redirect the test request to an attacker-controlled endpoint. This could expose the plaintext provider LLM API key for that connection. The attack is only possible if a user is already part of a project and has “member” scoped access. This issue has been patched in version 3.167.0.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.4.
Versioni da aggiornare
- Langfuse Langfuse: vulnerabili le versioni dalla
3.68.0precedenti alla3.167.0→ aggiornare alla3.167.0o successiva.
Patch e advisory
- Patch: github.com/langfuse/langfuse/commit/7527bb0d84b…
- Patch: github.com/langfuse/langfuse/commit/e12386f9d43…
- Patch: github.com/langfuse/langfuse/pull/13027
- Patch: github.com/langfuse/langfuse/pull/13055
- Mitigazione: github.com/langfuse/langfuse/security/advisorie…
- Note di rilascio: github.com/langfuse/langfuse/releases/tag/v3.167.0
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Restringere l'accesso al componente, applicare il principio del minimo privilegio e controllare i log per operazioni non autorizzate.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Langfuse | Langfuse | ≥ 3.68.0 < 3.167.0 | 3.167.0 |
Riferimenti
- Patchhttps://github.com/langfuse/langfuse/commit/7527bb0d84bc0a3dc24a4b16d22ed2e46e6dddff
- Patchhttps://github.com/langfuse/langfuse/commit/e12386f9d4368bbfff24a4ad7fd53641091605ff
- Patchhttps://github.com/langfuse/langfuse/pull/13027
- Patchhttps://github.com/langfuse/langfuse/pull/13055
- Mitigazionehttps://github.com/langfuse/langfuse/security/advisories/GHSA-2524-j966-gfgh
- Note di rilasciohttps://github.com/langfuse/langfuse/releases/tag/v3.167.0