OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.
Python
fix: Backend CVE fixes (#1413)
Agnes George3294736f061f
diff --git a/Dockerfile.backend b/Dockerfile.backendindex c31bd676c..d2c3dcb2f 100644--- a/Dockerfile.backend+++ b/Dockerfile.backend@@ -52,7 +52,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ca-certificates \openssl \gosu \- && rm -rf /var/lib/apt/lists/*+ && rm -rf /var/lib/apt/lists/* \+ && pip install --no-cache-dir --upgrade "pip>=26.0"# Create a non-root user/group.# UID/GID 1000 is the conventional first non-root account anddiff --git a/pyproject.toml b/pyproject.tomlindex 9685ab63a..ba9fc7fa7 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -23,14 +23,15 @@ classifiers = [dependencies = ["agentd>=0.8.1","aiofiles>=24.1.0",- "cryptography>=45.0.6",+ "aiohttp>=3.13.4",+ "cryptography>=46.0.6","google-api-python-client>=2.143.0","google-auth-httplib2>=0.2.0","google-auth-oauthlib>=1.2.0","msal>=1.29.0","httpx>=0.27.0","opensearch-py[async]>=3.0.0",- "pyjwt>=2.8.0",+ "pyjwt>=2.12.0","python-multipart>=0.0.20","fastapi>=0.115.0","uvicorn>=0.35.0",@@ -51,10 +52,13 @@ dependencies = ["fastmcp>=3.2.3","openai>=2.30.0","tenacity>=9.1.4",+ "pygments>=2.20.0",+ "pyasn1>=0.6.3",+ "requests>=2.33.0",][dependency-groups]-dev = ["pytest>=8", "pytest-asyncio>=0.21.0", "pytest-mock>=3.12.0", "pytest-cov>=4.0.0"]+dev = ["pytest>=9.0.3", "pytest-asyncio>=0.21.0", "pytest-mock>=3.12.0", "pytest-cov>=4.0.0"][project.scripts]openrag = "tui.main:run_tui"diff --git a/uv.lock b/uv.lockindex 08a34eddd..ac8655d1c 100644--- a/uv.lock+++ b/uv.lock@@ -1572,6 +1572,7 @@ source = { editable = "." }dependencies = [{ name = "agentd" },{ name = "aiofiles" },+ { name = "aiohttp" },{ name = "boto3" },{ name = "cryptography" },{ name = "fastapi" },@@ -1587,10 +1588,13 @@ dependencies = [{ name = "opensearch-py", extra = ["async"] },{ name = "prometheus-fastapi-instrumentator" },{ name = "psutil" },+ { name = "pyasn1" },+ { name = "pygments" },{ name = "pyjwt" },{ name = "python-dotenv" },{ name = "python-multipart" },{ name = "pyyaml" },+ { name = "requests" },{ name = "rich" },{ name = "structlog" },{ name = "tenacity" },@@ -1613,8 +1617,9 @@ dev = [requires-dist = [{ name = "agentd", specifier = ">=0.8.1" },{ name = "aiofiles", specifier = ">=24.1.0" },+ { name = "aiohttp", specifier = ">=3.13.4" },{ name = "boto3", specifier = ">=1.35.0" },- { name = "cryptography", specifier = ">=45.0.6" },+ { name = "cryptography", specifier = ">=46.0.6" },{ name = "fastapi", specifier = ">=0.115.0" },{ name = "fastmcp", specifier = ">=3.2.3" },{ name = "google-api-python-client", specifier = ">=2.143.0" },@@ -1628,10 +1633,13 @@ requires-dist = [{ name = "opensearch-py", extras = ["async"], specifier = ">=3.0.0" },{ name = "prometheus-fastapi-instrumentator", specifier = ">=7.1.0" },{ name = "psutil", specifier = ">=7.0.0" },- { name = "pyjwt", specifier = ">=2.8.0" },+ { name = "pyasn1", specifier = ">=0.6.3" },+ { name = "pygments", specifier = ">=2.20.0" },+ { name = "pyjwt", specifier = ">=2.12.0" },{ name = "python-dotenv", specifier = ">=1.0.0" },{ name = "python-multipart", specifier = ">=0.0.20" },{ name = "pyyaml", specifier = ">=6.0" },+ { name = "requests", specifier = ">=2.33.0" },{ name = "rich", specifier = ">=13.0.0" },{ name = "structlog", specifier = ">=25.4.0" },{ name = "tenacity", specifier = ">=9.1.4" },@@ -1644,7 +1652,7 @@ requires-dist = [[package.metadata.requires-dev]dev = [- { name = "pytest", specifier = ">=8" },+ { name = "pytest", specifier = ">=9.0.3" },{ name = "pytest-asyncio", specifier = ">=0.21.0" },{ name = "pytest-cov", specifier = ">=4.0.0" },{ name = "pytest-mock", specifier = ">=3.12.0" },