Home

Description

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.

PUBLISHED Reserved 2025-04-15 | Published 2025-07-10 | Updated 2026-05-14 | Assigner VulnCheck




CRITICAL: 9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Product status

Default status
unaffected

2.5 (custom)
affected

Credits

John Page (hyp3rlinx) of Beyond Security SecuriTeam Secure Disclosure finder

References

raw.githubusercontent.com/...lti/http/makoserver_cmd_exec.rb exploit

www.exploit-db.com/exploits/43132 exploit

vulncheck/advisories/mako-server-rce third-party-advisory

cve.org (CVE-2025-34095)

nvd.nist.gov (CVE-2025-34095)

Download JSON