{"id":"CVE-2025-34095","published":"2025-07-10T19:14:30Z","modified":"2026-05-14T02:07:36Z","title":"Mako Server v2.5 and v2.6 OS Command Injection via examples/save.lsp","vendor":"Real Time Logic","product":"Mako Server","tier":"tail","description":{"text":"An OS command injection vulnerability exists in Mako Server versions 2.5 and 2.6, specifically within the tutorial interface provided by the examples/save.lsp endpoint. An unauthenticated attacker can send a crafted PUT request containing arbitrary Lua os.execute() code, which is then persisted on disk and triggered via a subsequent GET request to examples/manage.lsp. This allows remote command execution on the underlying operating system, impacting both Windows and Unix-based deployments.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.06219,"percentile":0.93707,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/makoserver_cmd_exec.rb","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/43132","tags":["exploit"]},{"url":"https://vulncheck/advisories/mako-server-rce","tags":["third-party-advisory"]}],"priority":{"score":30.3,"factors":[{"name":"EPSS percentile","points":18.74},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2017-11-09"},"metasploit":[{"name":"Mako Server v2.5, 2.6 OS Command Injection RCE","module":"exploit/multi/http/makoserver_cmd_exec","type":"exploit","disclosureDate":"2017-09-03","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/makoserver_cmd_exec.rb"}],"first":{"date":"2017-09-03","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/makoserver_cmd_exec.rb"},"provenance":"source"},"vendorSlug":"real-time-logic","affectedVersions":[{"vendor":"Real Time Logic","product":"Mako Server","versions":[">= 2.5, <= 2.6"]}],"capec":[{"id":"CAPEC-88","name":"OS Command Injection"},{"id":"CAPEC-137","name":"Parameter Injection"}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-07-11T13:21:00.970515Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"A command injection flaw in the examples/save.lsp tutorial endpoint of Real Time Logic's Mako Server, affecting versions 2.5 and 2.6, lets arbitrary Lua os.execute() code be stored on disk. An unauthenticated remote attacker needs only network access to send a crafted PUT request, and the injected code is then executed on the underlying operating system when examples/manage.lsp is requested via GET, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:18:44Z"},"euvd":{"id":"EUVD-2025-21031","exploited":false,"provenance":"source"},"exploits":[{"id":43132,"url":"https://www.exploit-db.com/exploits/43132","title":"Mako Server 2.5 - OS Command Injection Remote Command Execution (Metasploit)","date":"2017-11-09","verified":true,"provenance":"source"}],"exploitRefs":["https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/makoserver_cmd_exec.rb","https://www.exploit-db.com/exploits/43132"]}