[GHSA-q9r5-6hrr-9ph7] Hugging Face smolagents: Unsafe deserialization in Remote Python Executor leads to RCE - #8929
Open
donny-devops wants to merge 1 commit into
Conversation
github-actions
Bot
changed the base branch from
main
to
donny-devops/advisory-improvement-8929
August 1, 2026 03:39
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the advisory metadata timestamp, but does not include the affected-product or technical-evidence changes described.
Changes:
- Advances the advisory’s
modifiedtimestamp by one second.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "schema_version": "1.4.0", | ||
| "id": "GHSA-q9r5-6hrr-9ph7", | ||
| "modified": "2026-05-07T05:44:44Z", | ||
| "modified": "2026-05-07T05:44:45Z", |
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.
Updates
Comments
Adding supporting evidence to clarify the exploitability of the Remote Python Executor deserialization flaw. The current advisory does not fully describe how untrusted pickle data leads to arbitrary code execution. This update provides clearer technical context, aligns the advisory with CWE‑502, and references publicly available proof‑of‑concept material demonstrating the unsafe deserialization behavior.
Technical Evidence
The vulnerability stems from the Remote Python Executor accepting and deserializing user‑supplied pickle payloads without validation.
Pickle is known to allow arbitrary object instantiation during deserialization, which can be weaponized to execute attacker‑controlled code.
This behavior matches CWE‑502: Deserialization of Untrusted Data, which is already selected in the advisory.
Multiple security research sources document that unsafe pickle deserialization is trivially exploitable for RCE when attacker‑controlled input is accepted.