CVE-2026-30960 — Vulnerability in rssn — CVE Details
RSSN has Arbitrary Code Execution via Unvalidated JIT Instruction Generation in C-FFI Interface
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.23%). Schedule for your next planned update.
Does your project use an affected rssn version?
Paste your Cargo.lock to check it for CVE-2026-30960 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
Vulnerability Type: Improper Control of Generation of Code ('Code Injection') (CWE-94) / Improper Check for Unusual or Exceptional Conditions (CWE-754) / Improper Input Validation (CWE-20) / Use of Low-Level Functionality (CWE-695) / Improper Privilege Management (CWE-269) / External Control of System or Configuration Setting (CWE-15).
Technical Details: The vulnerability exists in the JIT (Just-In-Time) compilation engine, which is fully exposed via the CFFI (Foreign Function Interface). Due to Improper Input Validation and External Control of Code Generation, an attacker can supply malicious parameters or instruction sequences through the CFFI layer. Since the library often operates with elevated privileges or within high-performance computing contexts, this allows for Arbitrary Code Execution (ACE) at the privilege level of the host process.
Who is Impacted?
- Developers using the library as a dynamic linked library (.so, .dll, .dylib) in multi-language environments (e.g., Python, Node.js, C++).
- Cloud Service Providers running the library in multi-tenant environments or automated model-training pipelines.
- Users processing untrusted or third-party datasets/models that may trigger malicious JIT instruction generation. Patches
- Affected versions: < 0.2.8
- Patched version: 0.2.9
Workarounds
If you cannot upgrade immediately, please consider the following mitigations:
- Strict Sandboxing: Run the library within a restricted sandbox (e.g., WebAssembly, Docker with non-root user, or seccomp profiles) to limit system call access.
- Principle of Least Privilege: Ensure the process calling the library does not have administrative or root privileges.
- Input Filtering: If possible, implement an application-level validation layer to sanitize any data passed to the CFFI interfaces.
- Disable JIT (if applicable): If your workload allows, use the interpreter-only mode (if provided by the library) to bypass the JIT engine entirely. CVSS Score
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- Base Score: 9.4 (Critical)
References
Advisory Timeline
- First published March 10, 2026 (261 days ago).
- Last revised March 10, 2026 — 1 day after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p rssn --precise 0.2.9
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: crates.io (1).
| Package | Fixed In |
|---|---|
| rssn crates.io · Affected: All versions | 0.2.9 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.3 score means for each attack dimension.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
References
- https://github.com/Apich-Organization/rssn/security/advisories/GHSA-9c4h-pwmf-m6fjWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-30960ADVISORY
- https://github.com/Apich-Organization/rssnPACKAGE
- https://github.com/Apich-Organization/rssn/releases/tag/v0.2.9WEB
- https://rustsec.org/advisories/RUSTSEC-2026-0038.htmlWEB
Frequently Asked Questions
- What is CVE-2026-30960?
- RSSN has Arbitrary Code Execution via Unvalidated JIT Instruction Generation in C-FFI Interface. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.3/10).
- How do I check if my project is affected by CVE-2026-30960?
- CVE-2026-30960 affects rssn. It has a 0.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-30960 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 8% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- RUSTSEC-2026-0501CRITICAL
Shamir backup recovery accepts a share at x = 0, so a supplied share can substitute the recovered private key
- CVE-2026-69157CRITICAL
Atomic Server: Unauthenticated `/setup` invite grants write access to the entire Drive