---
title: "CVE-2026-7381"
canonical_url: "https://pkgseek.com/security/CVE-2026-7381"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "critical"
---

# CVE-2026-7381

Plack::Middleware::XSendfile versions through 1.0053 for Perl can allow client-controlled path rewriting.  Plack::Middleware::XSendfile allows the variation setting (sendfile type) to be set by the client via the X-Sendfile-Type header, if it is not considered in the middleware constructor or the Plack environment.  A malicious client can set the X-Sendfile-Type header to "X-Accel-Redirect" to services running behind nginx reverse proxies, and then set the X-Accel-Mapping to map the path to an arbitrary file on the server.  Since 1.0053, Plack::Middleware::XSendfile is deprecated and will be r…

CVE-2026-7381 is rated CRITICAL (9.1), with 1 indexed affected package builds across 1 distributions.

- **Severity / Score**: CRITICAL (9.1)
- **Affected builds**: 1
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libplack-perl | 1.0051-1 | — |
