Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements/build.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ wheel
jinja2>=3.1.6
regex
build
protobuf
protobuf >= 6.33.5
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-critical critical

The specified protobuf version 6.33.5 does not exist. This will cause dependency installation to fail.

Based on the security advisory linked in the pull request description (GHSA-7gcm-g887-7qv7), a patched version should be used. To fix the vulnerability while staying on the 4.x series of protobuf, I recommend using protobuf >= 4.21.9, <5.

protobuf >= 4.21.9, <5

grpcio-tools
2 changes: 1 addition & 1 deletion requirements/common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ blake3
py-cpuinfo
transformers >= 4.56.0, < 5
tokenizers >= 0.21.1 # Required for fast incremental detokenization.
protobuf # Required by LlamaTokenizer, gRPC.
protobuf >= 6.33.5 # Required by LlamaTokenizer, gRPC. CVE-2026-0994
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-critical critical

The specified protobuf version 6.33.5 is incorrect and does not exist. Additionally, the CVE number CVE-2026-0994 is a typo. The correct CVE for the linked advisory is CVE-2022-3171.

I suggest updating both the version and the CVE number in the comment. To fix the vulnerability while staying on the 4.x series of protobuf, a safe version pin would be >= 4.21.9, <5.

protobuf >= 4.21.9, <5 # Required by LlamaTokenizer, gRPC. CVE-2022-3171

fastapi[standard] >= 0.115.0 # Required by FastAPI's form models in the OpenAI API server's audio transcriptions endpoint.
aiohttp
openai >= 1.99.1 # For Responses API with reasoning content
Expand Down