CVE-2026-30960: Rssn RSSN Has Arbitrary Code Execution Vulnerability

CRITICAL
Advisory Identifier: GHSA-9c4h-pwmf-m6fj
Advisory Summary

CVE-2026-30960 is a CRITICAL rssn has arbitrary code execution vulnerability (CWE-15: External Control of System or Configuration Setting) affecting Rssn libraries in the crates.io ecosystem. The issue involves rssn has arbitrary code execution via unvalidated jit instruction generation in c-ffi interface. Remediation is available by upgrading affected packages to version 0.2.9.

CVE-2026-30960 at a Glance

CVE Identifier CVE-2026-30960
GHSA Identifier GHSA-9c4h-pwmf-m6fj
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-15: External Control of System or Configuration Setting
Affected Product Rssn
Package Ecosystem crates.io
Published Date
Last Updated

How to Fix CVE-2026-30960

To remediate this vulnerability, upgrade all affected Rssn dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

rssn fixed: 0.2.9
Upgrade rssn to 0.2.9
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for rssn

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-30960, inspect your project dependencies for Rssn:

inspect dependencies for rssn

Analyze the terminal output to locate any version of Rssn in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.2.9), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-15: External Control of System or Configuration Setting, where one or more system settings or configuration elements can be externally controlled by a user. In Rssn, 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

## 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 [Apich Organization Security Team Homepage](https://security.apich.org/)

CVE-2026-30960 Affected Rssn Versions

1 component(s)
Fixed Versions:
0.2.9
Product / Package Ecosystem Affected Versions Fixed Version
rssn
crates.io
< 0.2.9
0.2.9

References

Frequently Asked Questions

What is CVE-2026-30960?
CVE-2026-30960 is a security vulnerability in Rssn involving RSSN has Arbitrary Code Execution via Unvalidated JIT Instruction Generation in C-FFI Interface under CWE-15: External Control of System or Configuration Setting.
Which Rssn versions are affected?
Affected versions include releases prior to 0.2.9 across affected packages: rssn.
What version fixes CVE-2026-30960?
Upgrading to 0.2.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is rssn affected?
Yes, rssn is affected in releases prior to 0.2.9. Upgrade your dependency to 0.2.9 or later.
What CWE is associated with CVE-2026-30960?
CVE-2026-30960 is classified under CWE-15: External Control of System or Configuration Setting (One or more system settings or configuration elements can be externally controlled by a user.).
How can I check crates.io dependencies for CVE-2026-30960?
Run the dependency tree command: 'inspect dependencies for rssn'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9c4h-pwmf-m6fj",
  "modified" : "2026-03-10T18:40:24Z",
  "published" : "2026-03-10T01:19:29Z",
  "aliases" : [ "CVE-2026-30960" ],
  "summary" : "RSSN has Arbitrary Code Execution via Unvalidated JIT Instruction Generation in C-FFI Interface",
  "details" : "## Impact\n\n**Vulnerability Type**: \nImproper 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).\n\n**Technical Details**:\nThe 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.\n\n## Who is Impacted?\n\n * Developers using the library as a dynamic linked library (.so, .dll, .dylib) in multi-language environments (e.g., Python, Node.js, C++).\n * Cloud Service Providers running the library in multi-tenant environments or automated model-training pipelines.\n * Users processing untrusted or third-party datasets/models that may trigger malicious JIT instruction generation.\nPatches\n * Affected versions: < 0.2.8\n * Patched version: 0.2.9\n\n## Workarounds\n\nIf you cannot upgrade immediately, please consider the following mitigations:\n * 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.\n * Principle of Least Privilege: Ensure the process calling the library does not have administrative or root privileges.\n * Input Filtering: If possible, implement an application-level validation layer to sanitize any data passed to the CFFI interfaces.\n * Disable JIT (if applicable): If your workload allows, use the interpreter-only mode (if provided by the library) to bypass the JIT engine entirely.\nCVSS Score\n * 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\n * Base Score: 9.4 (Critical)\n\n## References\n\n[Apich Organization Security Team Homepage](https://security.apich.org/)",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "rssn"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.2.9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/Apich-Organization/rssn/security/advisories/GHSA-9c4h-pwmf-m6fj"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-30960"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Apich-Organization/rssn"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Apich-Organization/rssn/releases/tag/v0.2.9"
  }, {
    "type" : "WEB",
    "url" : "https://rustsec.org/advisories/RUSTSEC-2026-0038.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-15", "CWE-20", "CWE-269", "CWE-695", "CWE-754", "CWE-94" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-10T01:19:29Z",
    "nvd_published_at" : "2026-03-10T18:18:55Z"
  }
}