{"items":[{"id":"NVI-00015113","kind":"vulnerability","title":"MCP-for-Stata: Stata Command Injection via Unsanitized `package` in `ado_package_install`","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-49m4-vp58-wgc9","CVE-2026-55071"],"plain_summary":"GitHub lists this reviewed advisory for stata-mcp. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-0208baad9405cf610a8ea1abdaf30983"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-08-12T19:23:39.000Z","value":"8.4 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-23e55acf39de74a63aa6a6ee487a4f8f"},{"kind":"EPSS","as_of":"2026-11-05T12:03:04.000Z","value":"0.252%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.16777. Missing scores are unknown.","source_id":"sr-0208baad9405cf610a8ea1abdaf30983"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-23e55acf39de74a63aa6a6ee487a4f8f","url":"https://github.com/advisories/GHSA-49m4-vp58-wgc9","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-49m4-vp58-wgc9","publisher":"GitHub Advisory Database","observed_at":"2026-11-02T20:17:12.848Z"},{"id":"sr-0208baad9405cf610a8ea1abdaf30983","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-55071","publisher":"FIRST EPSS","observed_at":"2026-11-06T07:17:46.385Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-23e55acf39de74a63aa6a6ee487a4f8f"],"technology":"stata-mcp","known_exclusions":[],"conditions_summary":"## Stata Command Injection via Unsanitized `package` in `ado_package_install`\n\n### Summary\n\nThe `ado_package_install` MCP tool in `stata-mcp` concatenates user-controlled input directly into a Stata command string without any validation or sanitization. An attacker who can invoke the MCP tool or the equivalent Python API can embed newline characters in the `package` argument to inject arbitrary Stata commands. Because Stata supports a `shell` escape command, this leads to full OS-level arbitrary command execution (RCE) under the account running the Stata-MCP server. The tool is registered in the default `all` profile, so no non-default configuration is required. Base CVSS score is **8.4 (High)**.\n\n### Details\n\nThe vulnerability originates in `SSC_Install.install()`:\n\n```python\n# src/stata_mcp/stata/builtin_tools/ado_install/ssc_install.py:14-16\ndef install(self, package: str) -> str:\n    install_command = f\"ssc install {package}{self.REPLACE_MESSAGE}\"\n    runner_result = self.controller.run(install_command)\n```\n\nThe `package` parameter is interpolated into an f-string with no allowlist check, newline rejection, or quoting. The resulting command string is forwarded to the Stata inte","public_affected_ranges":["< 1.19.0"]}],"null_published_at":"2026-11-07T07:07:42.523Z","source_updated_at":"2026-08-12T19:23:39.000Z","source_disclosed_at":"2026-08-12T19:23:38.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-11-02T20:17:12.848Z"},{"id":"NVI-00015113","kind":"vulnerability","title":"MCP-for-Stata: Stata Command Injection via Unsanitized `package` in `ado_package_install`","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-49m4-vp58-wgc9","CVE-2026-55071"],"plain_summary":"GitHub lists this reviewed advisory for stata-mcp. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-23e55acf39de74a63aa6a6ee487a4f8f"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-08-12T19:23:39.000Z","value":"8.4 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-23e55acf39de74a63aa6a6ee487a4f8f"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-23e55acf39de74a63aa6a6ee487a4f8f","url":"https://github.com/advisories/GHSA-49m4-vp58-wgc9","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-49m4-vp58-wgc9","publisher":"GitHub Advisory Database","observed_at":"2026-11-02T20:17:12.848Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-23e55acf39de74a63aa6a6ee487a4f8f"],"technology":"stata-mcp","known_exclusions":[],"conditions_summary":"## Stata Command Injection via Unsanitized `package` in `ado_package_install`\n\n### Summary\n\nThe `ado_package_install` MCP tool in `stata-mcp` concatenates user-controlled input directly into a Stata command string without any validation or sanitization. An attacker who can invoke the MCP tool or the equivalent Python API can embed newline characters in the `package` argument to inject arbitrary Stata commands. Because Stata supports a `shell` escape command, this leads to full OS-level arbitrary command execution (RCE) under the account running the Stata-MCP server. The tool is registered in the default `all` profile, so no non-default configuration is required. Base CVSS score is **8.4 (High)**.\n\n### Details\n\nThe vulnerability originates in `SSC_Install.install()`:\n\n```python\n# src/stata_mcp/stata/builtin_tools/ado_install/ssc_install.py:14-16\ndef install(self, package: str) -> str:\n    install_command = f\"ssc install {package}{self.REPLACE_MESSAGE}\"\n    runner_result = self.controller.run(install_command)\n```\n\nThe `package` parameter is interpolated into an f-string with no allowlist check, newline rejection, or quoting. The resulting command string is forwarded to the Stata inte","public_affected_ranges":["< 1.19.0"]}],"null_published_at":"2026-11-03T10:03:26.550Z","source_updated_at":"2026-08-12T19:23:39.000Z","source_disclosed_at":"2026-08-12T19:23:38.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-02T20:17:12.848Z"}],"next_cursor":null,"snapshot_revision":"42594"}