{"id":"GHSA-xc5w-4v5w-7x65","revision":null,"records":[{"revision":"4cd23fc4a08846acac1c0816b4e10d01","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-67438","aliases":[],"title":"OliveTin OS Command Injection via Custom regex: Argument Type Bypassing Shell Safety Check","description":"OliveTin gives access to predefined shell commands from a web interface. From 3000.2.0 until 3000.17.0, the service/internal/executor/arguments.go checkShellArgumentSafety function does not treat regex: custom argument types as unsafe for Shell mode actions, allowing values that pass typeSafetyCheckRegex to be interpolated by wrapCommandInShell into an sh -c command string and enabling OS command injection. This issue is fixed in version 3000.17.0.","state":0,"publishedAt":"2026-07-29T20:53:09.524+00:00","modifiedAt":"2026-07-30T15:18:25.719+00:00","affected":[{"ecosystem":"Vendor product","name":"OliveTin","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"OliveTin\",\n                    \"product\": \"OliveTin\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 3000.2.0, < 3000.17.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.6,"severity":"MEDIUM"}],"references":["https://github.com/OliveTin/OliveTin/security/advisories/GHSA-xc5w-4v5w-7x65","https://github.com/OliveTin/OliveTin/commit/995ff79736f2bccc364448a3ece84087b550b232","https://github.com/OliveTin/OliveTin/releases/tag/3000.17.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-67438","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-67438","identifiers":["CVE-2026-67438"]},"retained":false,"historicalAffected":[]},{"revision":"80d362c2af6f4eb29b6704937149862d","observedAt":"2026-11-19T18:44:46.665+00:00","statement":{"source":"euvd","id":"EUVD-2026-50564","aliases":["CVE-2026-67438","GHSA-xc5w-4v5w-7x65"],"title":"OliveTin gives access to predefined shell commands from a web interface. From 3000.2.0 until 3000.17.0, the service/internal/executor/arguments.go checkShellArgumentSafety function does not treat regex: custom argument types as unsafe for S…","description":"OliveTin gives access to predefined shell commands from a web interface. From 3000.2.0 until 3000.17.0, the service/internal/executor/arguments.go checkShellArgumentSafety function does not treat regex: custom argument types as unsafe for Shell mode actions, allowing values that pass typeSafetyCheckRegex to be interpolated by wrapCommandInShell into an sh -c command string and enabling OS command injection. This issue is fixed in version 3000.17.0.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.6,"severity":null}],"references":["https://github.com/OliveTin/OliveTin/security/advisories/GHSA-xc5w-4v5w-7x65","https://github.com/OliveTin/OliveTin/commit/995ff79736f2bccc364448a3ece84087b550b232","https://github.com/OliveTin/OliveTin/releases/tag/3000.17.0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-50564","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 29, 2026, 8:53:09 PM","dateUpdated":"Jul 30, 2026, 3:18:25 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-50564","identifiers":["EUVD-2026-50564","CVE-2026-67438","GHSA-xc5w-4v5w-7x65"]},"retained":false,"historicalAffected":[]},{"revision":"b798dd291dae4d8c8de6e77188c721b6","observedAt":"2026-10-25T15:18:51.467+00:00","statement":{"source":"nvd","id":"CVE-2026-67438","aliases":[],"title":"OliveTin gives access to predefined shell commands from a web interface. From 3000.2.0 until 3000.17.0, the service/internal/executor/arguments.go checkShellArgumentSafety function does not treat regex: custom argument types as unsafe for S…","description":"OliveTin gives access to predefined shell commands from a web interface. From 3000.2.0 until 3000.17.0, the service/internal/executor/arguments.go checkShellArgumentSafety function does not treat regex: custom argument types as unsafe for Shell mode actions, allowing values that pass typeSafetyCheckRegex to be interpolated by wrapCommandInShell into an sh -c command string and enabling OS command injection. This issue is fixed in version 3000.17.0.","state":0,"publishedAt":"2026-07-29T21:17:48.12+00:00","modifiedAt":"2026-07-30T19:21:23.297+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.6,"severity":"MEDIUM"}],"references":["https://github.com/OliveTin/OliveTin/commit/995ff79736f2bccc364448a3ece84087b550b232","https://github.com/OliveTin/OliveTin/releases/tag/3000.17.0","https://github.com/OliveTin/OliveTin/security/advisories/GHSA-xc5w-4v5w-7x65"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-67438","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-78"],"productCriteria":[],"sourceDates":{"published":"2026-07-29T21:17:48.120","lastModified":"2026-07-30T19:21:23.297"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-67438","identifiers":["CVE-2026-67438"]},"retained":false,"historicalAffected":[]},{"revision":"b31504c0b3364d3385a862c36692be29","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-xc5w-4v5w-7x65","aliases":["CVE-2026-67438","GO-2026-6145"],"title":"OliveTin OS Command Injection via Custom regex: Argument Type Bypassing Shell Safety Check","description":"### Summary\nOliveTin's checkShellArgumentSafety() function maintains a blocklist of argument types unsafe for Shell mode actions, but does not include regex:-prefixed types. Because regex: support was added independently via typeSafetyCheckRegex(), any Shell mode action using a regex:-typed argument bypasses the safety check unconditionally. The unvalidated value is then interpolated directly into the sh -c command string via Go's text/template with no escaping, enabling shell injection. Notably, even restrictive-looking patterns are exploitable — for example, a pattern blocking common shell metacharacters remains bypassable via POSIX command substitution.\n\n### Details\nOliveTin is an open source web UI for running pre-configured shell commands. In the OliveTin service component, the function checkShellArgumentSafety() in service/internal/executor/arguments.go enforces a blocklist of argument types that are unsafe for use in Shell mode actions (actions that execute via sh -c). The blocklist includes password, very_dangerous_raw_string, url, email, and raw_string_multiline. It does not handle custom regex: prefixed argument types.\n\nCustom regex: types are supported by a separate function, typeSafetyCheckRegex(), which checks whether a submitted value matches the provided pattern. These two functions evolved independently: when regex: prefix support was added to typeSafetyCheckRegex, checkShellArgumentSafety was not updated to treat regex: types as unsafe for Shell mode. As a result, any action configured with a Shell mode handler and a regex:-typed argument passes the safety check unconditionally, regardless of how permissive or restrictive the pattern is.\n\nThe argument value then reaches handleShellBranch → wrapCommandInShell, where Go's text/template interpolates it directly into the sh -c command string with no escaping.\n\nCritically, this vulnerability is not limited to obviously permissive patterns like regex:.*. An admin who writes a restrictive-looking pattern such as regex: ^[^;|&<>]+$ - explicitly blocking the five most common shell injection characters (semicolon, pipe, ampersand, both redirects) — is still fully exploitable via POSIX command substitution.\n\n\n### PoC\n1. Deploy OliveTin\n```bash\ndocker run -d --name olivetin-poc -p 1337:1337 \\\n  -v /tmp/olivetin-poc/config:/config \\\n  ghcr.io/olivetin/olivetin:3000.11.3\n```\n2. Write the configuration below as /tmp/olivetin-poc/config/config.yaml , which represents a realistic admin-authored action: a Shell mode command that accepts user-supplied input validated by a custom regex pattern.\n```yaml\nactions:\n  - title: Custom Input Action\n    id: custom_input\n    shell: echo \"Input was {{ .Arguments.customInput }}\"\n    arguments:\n      - name: customInput\n        type: \"regex:^[^;|&<>]+$\"\n        title: Custom Input\n```\n3. Trigger RCE via command substitution.\n\n```bash\ncurl -s -X POST http://localhost:1337/api/v1/StartAction \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"bindingId\":\"custom_input\",\"arguments\":[{\"name\":\"customInput\",\"value\":\"$(touch /tmp/rce_proof)\"}]}'\n```\n4. Now verify RCE by checking presence of file\n```bash\ndocker exec olivetin-poc ls -la /tmp/rce_proof\n```\n<img width=\"1533\" height=\"319\" alt=\"olivetin_proof\" src=\"https://github.com/user-attachments/assets/82c9cc50-8f05-41f8-8cee-bceb3d4b3a2d\" />\n\n\n### Impact\nAn unauthenticated attacker with network access to an OliveTin instance can achieve full OS command injection - and in practice remote code execution — as the OliveTin process user, provided a Shell mode action exists with any regex:-typed argument whose pattern permits $, backtick, or parentheses.","state":0,"publishedAt":"2026-07-30T14:31:12+00:00","modifiedAt":"2026-08-18T15:10:33.0641887+00:00","affected":[{"ecosystem":"Go","name":"github.com/OliveTin/OliveTin","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-20251025234746-ef5a67e7b8ea"},{"kind":"fixed","version":"0.0.0-20260708084548-995ff79736f2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/OliveTin/OliveTin/security/advisories/GHSA-xc5w-4v5w-7x65","https://nvd.nist.gov/vuln/detail/CVE-2026-67438","https://github.com/OliveTin/OliveTin/commit/995ff79736f2bccc364448a3ece84087b550b232","https://github.com/OliveTin/OliveTin","https://github.com/OliveTin/OliveTin/releases/tag/3000.17.0"],"sourceUrl":"https://github.com/advisories/GHSA-xc5w-4v5w-7x65","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-xc5w-4v5w-7x65","identifiers":["GHSA-xc5w-4v5w-7x65","CVE-2026-67438","GO-2026-6145"]},"retained":false,"historicalAffected":[]},{"revision":"d60fcc4c1e554c05948667b319500a2d","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-6145","aliases":["CVE-2026-67438","GHSA-xc5w-4v5w-7x65"],"title":"OliveTin OS Command Injection via Custom regex: Argument Type Bypassing Shell Safety Check in github.com/OliveTin/OliveTin","description":"OliveTin OS Command Injection via Custom regex: Argument Type Bypassing Shell Safety Check in github.com/OliveTin/OliveTin","state":0,"publishedAt":"2026-08-18T14:32:29+00:00","modifiedAt":"2026-08-18T15:00:22.693647+00:00","affected":[{"ecosystem":"Go","name":"github.com/OliveTin/OliveTin","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-20251025234746-ef5a67e7b8ea"},{"kind":"fixed","version":"0.0.0-20260708084548-995ff79736f2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/OliveTin/OliveTin/security/advisories/GHSA-xc5w-4v5w-7x65","https://nvd.nist.gov/vuln/detail/CVE-2026-67438","https://github.com/OliveTin/OliveTin/commit/995ff79736f2bccc364448a3ece84087b550b232","https://github.com/OliveTin/OliveTin/releases/tag/3000.17.0"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-6145","license":"OSV · upstream source license applies","key":"osv:GO-2026-6145","identifiers":["GO-2026-6145","CVE-2026-67438","GHSA-xc5w-4v5w-7x65"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-21T12:15:57.7243701+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-21T12:15:57.7243701+00:00","lastSuccessAt":"2026-11-21T12:15:57.8986652+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.8986661+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-1d6c61c44cf3e269b6d60ed2fe0a3aa1f7e55445c7f170f16f2fa063bbf73db3-18152af2cb115f58b2333f5af715b7050c1c1916904e58a2c8af40e43c7671d3","complete":true,"records":430117,"lastAttemptAt":"2026-11-21T12:15:57.208927+00:00","lastSuccessAt":"2026-11-21T12:15:57.17481+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.208927+00:00","snapshotPublishedAt":"2026-11-21T11:18:41+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-228319aac2d14544b5e8dc5bee43f090","complete":false,"records":13919,"lastAttemptAt":"2026-11-21T12:26:06.8841301+00:00","lastSuccessAt":"2026-11-21T12:26:06.88+00:00","error":"264 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-21T12:26:06.88+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13583,"expectedIdentifiers":13967,"failedIdentifiers":264},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-21T12:15:57.7243701+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-21T12:15:57.7243701+00:00","lastSuccessAt":"2026-11-21T12:15:57.8994481+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.8994483+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-aa12646f31c14e05b6115135ee3d7c51","complete":true,"records":13931,"lastAttemptAt":"2026-11-21T12:15:59.3751759+00:00","lastSuccessAt":"2026-11-21T12:15:59.371+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:59.371+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13967,"expectedIdentifiers":13967,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-99c78bee98bf8a60587f33f568944b12d3afe17ecc41437c57b47e2204cce04d","complete":true,"records":9989,"lastAttemptAt":"2026-11-21T12:15:57.5844613+00:00","lastSuccessAt":"2026-11-21T00:54:34.963487+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.5844613+00:00","snapshotPublishedAt":"2026-11-21T00:03:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-21T12:15:57.3736092+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.3736092+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-2c09f95d48acb57436aa1dd2f0eec6f651dce8d1621b6978554be0f0b129faa4","complete":true,"records":3209,"lastAttemptAt":"2026-11-21T12:15:57.6909513+00:00","lastSuccessAt":"2026-11-20T23:48:55.8565941+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.6909513+00:00","snapshotPublishedAt":"2026-11-20T23:48:16+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-14439d295cda6d6706536c3efcb7f193a982609cf031218db7fa9ef26fdcc725","complete":true,"records":232850,"lastAttemptAt":"2026-11-21T12:15:57.4759989+00:00","lastSuccessAt":"2026-11-21T03:47:49.8245357+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.4759989+00:00","snapshotPublishedAt":"2026-11-21T03:33:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}