CVE-2026-22584: Uni2ts Remote Code Execution Vulnerability
CRITICALCVE-2026-22584 is a CRITICAL (CVSS 9.8) remote code execution vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Uni2ts libraries in the PyPI ecosystem. The issue involves salesforce uni2ts has a code injection vulnerability. Remediation is available by upgrading affected packages to version 2.0.0.
CVE-2026-22584 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-22584
To remediate this vulnerability, upgrade all affected Uni2ts dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install uni2ts>=2.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show uni2ts
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-22584, inspect your installed packages using pip:
pip show uni2ts
Analyze the terminal output to locate any version of Uni2ts in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.0), your application is affected.
Note: The pip show uni2ts command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Uni2ts, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-22584 Affected Uni2ts Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
uni2ts
|
PyPI |
< 2.0.0
|
2.0.0
|
References
Frequently Asked Questions
What is CVE-2026-22584?
Which Uni2ts versions are affected?
What version fixes CVE-2026-22584?
Is uni2ts affected?
What is the CVSS score of CVE-2026-22584?
What CWE is associated with CVE-2026-22584?
How can I check PyPI dependencies for CVE-2026-22584?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7x99-8x99-xc54",
"modified" : "2026-01-21T21:17:51Z",
"published" : "2026-01-10T00:30:30Z",
"aliases" : [ "CVE-2026-22584" ],
"summary" : "Salesforce Uni2TS has a Code Injection vulnerability",
"details" : "Improper Control of Generation of Code ('Code Injection') vulnerability in Salesforce Uni2TS on MacOS, Windows, Linux allows Leverage Executable Code in Non-Executable Files.This issue affects Uni2TS: through 1.2.0.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "uni2ts"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.0.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.2.0"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-22584"
}, {
"type" : "WEB",
"url" : "https://github.com/SalesforceAIResearch/uni2ts/pull/218"
}, {
"type" : "WEB",
"url" : "https://github.com/SalesforceAIResearch/uni2ts/commit/7f2d51dd729de018f0f22504f39a8475c6fed1c4"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/SalesforceAIResearch/uni2ts"
}, {
"type" : "WEB",
"url" : "https://github.com/SalesforceAIResearch/uni2ts/releases/tag/2.0.0"
}, {
"type" : "WEB",
"url" : "https://help.salesforce.com/s/articleView?id=005239354&type=1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-21T21:17:51Z",
"nvd_published_at" : "2026-01-09T22:16:01Z"
}
}