Tóm tắt nhanh
- CVE-2026-56385 là lỗ hổng mức TRUNG BÌNH (CVSS 4.3) ảnh hưởng craftcms/cms.
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.36%, cao hơn 29.7% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 4.17.8, 5.9.14 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| craftcms/cms Packagist | ≥ 4.0.0-RC1, < 4.17.8≥ 5.0.0-RC1, < 5.9.14
| 4.17.85.9.14
|
Mô tả
Summary
An authenticated low-privileged user can call assets/preview-file for an asset they are not authorized to view and still receive preview response data (previewHtml) for that private asset.
The returned preview HTML included a private preview image route containing the target private assetId, even though canView was false for the attacker account.
Details
assets/preview-file accepts a maliciously controlled assetId and renders preview output.
- The action does not enforce per-asset view authorization prior to returning preview content.
- As a result, an authenticated user without asset-view permission can still obtain private preview output.
This affects Craft installations with authenticated users of mixed privilege levels with private assets.
Resources
- d30df3112220db1ffd6726a3ed11857014c7fb27
- b1cddf72c98a
Mô tả của NVD
Craft CMS versions >= 5.0.0-RC1, <= 5.9.13 and >= 4.0.0-RC1, <= 4.17.7 contain an authorization bypass in the assets/preview-file endpoint. The action does not enforce per-asset view authorization before returning preview content, allowing an authenticated low-privileged user to supply a controlled assetId for an asset they are not permitted to view and still receive preview response data (previewHtml), including a private preview image route containing the target private assetId. Fixed in 5.9.14 and 4.17.8.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí