Description
OliveTin gives access to predefined shell commands from a web interface. The `filterToDefinedArgumentsOnly` function in the executor is intended to discard any arguments not explicitly defined in the action's configuration. However, prior to commit ebffd9f040f791208aee1db2e5a8aecd1e3e603d, a special case allows any argument whose name starts with `ot_` to bypass this filter. While two system arguments (`ot_executionTrackingId` and `ot_username`) are injected by OliveTin and overridden, all other `ot_`-prefixed arguments supplied by the user pass through unmodified. These bypassed arguments are not type-checked — the validation loop only iterates over the action's defined arguments, so `ot_`-prefixed arguments skip all type safety checks entirely; set as environment variables — via `buildEnv()`, with completely unvalidated values, and passed to the executed command; and included in the template context — available as `.Arguments.ot_*` in template rendering. Commit ebffd9f040f791208aee1db2e5a8aecd1e3e603d contains a patch.
Published: 2026-08-21
Score: 4.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OliveTin’s executor is supposed to discard arguments not declared in an action. Before a recent patch, any argument prefixed with "ot_" bypassed this filter. Those arguments are neither type‑checked nor sanitized and are written directly to the environment of the executed command via buildEnv(). This allows a user to inject arbitrary values into environment variables that affect command execution or template rendering, creating a source for command‑line injection or template‑based disclosure. The CVSS score of 4.3 labels it a moderate‑severity flaw, indicating that successful exploitation can compromise the integrity and confidentiality of the system running OliveTin.

Affected Systems

The flaw exists in OliveTin, impacting all releases that predate the patch commit ebffd9f040f791208aee1db2e5a8aecd1e3e603d. Users running any older version that still contains the special "ot_" bypass code are vulnerable. OvalThe product is OliveTin:OliveTin, and no specific versions are listed in the advisory; therefore, all legacy builds remain affected until the fix is applied.

Risk and Exploitability

The vulnerability’s exploitability depends on access to the OliveTin web interface. An attacker who can submit custom action arguments can supply any "ot_" prefixed value. Because the values are passed unsanitized to the executed shell command, the attacker can create or manipulate environment variables that affect both the command itself and subsequent template rendering. This can lead to arbitrary command execution or privilege escalation on the host. EPSS data is not available, and the flaw is not listed in CISA’s KEV catalog, suggesting lower immediate threat, but its moderate CVSS score and lack of filtering make it a target for opportunistic abuse once an OliveTin instance is exposed.

Generated by OpenCVE AI on August 22, 2026 at 00:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update OliveTin to a version that includes the commit ebffd9f040f791208aee1db2e5a8aecd1e3e603d or later
  • If an upgrade is not immediately possible, configure OliveTin to disallow untrusted command arguments or remove the ability to accept custom ot_ prefixed parameters
  • Apply the advisory patch by replacing the special case code that bypasses filtering with the fixed implementation

Generated by OpenCVE AI on August 22, 2026 at 00:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-prj9-97mp-mwh2 OliveTin has Unvalidated `ot_`-prefixed Arguments that Bypass Input Filtering
History

Sat, 22 Aug 2026 01:45:00 +0000

Type Values Removed Values Added
First Time appeared Olivetin
Olivetin olivetin
Vendors & Products Olivetin
Olivetin olivetin

Fri, 21 Aug 2026 23:00:00 +0000

Type Values Removed Values Added
Description OliveTin gives access to predefined shell commands from a web interface. The `filterToDefinedArgumentsOnly` function in the executor is intended to discard any arguments not explicitly defined in the action's configuration. However, prior to commit ebffd9f040f791208aee1db2e5a8aecd1e3e603d, a special case allows any argument whose name starts with `ot_` to bypass this filter. While two system arguments (`ot_executionTrackingId` and `ot_username`) are injected by OliveTin and overridden, all other `ot_`-prefixed arguments supplied by the user pass through unmodified. These bypassed arguments are not type-checked — the validation loop only iterates over the action's defined arguments, so `ot_`-prefixed arguments skip all type safety checks entirely; set as environment variables — via `buildEnv()`, with completely unvalidated values, and passed to the executed command; and included in the template context — available as `.Arguments.ot_*` in template rendering. Commit ebffd9f040f791208aee1db2e5a8aecd1e3e603d contains a patch.
Title OliveTin has Unvalidated `ot_`-prefixed Arguments that Bypass Input Filtering
Weaknesses CWE-20
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}


Subscriptions

Olivetin Olivetin
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-21T22:51:52.752Z

Reserved: 2026-06-09T18:13:07.263Z

Link: CVE-2026-53541

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-21T23:16:26.500

Modified: 2026-08-21T23:16:26.500

Link: CVE-2026-53541

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T01:30:17Z

Weaknesses
  • CWE-20

    Improper Input Validation