Skip to main content
VulnerabilityPublished

CVE-2026-7381: Plack::Middleware::XSendfile versions through 1.0053 for Perl can allow client-controlled path rewriting

Source GCVE Database

0

Mentioned vulnerabilities

Authoritative record:CVE-2026-7381· Critical 9.1

Not known to be exploited · CVSS 9.1 Critical.

Data as of 27 Oct 2026, 00:24 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
MIYAGAWAPlack::Middleware::XSendfileAffected
  • <=1.0053
Fixed in–
GitHubPlackpkg:github/PlackOther threatsAffected
  • <=1.0053
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Since Plack::Middleware::XSendfile is deprecated as of version 1.0053 and will be removed in future releases, users should migrate away from this middleware. Until removal, avoid relying on client-controllable headers for sendfile type settings or disable this middleware if possible. Monitor vendor advisories for updates or replacement solutions.

Description

Plack::Middleware::XSendfile versions through 1.0053 for Perl allow a client to control path rewriting via the X-Sendfile-Type header. This enables an attacker to set the header to "X-Accel-Redirect" and manipulate the X-Accel-Mapping to access arbitrary files on the server. The middleware has some mitigations limiting regex use in mappings and only applies them for the "X-Accel-Redirect" type. Since version 1.0053, this middleware is deprecated and will be removed in future Plack releases.

References

Community reviews

Loading reviews…