Pyro PPL code execution via unsafe unpickling in ParamStoreDict.load
Affects Pyro through 1.9.2 (pyro-ppl on PyPI) when ParamStoreDict.load() is used on crafted parameter files. The checked facts list no fixed version.
- Exploited
- Proof of concept public, per CISA
- Fix
- No fix listed
- Who is exposed
- Specific setups only
Summary
Pyro, through version 1.9.2, has an insecure deserialization flaw in its ParamStoreDict.load() function, which loads parameter files with unsafe unpickling. An attacker who tricks a user into loading a crafted parameter file can run arbitrary code with the privileges of the Python process, and this requires local access and some user action.
Written by a model
Original description
Pyro through 1.9.2 contains an insecure deserialization vulnerability in ParamStoreDict.load() that calls torch.load with weights_only=False, unpickling arbitrary Python objects. Attackers can trick users into loading a crafted parameter file defining __reduce__ to execute code with the privileges of the Python process.
Who should check
Teams running pyro-ppl Pyro 1.9.2 or earlier from PyPI that load parameter files with ParamStoreDict.load()
“Pyro through 1.9.2 contains an insecure deserialization vulnerability in ParamStoreDict.load()”
What to do
Check whether your setup matches what the bug needs.
Pyro through version 1.9.2 (pyro-ppl pyro on PyPI) A victim must load a crafted parameter file through ParamStoreDict.load()Workaround: Until a fix is available, avoid loading parameter files through ParamStoreDict.load() unless they come from a trusted source.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-136160 (Pyro through 1.9.2 Insecure Deserialization RCE via ParamStoreDict.load()), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-136160 (entry last updated 2026-11-24):
Affected:
- PyPI package pyro-ppl: through 1.9.2
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- Pyro through version 1.9.2 (pyro-ppl pyro on PyPI) (source: https://www.vulncheck.com/advisories/pyro-through-1.9.2-insecure-deserialization-rce-via-paramstoredict-load)
- A victim must load a crafted parameter file through ParamStoreDict.load() (source: https://www.vulncheck.com/advisories/pyro-through-1.9.2-insecure-deserialization-rce-via-paramstoredict-load)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, no login, a user action.
CISA KEV: CVE-2026-136160 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-136160 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (PyPI): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/pyro-ppl/pyro/blob/1.9.2/pyro/params/param_store.py#L321-L335
- https://github.com/pyro-ppl/pyro
- https://www.vulncheck.com/advisories/pyro-through-1.9.2-insecure-deserialization-rce-via-paramstoredict-load
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-136160
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-136160"}.Affected versions
cve.now Index
- Exploitation15/40CISA rates a proof of concept as public
- Exposure5/25Specific setups only
- Reach10/20Affects PyPI packages
- Severity9.5/10CVSS 8.5, total technical impact per CISA
- No patch5/5No patch listed yet
What would change the score
- Would score about 80 if added to CISA KEV
- Would score about 75 if CISA's SSVC rates exploitation active
- Would score about 55 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: total
- Record last updated
Evidence 6
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-136160 |
| Record | NVD · CVE-2026-136160 |
| Public exploit code 1Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub). | |
| Exploit | gist.github.com · vampiricbunny/013afada7a50789046b4a8c483df76bf |
| Other links 3 | |
| Repository | GitHub · pyro-ppl/pyro · pyro/params/param_store.py · L321-L335 |
| Repository | GitHub · pyro-ppl/pyro · Repository |
| Link | vulncheck.com · advisories/pyro-through-1.9.2-insecure-deserialization-rce-via-paramstoredict-load |
Questions about CVE-2026-136160
Is CVE-2026-136160 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
ParamStoreDict.load() calls torch.load with weights_only=False, so a crafted parameter file containing an object that runs code when unpickled can execute code with the privileges of the Python process.
Source: vulncheck.com
Which versions are affected by CVE-2026-136160?
pyro-ppl (PyPI): through 1.9.2.
Source: cve.now feed data
Am I affected, and how do I check?
Pyro through version 1.9.2 (pyro-ppl on PyPI) is affected. To check a installation, run pip show pyro-ppl or python -c "import pyro; print(pyro.__version__)" and compare the result with 1.9.2. The risk applies where parameter files are loaded through ParamStoreDict.load().
Source: vulncheck.com
How do I fix CVE-2026-136160?
The checked facts name no fixed version or vendor patch ids, so check the Pyro project's advisory for an update before relying on any release.
Source: vulncheck.com
What if there's no patch?
Until a fix is available, avoid loading parameter files through ParamStoreDict.load() unless they come from a trusted source.
Source: vulncheck.com
Related
- CVE-2026-129514Unauthenticated remote code execution through struct values in Erlang term request bodies
- CVE-2026-134019PyTables: Remote code execution via auto-unpickled HDF5 attributes
- CVE-2026-131754WordPress APCu Manager plugin <= 4.6.1 - PHP Object Injection vulnerability
- CVE-2026-132726Echo: legacy event_extra goes to unserialize() with no class limit; a vendor class turns it into PHP code execution in the job runner
- CVE-2026-130411Code execution through deserialization of pagination cursors in flop
- CVE-2026-124283Code execution and SQL injection via struct-wrapped values in a forged keyset pagination cursor in Ash
No corrections so far. Something wrong on this page? Report an error.