Read the docs

Policy bypass in ImageMagick lets attackers create or truncate files

Priority LOW 31CWE-22Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · GHSA-gm48-c7f2-v67p. Fix status from GitHub.

Summary

ImageMagick versions before 7.1.2-24 and before 6.9.13-48 are affected. An incorrect check lets a local user with low privileges create or truncate files that the security policy disallows, which matters for sandboxed conversion services that rely on ImageMagick path policies (CWE-22).

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Description from the GitHub advisory

An incorrect check can cause the creation or truncate of a file that is disallowed by the security policy.relevant for sandboxed conversion services that use ImageMagick path policies as part of their write-boundary enforcement. ### Credits - Thai Son Dinh from VinSOC Labs (R&D)

Why it matters now

Fix Fixed ImageMagick (c/c++): 7.1.2-24, 6.9.13-48

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—ImageMagick (c/c++)< 7.1.2-247.1.2-24Patch availableGHSA-gm48-c7f2-v67p
—ImageMagick (c/c++)< 6.9.13-486.9.13-48Patch availableGHSA-gm48-c7f2-v67p
  • ImageMagick (c/c++) Vendor— Affected < 7.1.2-24 Fixed in 7.1.2-24 Patch available GHSA-gm48-c7f2-v67p
  • ImageMagick (c/c++) Vendor— Affected < 6.9.13-48 Fixed in 6.9.13-48 Patch available GHSA-gm48-c7f2-v67p

Remediation

The fixed versions are 7.1.2-24 for the ImageMagick 7 branch and 6.9.13-48 for the ImageMagick 6 branch.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

  • Fix · GHSA-gm48-c7f2-v67p ImageMagick (c/c++) Fixed in 7.1.2-24 Advisory →
  • Fix · GHSA-gm48-c7f2-v67p ImageMagick (c/c++) Fixed in 6.9.13-48 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-gm48-c7f2-v67p

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences