opencode是Anomaly开源的一个AI编程智能体。 opencode 1.0.216之前版本存在安全漏洞,该漏洞源于自动启动未经身份验证的HTTP服务器,可能导致执行任意shell命令。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|---|---|---|
| 1 | CVE-2026-22812 - OpenCode Unauth RCE | https://github.com/Udyz/CVE-2026-22812-Exp | POC Details |
| 2 | None | https://github.com/rohmatariow/CVE-2026-22812-exploit | POC Details |
| 3 | CVE-2026-22812 | https://github.com/Ashwesker/Ashwesker-CVE-2026-22812 | POC Details |
| 4 | CVE-2026-22812 - OpenCode Unauthenticated RCE-Nuclei template for scan | https://github.com/mad12wader/CVE-2026-22812 | POC Details |
| 5 | None | https://github.com/Threekiii/Awesome-POC/blob/master/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD%E6%BC%8F%E6%B4%9E/OpenCode%20%E8%BF%9C%E7%A8%8B%E4%BB%A3%E7%A0%81%E6%89%A7%E8%A1%8C%E6%BC%8F%E6%B4%9E%20CVE-2026-22812.md | POC Details |
| 6 | OpenCode versions prior to 1.0.216 contain an unauthenticated remote code execution vulnerability. The application exposes session and shell execution endpoints without proper authentication, allowing remote attackers to create sessions and execute arbitrary shell commands on the underlying server. | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-22812.yaml | POC Details |
| 7 | Security-hardened fork of OpenCode - Fixes CVE-2026-22812 (CVSS 8.8 RCE) that upstream refuses to patch | https://github.com/barrersoftware/opencode-secure | POC Details |
| 8 | OpenCode < v1.0.216 - Unauthenticated RCE | https://github.com/0xgh057r3c0n/CVE-2026-22812 | POC Details |
| 9 | None | https://github.com/CayberMods/CVE-2026-22812-POC | POC Details |
VULNERABLE: unauthenticated POST /pty executed the shell command; proof token exfiltrated to attacker path: PROOF_0ce890b04ead2829
No comments yet