CVE-2026-128846

Source
https://cve.org/CVERecord?id=CVE-2026-128846
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-128846.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-128846
Aliases
  • GHSA-2q57-jvxc-h47j
Downstream
Published
2026-11-16T13:21:29Z
Modified
2026-11-17T21:00:53Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
@fastify/busboy vulnerable to multipart file/field type confusion via chunk-dependent header parsing
Details

@fastify/busboy is a streaming parser for multipart form data used by Fastify. In versions 3.2.1 through 3.2.5, the parser can interpret the same multipart bytes differently depending on how they are split across socket reads: when the sequence that terminates a part's header block arrives split exactly at the configured header size limit, an off by one error drops the final header line, so a part declared as a binary file attachment is emitted as an ordinary text field instead of a file. A remote client controls both the multipart body and the header padding needed to reach the boundary and can influence segmentation, so an application that applies upload validation such as malware scanning or extension checks only to file events while trusting plain field values may process the payload through the wrong path. The parser level type confusion is fully reproducible, while the downstream validation bypass depends on the application. The issue is fixed in @fastify/busboy 3.2.6, which tracks how many terminator bytes were actually buffered when the limit is reached so a split terminator no longer corrupts the final header, and users should upgrade to 3.2.6 or later. As a workaround, apply the same validation to field values as to file uploads rather than treating file events as a trust boundary.

Database specific
{
    "cna_assigner":  "openjs",
    "cwe_ids":  [
        "CWE-193"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128846.json"
}
References

Affected packages

Git / github.com/fastify/busboy

Affected ranges

Type
GIT
Repo
https://github.com/fastify/busboy
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "3.2.1"
                },
                {
                    "fixed":  "3.2.6"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "3.2.1"
                },
                {
                    "last_affected":  "3.2.5"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

v3.*
v3.2.1
v3.2.2
v3.2.3
v3.2.4
v3.2.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-128846.json"