/

CVE-2026-67961

Severity:

HIGH RISK

(7.8)

Code Injection (CWE-94) in O2OA Invoke Script Sandbox

CVE-2026-67961

Deferred

Vulnerability type

Category:

Code Injection

CWE:

CWE-94

Impact:

Arbitrary Code Execution

Severity:

HIGH RISK

(7.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

O2OA contains a code injection vulnerability in the sandbox mechanism used for Invoke script execution. A local attacker who can reach the relevant script-execution functionality may execute arbitrary code in the privileges of the affected O2OA process.

Affected context

The issue occurs in O2OA deployments that expose or permit access to the Invoke script execution mechanism and rely on its sandbox to constrain script behavior. Risk is higher when untrusted or insufficiently controlled users can submit scripts, invoke execution, or otherwise influence the code processed by this component.

Exploit preconditions

  • Attack surface: The O2OA Invoke script execution interface or an associated local execution path
  • Required access: Local access or authenticated permissions sufficient to reach the script-execution functionality
  • Trigger point: Processing and execution of attacker-influenced script content by the sandbox
  • Why exploitation is possible: The sandbox does not reliably prevent script content from reaching executable operations, allowing injected code to run with the application's permissions

Why this happens

The vulnerability reflects insufficient separation between data supplied to a script-execution feature and executable program logic. A sandbox that fails to enforce a complete and restrictive execution boundary may allow attacker-controlled script content to invoke unintended operations. This behavior maps to CWE-94: Improper Control of Generation of Code, commonly known as code injection.

Potential impact

  • An attacker may execute arbitrary code in the O2OA process context
  • Application data may be read, modified, or deleted
  • Service availability could be disrupted
  • Credentials or other secrets accessible to the process may be exposed
  • The affected host could be used for further unauthorized activity

General mitigation guidance

Mitigation generally focuses on eliminating unnecessary execution of untrusted scripts and enforcing a genuine least-privilege execution boundary.

Common defensive patterns include:

  • Prefer declarative, allowlisted operations over general-purpose script execution
  • Apply strict validation and context-aware handling to script inputs
  • Use a deny-by-default capability model for sandboxed code
  • Run script execution in an isolated component with minimal filesystem, network, and process privileges
  • Restrict access to Invoke functionality to trusted administrative roles
  • Avoid exposing execution interfaces to untrusted users or networks
  • Separate application credentials and secrets from script-execution environments

How teams detect issues like this

Organizations can look for this class of issue through:

  • Static analysis rules identifying dynamic evaluation, runtime compilation, or unrestricted interpreter calls
  • Code review signals involving sandbox boundaries, reflection, command execution, and user-controlled script content
  • Tests that verify denied operations remain inaccessible under realistic attacker-controlled inputs
  • Application logging and policy enforcement for script submission, execution, and privilege changes
  • Monitoring for unexpected child processes, outbound connections, filesystem access, or changes initiated by the O2OA service
  • Automated security review tools that flag code-generation and dynamic-execution patterns

Sources

SourceLink
github.comgithub.com/user-attachments/files/30290070/O2OA.Invoke.Sandbox.Bypass.Vulnerability.Analysis.docx
reference1.example.comreference1.example.com/x_program_center/jaxrs/invoke/

Frequently asked

questions

The described issue requires local access, but the practical exposure depends on whether O2OA exposes the Invoke functionality through an authenticated service or another reachable interface.

An attacker generally needs permission to reach the script-execution mechanism or otherwise supply content processed by it. The necessary privilege level depends on deployment configuration and authorization controls.

Avoid executing general-purpose, untrusted scripts. Where scripting is required, use strict allowlists, a deny-by-default capability model, strong isolation, and minimal operating privileges.

Treat all user-influenced script content as untrusted, restrict execution interfaces to trusted roles, test sandbox boundaries continuously, and monitor for behavior inconsistent with the application's normal workload.

Find out what's already
exploitable in your codebase.