Security mailing lists by PureSourceCode

CVE-2026-31040

CRITICAL 9.8CVSS 3.1

stata-mcp has insufficient validation of user-supplied Stata do-file content that can lead to command execution

A vulnerability was identified in stata-mcp prior to v1.13.0 where insufficient validation of user-supplied Stata do-file content can lead to command execution.

Published
8 Apr 2026
Last modified
25 Jul 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-20CWE-94
Also known as
GHSA-jpcj-7wfg-mqxvPYSEC-2026-3076
Sources
NVDJSONOSV GHSA-jpcj-7wfg-mqxvJSONOSV PYSEC-2026-3076JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
OSV PyPA CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD statamcp stata-mcp
cpe:2.3:a:statamcp:stata-mcp:*:*:*:*:*:*:*:*
< 1.13.0 1.13.0
OSV PyPI stata-mcp < 1.13.0 1.13.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 8 Apr 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.