Skip to content

[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
donny-devops/advisory-improvement-8929from
donny-devops-GHSA-q9r5-6hrr-9ph7
Open

[GHSA-q9r5-6hrr-9ph7] Hugging Face smolagents: Unsafe deserialization in Remote Python Executor leads to RCE#8929
donny-devops wants to merge 1 commit into
donny-devops/advisory-improvement-8929from
donny-devops-GHSA-q9r5-6hrr-9ph7

Conversation

@donny-devops

Copy link
Copy Markdown

Updates

  • Affected products

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.

Copilot AI review requested due to automatic review settings August 1, 2026 03:38
@github-actions
github-actions Bot changed the base branch from main to donny-devops/advisory-improvement-8929 August 1, 2026 03:39

Copilot AI left a comment

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.

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 modified timestamp 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",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants