cvelo
P3 · MediumCVSS 6.6EPSS 0.6%

OliveTin: Second-Order OS Command Injection via shellAfterCompleted

  • CVE-2026-75506
  • GHSA-vc6p-m6vx-6cwq
  • GO-2026-6995
  • EUVD-2026-129185

Description

OliveTin gives safe and simple access to predefined shell commands from a web interface. From 3000.0.0 until 3000.18.1, OliveTin passes attacker-influenceable output and ot_username values into shellAfterCompleted processing in service/internal/executor/executor.go without applying checkShellArgumentSafety, the shell-safety validation used for primary action execution. The same post-execution template path also expands exitCode without that validation, but the advisory does not establish attacker control of the exit-code value. When an action configures shellAfterCompleted with output or ot_username, shell metacharacters from command output, external data processed by an action, or a trusted-header username can become syntax in the command executed by the stepExecAfter path. This can execute arbitrary commands as the OliveTin process user, including when the primary action uses the safer exec-array mode. This issue is fixed in version 3000.18.1.

Text from the CVE.org record.

Recommendation

Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • OliveTin

    Affected versionsFixed in
    >= 3000.0.0, < 3000.18.1none stated
  • github.com/OliveTin/OliveTinGo

    Affected versionsFixed in
    before 0.0.0-20260728155752-e5d29b68da660.0.0-20260728155752-e5d29b68da66

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.