mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-22 07:31:05 +08:00
## Summary Old `zhipuai==2.0.1` SDK (MetaGLM/zhipuai-sdk-python-v4) requires `pyjwt~=2.8.0`, which blocks upgrading pyjwt past 2.8.0 to address active CVEs. The upstream project now recommends the maintained successor [`zai-sdk`](https://github.com/zai-org/z-ai-sdk-python). `zai-sdk` relaxes the pyjwt constraint to `>=2.9.0,<3.0.0`, allowing pyjwt 2.13.0+. The embedding API surface (`client.embeddings.create`) is identical, no functional changes required. Related CVE's: - CVE-2026-48522 - CVE-2026-48524 - CVE-2026-48525 - CVE-2026-48526 - CVE-2026-32597