Skip to content

Commit 2527c52

Browse files
authored
To address and fix CVE-2025-6985 for XXE Vulnerability in langchain-text-splitters (#1774)
* fix CVE-2025-6985 for XXE Vulnerability in langchain-text-splitters * update n skip pip-audit social-auth-app-django vulnerability issue * fix pip compile
1 parent 373a750 commit 2527c52

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

.github/workflows/pip_audit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,6 @@ jobs:
6868
# pip 25.3 is not released yet
6969
# See: https://github.com/advisories/GHSA-4xh5-x5gv-qwph
7070
GHSA-4xh5-x5gv-qwph
71+
# To remove once we upgrade to Django 5+ (requires major version upgrade)
72+
# social-auth-app-django vulnerability requires Django>=5.1
73+
GHSA-wv4w-6qv2-qqfg

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ dependencies = [
3030
'jinja2~=3.1.6',
3131
'langchain~=0.3.10',
3232
'langchain-ollama~=0.3.5',
33+
'langchain-text-splitters~=0.3.11',
3334
'launchdarkly-server-sdk~=8.3.0',
3435
'llama-stack-client>=0.2.12',
3536
'protobuf~=5.29.5',

requirements-aarch64.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,15 +253,17 @@ jwcrypto==1.5.6
253253
# django-oauth-toolkit
254254
langchain==0.3.26
255255
# via -r requirements.in
256-
langchain-core==0.3.69
256+
langchain-core==0.3.79
257257
# via
258258
# langchain
259259
# langchain-ollama
260260
# langchain-text-splitters
261261
langchain-ollama==0.3.5
262262
# via -r requirements.in
263-
langchain-text-splitters==0.3.8
264-
# via langchain
263+
langchain-text-splitters==0.3.11
264+
# via
265+
# -r requirements.in
266+
# langchain
265267
langsmith==0.4.8
266268
# via
267269
# langchain

requirements-x86_64.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,15 +253,17 @@ jwcrypto==1.5.6
253253
# django-oauth-toolkit
254254
langchain==0.3.26
255255
# via -r requirements.in
256-
langchain-core==0.3.69
256+
langchain-core==0.3.79
257257
# via
258258
# langchain
259259
# langchain-ollama
260260
# langchain-text-splitters
261261
langchain-ollama==0.3.5
262262
# via -r requirements.in
263-
langchain-text-splitters==0.3.8
264-
# via langchain
263+
langchain-text-splitters==0.3.11
264+
# via
265+
# -r requirements.in
266+
# langchain
265267
langsmith==0.4.8
266268
# via
267269
# langchain

requirements.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jinja2==3.1.6
4747
jsonpickle==3.3.0
4848
langchain==0.3.26
4949
langchain-ollama==0.3.5
50+
# CVE-2025-6985: XXE Vulnerability fixed in 0.3.9+
51+
langchain-text-splitters==0.3.11
5052
launchdarkly-server-sdk==8.3.0
5153
llama-stack-client>=0.2.12
5254
protobuf==5.29.5

0 commit comments

Comments
 (0)