安全速报自动同步 · 保留上游原文

【高危】cms:远程代码执行风险(GHSA-f74w-488g-8x5r)

S
KHack 安全情报
2026/7/7 发布 · 3 阅读

安全情报快照 · 风险级别:高危 · CVE-2026-55794 · GHSA-f74w-488g-8x5r

先看结论

cms存在远程代码执行风险,>= 5.9.0, < 5.10.0 受影响,建议升级至 5.10.0。

影响范围

生态 组件 受影响版本 首个修复版本
composer craftcms/cms >= 5.9.0, < 5.10.0 5.10.0

处置建议

优先将 craftcms/cms 升级至 5.10.0 或更高版本;升级前请结合业务依赖完成兼容性验证。

上游技术详情(原文)

Requirements:

  • Control panel access
  • Permissions to edit an entry

Details

Control panel users with the ability to edit entries can execute unsandboxed Twig code via the HTTP Referrer header.

The issue happens when a user is saving entries. Strings for a signed redirect URL are being compiled as a Twig template via renderObjectTemplate(), and while a sandboxed alternative already exists (renderSandboxedObjectTemplate()), it is not used in this case. This signed URL can be specified by users, as it is reflected in the “Referer” HTTP request header, which is under attacker control.

This has been fixed in Craft 5.10.0. Affected users should update to that version or higher to get the fix.

Resources

https://github.com/craftcms/cms/pull/18680

来源与许可

本页自动同步 GitHub Advisory Database 的公开数据,并保留上游原文供核验;不宣称原创分析。数据许可:CC-BY-4.0。

评论

还没有评论,来说两句。