npmWorst: High3 advisories

file-type: known vulnerabilities

file-type has 3 reviewed security advisories in the GitHub Advisory Database — 1 high, 2 moderate. The most recent was published 2026-03-16. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the file-type versions running across your servers, containers and images, and ranks what to patch first.

How to fix file-type

Upgrade file-type to a release at or above the fixed version shown for each advisory below. For npm:

npm install file-type@21.3.2 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

file-type: ZIP Decompression Bomb DoS via [Content_Types].xml entry Moderate 5.3 CWE-400 CWE-409 — Affected: from 20.0.0 up to 21.3.2. Fixed in 21.3.2. Published 2026-03-16. GHSA-j47w-4g3g-c36v · CVE-2026-32630
file-type affected by infinite loop in ASF parser on malformed input with zero-size sub-header Moderate 5.3 CWE-835 — Affected: from 13.0.0 up to 21.3.1. Fixed in 21.3.1. Published 2026-03-10. GHSA-5v7r-6r5c-r473 · CVE-2026-31808
file-type vulnerable to Infinite Loop via malformed MKV file High 7.5 CWE-835 — Affected: from 17.0.0 up to 17.1.3. Fixed in 17.1.3. Published 2022-07-21. GHSA-mhxj-85r3-2x55 · CVE-2022-36313

Find file-type across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.