Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Critical

RCE via Hydra instantiate() on untrusted model metadata in Salesforce Uni2TS (<= 1.2.0)

IdentifiersCVE-2026-22584CWE-94· Improper Control of Generation of…

Salesforce Uni2TS through 1.2.0 is vulnerable to code injection leading to remote code execution when loading a crafted/poisoned model that supplies attacker-controlled configuration/metadata. The issue arises from Uni2TS passing untrusted model configuration data (e.g., from Hugging Face model config/metadata) into Meta Hydra’s hydra.utils.instantiate() without sufficient validation/allowlisting. Because Hydra instantiate() can invoke arbitrary Python callables specified via configuration (e.g., builtins.exec/eval or os.system) and attacker-controlled arguments, a malicious model can trigger execution of attacker-supplied code during model load/initialization on macOS, Windows, or Linux.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows execution of attacker-controlled code in the security context of the process loading the model (e.g., a training/inference service, notebook, or application using Uni2TS). This can lead to full compromise of the host/application environment, including data theft, credential access, and follow-on actions consistent with arbitrary code execution.

Mitigation

If you can’t patch tonight, do this now.

Do not load Uni2TS models from untrusted sources. Treat model artifacts and their metadata/config as untrusted input; restrict model loading to vetted repositories and pinned hashes. Where feasible, run model loading in a sandboxed environment (container/VM with least privilege, no sensitive credentials, restricted egress) to reduce blast radius. Monitor/alert on unexpected process execution or network activity during model load.

Remediation

Patch, then assume compromise.

Apply Salesforce’s fix for CVE-2026-22584 (patched July 31, 2025) by upgrading Uni2TS to a version that includes strict validation/allowlisting of permitted Hydra instantiation targets (i.e., a release later than 1.2.0, per the advisory). Ensure downstream deployments (containers, notebooks, inference services) are rebuilt with the fixed dependency version.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
SalesforceUni2tsapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

ACTIVITY FEED

Recent activity

11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity7

Community discussion across Reddit, Mastodon, and other social sources.