CVSS 3.1
5.3 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LMedium (5.3) in sindresorhus file-type. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in file-type 21.3.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Lfile-type (npm): fixed in 21.3.1Explain CVE-2026-31808 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-31808?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-31808?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-31808 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| sindresorhus:file-type | from 13.0.0 before 21.3.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-5v7r-6r5c-r473 | npm | file-type | >=13.0.0 <21.3.1 | 21.3.1 |
Red Hat rates this Moderate.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Cryostat 4 | io.cryostat-cryostat | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch6-rhel9 | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch-operator-bundle | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch-proxy-rhel9 | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch-rhel9-operator | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/kibana6-rhel8 | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-curator5-rhel9 | Fix deferred | |
| Red Hat build of Apicurio Registry 2 | io.apicurio-apicurio-registry | Fix deferred | |
| Red Hat Data Grid 8 | org.infinispan-infinispan-console | Fix deferred | |
| Red Hat Developer Hub 1 | rhdh/rhdh-hub-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-cuda-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/disk-image-cuda-rhel9 | Fix deferred | |
| Red Hat OpenShift Dev Spaces | devspaces/code-rhel9 | Fix deferred | |
| Red Hat OpenShift Dev Spaces | devspaces/code-sshd-rhel9 | Fix deferred | |
| Red Hat Satellite 6 | satellite/iop-host-inventory-frontend-rhel9 | Fix deferred | |
| Self-service automation portal 2 | ansible-automation-platform/automation-portal | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-31808.