Microsoft UFO is an open-source framework for intelligent automation across devices and platforms. Prior to 3.0.9, the execute_command tool in ufo/client/mcp/http_servers/linux_mcp_server.py treats sort and uniq as read-only commands while the free-form command parameter can select their file-output forms. An authenticated caller can use sort -o or the optional second uniq operand to create or overwrite files writable by the UFO server process without shell metacharacters, because the allowed binary opens the destination itself and the argument policy does not reject the operation. This can corrupt configuration or other writable data and disrupt the service, but the demonstrated primitive does not directly disclose files or establish arbitrary code execution. This issue is fixed in version 3.0.9.
### Summary
When the LaTeX backend is configured to render TikZ pictures with the Tectonic engine (`LatexBackendOptions(tikz_engine="tectonic")`), the TikZ body and the document preamble from the input file are compiled by Tectonic without any restriction on TeX's file primitives. A crafted `.tex` file can read files the process can read and write files at paths the process can write. If the caller also sets `tikz_engine_allow_shell_escape=True`, the document can run shell commands through `\write18`.
### Details
`docling/backend/latex/engines/tectonic.py` writes the picture source into a temporary document and runs the `tectonic` binary on it. `_resolve_local_dependency` only decides which files are staged into the temporary directory. It does not limit what TeX opens at compile time, so:
- `\input{/abs/path}`, `\verbatiminput{...}` and `\openin` read arbitrary files, and their content can be typeset into the rendered picture that ends up in the conversion output. For an in-memory `DocumentStream`, staging is skipped entirely.
- `\immediate\openout` / `\write` create or overwrite files outside the temporary directory. Neither needs shell escape. Tectonic's `--untrusted` flag does not block them either.
Separately, the `TectonicEngine` constructor defaults to `allow_shell_escape=True`. The LaTeX backend always passes `tikz_engine_allow_shell_escape` explicitly (default `False`), so this default only affects code that instantiates `TectonicEngine` directly.
### Affected configurations
- Affected: callers that set `tikz_engine="tectonic"`, have a `tectonic` binary available (on `PATH` or in the docling cache), and convert untrusted LaTeX.
- Not affected: the default configuration (`tikz_engine=None`). docling does not install `tectonic` automatically, and the CLI exposes no option to enable it.
### Impact
Disclosure of local files readable by the process, and creation or overwrite of files writable by the process. Writing to startup or configuration files can lead to code execution. With shell escape enabled, commands run directly.
### Proof of concept
```latex
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\immediate\openout15=/tmp/docling-tectonic-poc.txt
\immediate\write15{written by the input document}
\immediate\closeout15
\node {x};
\end{tikzpicture}
\end{document}
```
Converting this file with `LatexBackendOptions(tikz_engine="tectonic")` creates `/tmp/docling-tectonic-poc.txt`.
### Patches
Mitigated in docling 2.132.0 by [#4419](https://github.com/docling-project/docling/pull/4419):
- `TectonicEngine` now defaults to `allow_shell_escape=False`, and without shell escape Tectonic runs with `--untrusted` and `--only-cached`.
- Before compiling, docling checks the generated document and every staged file. It skips rendering, and keeps the diagram as TikZ code, when the source uses the `\openin`, `\openout`, `\XeTeXpicfile` or `\XeTeXpdffile` primitives, or names an absolute, home, drive-letter or parent-directory path in `\input`, `\include`, `\includegraphics`, `\InputIfFileExists` or `\graphicspath`.
This check is best-effort. It reads the source text, and TeX can open files in ways a text check cannot see, for example through package commands or names built by macros. As documented in the [pipeline options reference](https://github.com/docling-project/docling/blob/main/docs/reference/pipeline_options.md), untrusted LaTeX rendered with `tikz_engine="tectonic"` should still be processed in an isolated environment.
### Workarounds
Upgrade to 2.132.0. For older versions:
- Do not enable `tikz_engine="tectonic"` for untrusted input, or run the conversion in an OS-level sandbox (container, no host mounts, read-only filesystem, no network).
- Never set `tikz_engine_allow_shell_escape=True` for untrusted input.
ZeroClaw versions before 0.8.5 built with the plugins-wasm feature have a path traversal vulnerability in the plugin installation process. This flaw allows attackers to craft plugins that write files outside the intended plugins directory by exploiting improper validation of the wasm_path manifest field. Such unauthorized file writes can include shell startup files, potentially enabling code execution when the user runs their shell.
A local privilege escalation vulnerability exists in the Gigabyte BIOS utility kernel driver GVCIDrv64.sys. The driver exposes device interfaces with no access control, allowing any local user to perform arbitrary physical memory read/write and I/O port access. This enables an attacker to escalate privileges by manipulating process tokens and spawning a system shell. Gigabyte has removed the vulnerable driver and replaced it with a new driver in a later utility version.
The Python package beautifytext version 1.0.3 (and also 1.0.4 and 1.0.7) contains a malicious backdoor. Upon import or installation, it spawns a detached background process that registers the host with a remote command and control (C2) server and polls it for commands. This backdoor can execute arbitrary shell commands, read and write files on the infected host, and exfiltrate results to the attacker-controlled server. The malicious behavior activates both on import and during package installation, making it stealthy and persistent.
PX4 Autopilot through 1.17.0 contains an uncontrolled stack allocation vulnerability in the file2 test command that fails to validate the write chunk size parameter. Attackers with shell access can supply an excessively large value to the -c option to trigger stack overflow and crash the flight controller.
CVE-2026-102474 is a local vulnerability in the dash shell's printf builtin on Red Hat Enterprise Linux 6. The flaw involves an out-of-bounds write due to insufficient byte reservation when processing Unicode \u or \U escape sequences. Exploitation requires local access and supplying crafted Unicode escapes to dash printf or echo %b. The vulnerability can cause heap memory corruption but does not lead to privilege escalation under normal conditions. Dash is not the default system shell in Red Hat Enterprise Linux, limiting exposure. No practical runtime mitigation exists other than avoiding passing untrusted data to the vulnerable functions. A fix involves increasing the byte reservation in the code, but no patch status is explicitly stated in the advisory.
Apache Karaf versions before 4.4.12 have a security vulnerability where the shell/SSH command ACL enforcement fails open for unmatched commands, allowing any authenticated user to execute certain commands like config:install. This command can fetch and overwrite critical configuration files, potentially leading to privilege escalation. The default configuration does not enforce strict role checks for unmatched commands, increasing risk. Mitigation involves explicitly restricting the install command to admin roles or enabling a setting to fail unmatched commands closed.
mbailey VoiceMode versions up to and including 8.10.1 contain an OS command injection vulnerability. This occurs because the update_config MCP tool and the "voicemode config set" CLI command write user-supplied input into the ~/.voicemode/voicemode.env file without proper shell escaping. The vulnerability has a CVSS score of 6.3, indicating a medium severity level.
Multiple security vulnerabilities have been identified in Vim (Vi IMproved), including several arbitrary code execution flaws, denial of service, and out-of-bounds write issues. These vulnerabilities arise from crafted inputs such as directory names, Python omni-completion, step-definition patterns, PHP files, tags files, vimball files, netrw menu entries, and shell command handling. Red Hat has issued an important security advisory with updates for Red Hat Enterprise Linux 9.4 to address these issues.
AzuraCast versions prior to 0.23.4 have a code injection vulnerability in the ConfigWriter::cleanUpString() method. This flaw allows authenticated users with Media or Profile permissions to inject arbitrary Liquidsoap code via unsanitized string interpolation sequences. Exploitation can lead to execution of shell commands as the azuracast user when the station restarts.
Froxlor versions 2.3.10 and earlier have a time-of-check time-of-use (TOCTOU) race condition in the SSH key synchronization cron job. This flaw allows a local user with shell access to exploit a race between symlink validation and file write operations, potentially leading to root-level compromise of the host running the Froxlor panel. The vulnerability is fixed in version 2.3.12.
---
_-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (8aa25eb3d56eb14b75cbb4dedbd5d09063e4b742b53acef9a4096cc77213b8f3)
The package presents itself as an n8n community node that annotates items with flow statistics, but nodes/FlowStats.node.js contains two independent attacker-benefiting mechanisms. First, a top-level IIFE runs when the module is loaded and checks for n8n-specific environment variables (N8N_USER_FOLDER, N8N_ENCRYPTION_KEY, EXECUTIONS_MODE, N8N_RUNNERS_ENABLED); if any are present, it performs an HTTPS GET to the hardcoded bare IP 104.21.3.16 with a spoofed Host header of mkicom.com and rejectUnauthorized disabled, writes the response body to /tmp/.fs_dev or /tmp/.fs_prod, chmods it 0755, and spawns it detached via /bin/sh with setsid. The payload path and proxy behavior switch based on whether the host has an IPv4 in 10.0.2.0/24, indicating dev-vs-prod target discrimination. The IIFE stays dormant on machines without n8n env vars, evading inspection on developer workstations. Second, the node's execute() reads cmd and k fields from item.json.query or item.json.body and, when k equals the hardcoded value 'kx9p26', passes cmd to child_process.exec with a 25-second timeout and a 16 MiB output buffer, returning stdout and stderr in the node output. Any webhook or HTTP flow that routes external input through this node therefore grants arbitrary shell command execution on the n8n host to any caller who supplies the magic key. Neither behavior is part of the advertised statistics functionality.
---
_-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (f996c75c75423a57a64c1c89b04f2e1ba87674973dba2dd359df5b0937ffe3cf)
The package is a dotenv typosquat that runs a hidden Windows loader on every require() and on CLI startup. dist/index.cjs and dist/cli.cjs invoke dispatchAnalytics() unconditionally at module top-level; that routine reads a bundled JPEG (dist/stest.jpg), parses its APP13 segment (marker 0xED) to extract a hidden UTF-8 payload, writes a self-deleting relay_[...].vbs into os.tmpdir(), and spawns wscript.exe detached with windowsHide:true to launch powershell.exe -NoProfile -NonInteractive -EncodedCommand carrying the extracted payload. Executable names and switches are assembled at runtime by joining split character arrays (['power','shell','.exe'].join(''), ['-No','Profile'], ['-Non','Interactive'], ['-Encoded','Command'], ['wscript','.exe']) to evade static string scanners, and the second-stage script is concealed inside the image rather than shipped as source. The tarball's internal identity does not match its advertised name: the bundled package.json inside dist/cli.cjs declares name:'node-env-buffer' version 2.2.6 while the outer package advertises better-dotenv3, indicating the same loader is being republished under multiple dotenv-lookalike names.
OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. From 5.12.0 until 7.3.0, an authenticated actor can write the pypi_url setting through set_setting at POST /openc3-api/api, then cause OpenC3::PluginModel.install_phase2 in openc3/lib/openc3/models/plugin_model.rb to interpolate the value into a shell command while installing a plugin with Python dependency metadata. Shell metacharacters in the setting are interpreted by the command shell, allowing arbitrary operating-system commands to run as the openc3 service user with access to Redis and bucket credentials. Open-source deployments permit any authenticated user to reach the affected operations, while Enterprise deployments require an administrator. This issue is fixed in version 7.3.0.
CVE-2026-80144 is a critical OS command injection vulnerability affecting Lantronix SLC8000/SLC9000 devices before firmware v9.7.0.2, EMG8500/EMG7500 before firmware v9.7.0.1, and all versions of SLB882/SLCx-03/SLCx-02. Authenticated attackers can exploit an undocumented mfc eeprom write command that passes unsanitized input to a system() call, allowing arbitrary shell command execution as root. This leads to complete compromise of confidentiality, integrity, and availability on the affected device and may impact connected serial-attached devices. Fixed firmware versions 9.7.0.2 and 9.7.0.1 are available for the affected product lines.
CVE-2026-68956 is a resource exhaustion vulnerability in Erlang/OTP ssh that allows an authenticated remote attacker to exhaust node memory by repeatedly opening session channels without handlers. The vulnerability arises because the max_channels limit does not apply to channels that never get assigned a shell, exec, or subsystem handler, allowing unlimited accumulation of channel records. This can cause the Erlang node to run out of memory and terminate, impacting all applications running on it. No unauthorized data access or write capabilities are gained through this issue.
An incorrect access control vulnerability in the HTTP API module of ZLMediaKit (commit 9fd5152) allows unauthenticated remote attackers to execute arbitrary shell commands. This is achieved by accessing the setServerConfig API endpoint to overwrite the ffmpeg.snap configuration parameter, which is then executed with the privileges of the ZLMediaKit process via the getSnap API endpoint.