---
id: "CVE-2026-116132"
kind: "vulnerability"
aliases: ["CVE-2026-116132"]
title: "Perl HTTP::Body: incomplete multipart uploads leave temp files on disk"
severity: "low"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["http-body", "package", "perl", "self-hosted"]
not_affected_if: ["no-file-uploads", "non-perl-stack"]
published_at: "2026-10-28T18:17:12+00:00"
first_seen_at: "2026-10-28T18:34:32+00:00"
updated_at: "2026-10-28T18:35:37+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-116132", "first_seen_at": "2026-10-28T18:34:32+00:00"}]
---

# Perl HTTP::Body: incomplete multipart uploads leave temp files on disk

HTTP::Body, a Perl module for parsing request bodies, creates a temporary file for a multipart file part but never records it when the upload ends early, so the file is never cleaned up. A remote attacker can repeat such requests to fill the temporary directory.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed version with `perl -MHTTP::Body -e 'print $HTTP::Body::VERSION'`
- Look for a `HTTP::Body` line with a version below `1.23_01` in the `cpanfile`, `cpanfile.snapshot` or `Makefile.PL` of each Perl application
- Confirm the application parses multipart uploads through HTTP::Body (for example through Catalyst or another framework that uses it)

## Fix

- Upgrade HTTP::Body to `1.23_01` or later
- Until upgraded, clear the temporary upload directory regularly and monitor its free space

## Timeline

- 2026-10-28T18:34:32+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-116132

## From the sources

HTTP::Body versions before 1.23_01 for Perl leave the temporary file of an incomplete multipart upload on disk.

The multipart parser creates a temporary file as soon as a file part starts, but adds it to the upload list only when the part completes. Uploads are only ever deleted from that list, by the cleanup option or by the caller, so a body that ends inside a file part leaves its temporary file where nothing can find it.

A remote attacker can fill the temporary directory by repeating such requests, leaving one file behind for each.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
