Bump onnx to 1.22.0 and protobuf to 6.33.5 to fix security CVEs#29606
Merged
Conversation
Update pinned dependencies in the llama and phi2 transformer model requirements to their patched versions, clearing the flagged 1ES Component Governance alerts. Package changes: - onnx: 1.18.0 -> 1.22.0 (llama, phi2) - protobuf: 4.25.8 -> 6.33.5 (llama) onnx 1.18.0 -> 1.22.0 (patched in 1.21.0) resolves: - CVE-2026-27489: path traversal via symlink (arbitrary file read) - CVE-2026-34445: unsafe setattr in ExternalDataInfo (object property overwrite via crafted model) - CVE-2026-28500: onnx.hub.load() trust-check bypass via silent=True - GHSA-q56x-g2fj-4rj6: TOCTOU arbitrary file read/write in save_external_data protobuf 4.25.8 -> 6.33.5 resolves: - CVE-2026-0994: recursion-depth bypass in json_format.ParseDict() causing DoS (no fix in the 4.25.x line; patched in 5.29.6 / 6.33.5) Versions align with the onnx==1.22.0 / protobuf==6.33.5 pairing already used across the repo's CI and transformers-test requirements. Files: - onnxruntime/python/tools/transformers/models/llama/requirements.txt - onnxruntime/python/tools/transformers/models/phi2/requirements.txt
devang-ml
approved these changes
Jul 7, 2026
kunal-vaishnavi
approved these changes
Jul 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update pinned dependencies in the llama and phi2 transformer model requirements to their patched versions, clearing the flagged 1ES Component Governance alerts.
Package changes:
onnx 1.18.0 -> 1.22.0 (patched in 1.21.0) resolves:
protobuf 4.25.8 -> 6.33.5 resolves:
Versions align with the onnx==1.22.0 / protobuf==6.33.5 pairing already used across the repo's CI and transformers-test requirements.
Files: