{"answers":{"affected":"3 open source packages ship an affected version, including github.com/OliveTin/OliveTin. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27626 exists.","fix":"Upgrade github.com/OliveTin/OliveTin to 0.0.0-20260222101908-4bbd2eab1532 or later.","what":"CVE-2026-27626 is a critical command injection vulnerability in OliveTin, published on 25 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-27626 and fix it if it is affected.\n\nWhat it is: CVE-2026-27626 is a critical command injection vulnerability in OliveTin, published on 25 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27626 exists.\n\nAffected packages and fixed versions:\n- github.com/OliveTin/OliveTin (Go): affected all versions; no fix listed\n- github.com/OliveTin/OliveTin (Go): affected all versions; fixed in 0.0.0-20260222101908-4bbd2eab1532\n- github.com/OliveTin/OliveTin (Go): affected all versions; fixed in 0.0.0-20260222101908-4bbd2eab1532\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-27626/ (Markdown: https://insights.sbomify.com/CVE-2026-27626/index.md)","id":"CVE-2026-27626","markdown":"https://insights.sbomify.com/CVE-2026-27626/index.md","name":"CVE-2026-27626","record":{"aliases":["GHSA-49gm-hh7w-wfvf","GO-2026-4547"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"OliveTin web interface","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary OS commands on OliveTin hosts via shell argument injection or webhook JSON bypasses, leading to remote code execution.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"olivetin","vendor":"olivetin"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"OliveTin gives access to predefined shell commands from a web interface. In versions up to and including 3000.10.0, OliveTin's shell mode safety check (`checkShellArgumentSafety`) blocks several dangerous argument types but not `password`. A user supplying a `password`-typed argument can inject shell metacharacters that execute arbitrary OS commands. A second independent vector allows unauthenticated RCE via webhook-extracted JSON values that skip type safety checks entirely before reaching `sh -c`. When exploiting vector 1, any authenticated user (registration enabled by default, `authType: none` by default) can execute arbitrary OS commands on the OliveTin host with the permissions of the OliveTin process. When exploiting vector 2, an unauthenticated attacker can achieve the same if the instance receives webhooks from external sources, which is a primary OliveTin use case. When an attacker exploits both vectors, this results in unauthenticated RCE on any OliveTin instance using Shell mode with webhook-triggered actions. As of time of publication, a patched version is not available.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2026-06-30","github_poc":2,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-06-30T06:46:23Z","kind":"github_poc","ref":"https://github.com/0xh7ml/CVE-2026-27626-PoC","stars":1,"title":"OliveTin is a self-hosted web UI for exposing predefined shell commands to end users. This repository contains a proof-of-concept demonstrating two independent OS command injection vectors in OliveTin's Shell mode execution path, both of which bypass the application's intended shell-argument safety checks."},{"date":"2026-09-23T18:48:47Z","kind":"github_poc","ref":"https://github.com/abdelhakimgaferNetworkSec/Enigm-Writeup","stars":1,"title":"Comprehensive penetration testing write-up and exploit details for Hack The Box - Enigma machine, covering local enumeration, OliveTin CVE-2026-27626 command injection, and root privilege escalation"}],"tier":"weaponised"},"has_fix":true,"headline":"OliveTin: OS Command Injection via `password` argument type and webhook JSON extraction bypasses shell safety checks","id":"CVE-2026-27626","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"Karakeep's Reddit plugin content bypasses DOMPurify sanitization, enabling stored XSS","id":"CVE-2026-27627"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/OliveTin/OliveTin","purl":"pkg:golang/github.com/OliveTin/OliveTin","source":"GO-2026-4547"},{"ecosystem":"Go","fixed":["0.0.0-20260222101908-4bbd2eab1532"],"introduced":["0"],"last_affected":[],"package":"github.com/OliveTin/OliveTin","purl":null,"source":"GHSA-49gm-hh7w-wfvf"},{"ecosystem":"Go","fixed":["0.0.0-20260222101908-4bbd2eab1532"],"introduced":["0"],"last_affected":[],"package":"github.com/OliveTin/OliveTin","purl":"pkg:golang/github.com/OliveTin/OliveTin","source":"GHSA-49gm-hh7w-wfvf"}],"prev":{"headline":"Stirling-PDF Zip Slip: Arbitrary File Write via Path Traversal in Markdown-to-PDF ZIP Extraction","id":"CVE-2026-27625"},"products":["OliveTin"],"published":"2026-02-25","related":[{"cvss_score":8.8,"headline":"OliveTin: JWT Audience Validation Bypass in Local Key and HMAC Modes","id":"CVE-2026-30223","kev_date_added":null,"published":"2026-03-06"},{"cvss_score":8.5,"headline":"OliveTin's unsafe parsing of UniqueTrackingId can be used to write files","id":"CVE-2026-31817","kev_date_added":null,"published":"2026-03-10"},{"cvss_score":7.5,"headline":"OliveTin: Unauthenticated Denial of Service via Memory Exhaustion in PasswordHash API Endpoint","id":"CVE-2026-28342","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":7.5,"headline":"OliveTin: Unauthenticated DoS via concurrent map writes in OAuth2 state handling","id":"CVE-2026-28789","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":7.5,"headline":"OliveTin: Unauthenticated Action Termination via KillAction When Guests Must Login","id":"CVE-2026-28790","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":7.1,"headline":"OliveTin Unauthorized Action Output Disclosure via EventStream","id":"CVE-2026-32102","kev_date_added":null,"published":"2026-03-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-27","vendors":["OliveTin"]},"summary":"Attackers can execute arbitrary OS commands on OliveTin hosts via shell argument injection or webhook JSON bypasses, leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2026-27626/"}