-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Python: Prevent pickle deserialization of untrusted HITL HTTP input #4566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ahmedmuhsin
merged 10 commits into
main
from
fix/pickle-deserialization-vulnerability-v2
Mar 10, 2026
+142
−11
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
4c068fb
fix: prevent pickle deserialization of untrusted HITL input
ahmedmuhsin 87a5a18
refactor: address review concerns for pickle fix
ahmedmuhsin ce4be42
fix: simplify warning message and fix ruff RUF001 lint
ahmedmuhsin 33cdb61
fix: suppress pyright reportPrivateUsage on core marker imports
ahmedmuhsin 6f2078e
Lower marker-strip log from warning to debug to avoid log flooding
ahmedmuhsin bfd0ec8
Replace assert with RuntimeError for marker sync checks (ruff S101)
ahmedmuhsin 2da23b6
Fix pyright and ruff CI errors in security fix
ahmedmuhsin 1d099ca
Remove duplicate end-to-end test in TestStripPickleMarkers
ahmedmuhsin c71e0ae
Suppress mypy redundant-cast on list cast needed by pyright
ahmedmuhsin ba96ca1
Merge branch 'main' into fix/pickle-deserialization-vulnerability-v2
ahmedmuhsin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.