From 72c4d7997af966f6b5cda0c6ec0437a8a1ff0d9b Mon Sep 17 00:00:00 2001 From: Inferencebot Date: Fri, 27 Nov 2026 20:00:51 +0000 Subject: [PATCH] librechat: exempt internal SearXNG from the web-search SSRF guard --- librechat.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/librechat.yaml b/librechat.yaml index a929d6d..342372f 100644 --- a/librechat.yaml +++ b/librechat.yaml @@ -206,6 +206,12 @@ speech: # KEENABLE_FETCH_URL (internal app, no third party). The instance URL is an # env-var reference (real values never live in the YAML). webSearch: + # SearXNG is reached on the internal container network, which resolves into + # private address space; LibreChat's SSRF guard blocks that unless the + # destination is explicitly exempted. Keep this host:port in step with + # SEARXNG_INSTANCE_URL (it is the search app's container hostname). + allowedAddresses: + - "01579db7-20c2-4f8c-b4fa-f0b6bec4a3dd:8888" searchProvider: "searxng" searxngInstanceUrl: "${SEARXNG_INSTANCE_URL}" searxngSearchOptions: