ImageMagick: Policy bypass through path traversal allows reading restricted content despite secured policy
ImageMagick’s path security policy is enforced on the raw filename string before the filesystem resolves it. As a result, a policy rule such as /etc/* can be bypassed by a path traversal. The OS resolves the traversal and opens the sensitive file, but the policy matcher only sees the unnormalized path and therefore allows the read. This enables local file disclosure (LFI) even when policy-secure.xml is applied.
Actions to prevent reading from files have been taken. But it make sure writing is also not possible the following should be added to your policy:
<policy domain="path" rights="none" pattern="*../*"/>
And this will also be included in the project's more secure policies by default.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| .NET (NuGet) | Magick.NET-Q16-AnyCPU | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q16-arm64 | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q16-HDRI-AnyCPU | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q16-HDRI-arm64 | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q16-HDRI-OpenMP-arm64 | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q16-HDRI-OpenMP-x64 | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q16-HDRI-x64 | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q16-HDRI-x86 | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q16-OpenMP-arm64 | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q16-OpenMP-x64 | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q16-OpenMP-x86 | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q16-x64 | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q16-x86 | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q8-AnyCPU | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q8-arm64 | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q8-OpenMP-arm64 | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q8-OpenMP-x64 | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q8-x64 | < 14.10.3 | 14.10.3 |
| .NET (NuGet) | Magick.NET-Q8-x86 | < 14.10.3 | 14.10.3 |
Odnośniki
- Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N- Słabość (CWE)
CWE-22- Platforma
- .NET (NuGet)
- Paczka
Magick.NET-Q16-AnyCPU, Magick.NET-Q16-arm64, Magick.NET-Q16-HDRI-AnyCPU- Ujawniono
- 24.02.2026
- Aktualizacja
- 11.10.2026 11:23
Źródła i licencje
OSV / GitHub Advisory Database - GHSA-8jvj-p28h-9gm7 - CC BY 4.0
Historia podatności: Magick.NET-Q16-HDRI-OpenMP-x64
Wszystkie opisane podatności tej paczki (.NET (NuGet)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 95
- Pierwsza → ostatnia
- 07.2025 05.2026
- Bez poprawki
- 1
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Wysoka 19
- Średnia 59
- Niska 17
Ujawnienia w latach
- 2025: 14
- 2026: 81
-
ImageMagick: Policy bypass through path traversal allows reading restricted content despite secured policy ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.