{"vuln_id":"GHSA-7hwf-8pcj-33h4","aliases":["CVE-2026-104190"],"description":"ImageMagick vulnerability abusable via previews of malicious files","published_at":"2026-09-17T10:28:48Z","modified_at":"2026-10-01T21:24:21Z","first_seen_at":"2026-11-22T13:40:40.084539Z","severity":"high","severity_source":"ghsa","cvss_score":7.4,"cvss_vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","cwe":["CWE-1395"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-7hwf-8pcj-33h4"},"matched_alias":null,"items":[{"id":12320,"source":{"id":"gh-nextcloud-advisories","name":"Nextcloud security advisories (GitHub nextcloud/security-advisories)"},"title":"GHSA-7hwf-8pcj-33h4 / CVE-2026-104190: ImageMagick vulnerability abusable via previews of malicious files","summary":"ImageMagick vulnerability abusable via previews of malicious files\n\n### Impact\r\n\r\nBy requesting previews of corrupted files a subsequent remote code execution (RCE) in Imagick (before 6.9.13-48 and 7.1.2-24) could be triggered, allowing an attacker to write arbitrary files. These files could then be used to further attack the system.\r\nHowever, the issue is limited to the following preview providers which are all not enabled by default: HEIC, Illustrator, PDF, Photoshop, Postscript, SGI, TGA, and TIFF. Additionally, the attacker must have access to either an account or a writable share link. \r\n\r\n### Patches\r\n\r\nIt is recommended that the Nextcloud Server is upgraded to 32.0.13, 33.0.7 or 34.0.2\r\nIt is recommended that the Nextcloud Enterprise Server is upgraded to 22.2.10.42, 23.0.12.38, 24.0.13.37, 25.0.13.32, 26.0.13.29, 27.1.11.29, 28.0.14.20, 29.0.16.19, 30.0.17.12, 31.0.14.8, 32.0.13, 33.0.7 or 34.0.2\r\n\r\n### Workarounds\r\n\r\nEach of them in itself is sufficient:\r\n* Uninstall imagick from PHP\r\n* Change config setting `enable_previews` to `false` in `config/config.php`\r\n* Ensure config setting `enabledPreviewProviders` in `config/config.php` does not contain any of:\r\n  * `OC\\Preview\\Font`\r\n  * `OC\\Preview\\HEIC`\r\n  * `OC\\Preview\\Illustrator`\r\n  * `OC\\Preview\\PDF`\r\n  * `OC\\Preview\\Photoshop`\r\n  * `OC\\Preview\\Postscript`\r\n  * `OC\\Preview\\SGI`\r\n  * `OC\\Preview\\TGA`\r\n  * `OC\\Preview\\TIFF`\r\n\r\n### References\r\n\r\n* [PullRequest](https://github.com/nextcloud/server/pull/62145)\r\n* Reported by Yordan Ganchev of [watchTowr](https://watchtowr.com/)\r\n\r\n### For more information\r\n\r\nIf you have any questions or comments about this advisory:\r\n\r\n* Create a post in [nextcloud/security-advisories](https://github.com/nextcloud/security-advisories/discussions)\r\n* Customers: Open a support ticket at [portal.nextcloud.com](https://portal.nextcloud.com)\n\nAffected packages: nextcloud enterprise:Server, nextcloud:Server\nPatched: Server 32.0.13, 33.0.7, 34.0.2, Server 22.2.10.42, 23.0.12.38, 24.0.13.37, 25.0.13.32, 26.0.13.29, 27.1.11.29, 28.0.14.20, 29.0.16.19, 30.0.17.12, 31.0.14.8, 32.0.13, 33.0.7, 34.0.2","url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-7hwf-8pcj-33h4","published_at":"2026-09-17T10:28:48Z","updated_at":"2026-10-01T21:24:21Z","fetched_at":"2026-11-22T13:40:40.048550Z","severity":"high","cvss_score":7.4,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"nextcloud","product":"Server","vuln_id":"CVE-2026-104190","vuln_ids":["CVE-2026-104190","GHSA-7HWF-8PCJ-33H4"],"tags":["repo-advisory","nextcloud","nextcloud enterprise","CWE-1395","security","repo:nextcloud/security-advisories"],"cluster_id":11561,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12320","html":"https://vulnwatch.ve1ve2.com/item/12320"}}]}