Skip to main content
No exploitation reportedFix available

CVE-2026-7381

No exploitation reported by the sources we read.

  • Published2026-04-29
  • WeaknessCWE-200 · CWE-441 · CWE-913

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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 removed from future releases of Plack. This is similar to CVE-2025-61780 for Rack::Sendfile, although Plack::Middleware::XSendfile has some mitigations that disallow regular expressions to be used in the mapping, and only apply the mapping for the "X-Accel-Redirect" type.

Timeline

dates in UTC
  1. 2026-04-2923:16CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-02 15:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2026-7381?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2026-7381?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
Miyagawa plack\
BranchAffectedFixed in
—= \no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As CPANSec, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • MIYAGAWA Plack::Middleware::XSendfileother versions: not affected

    package Plackhttps://cpan.org/modules

    Affected
    • ≤ 1.0053no fix statedcustom

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-04-29

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libplack-perlUbuntu:26.10all versions · no fixed version listed
  • libplack-perlUbuntu:26.04:LTSall versions · no fixed version listed
  • libplack-perlUbuntu:25.10all versions · no fixed version listed
  • libplack-perlUbuntu:24.04:LTSall versions · no fixed version listed
  • libplack-perlUbuntu:22.04:LTSall versions · no fixed version listed
  • libplack-perlUbuntu:20.04:LTSall versions · no fixed version listed
  • libplack-perlUbuntu:18.04:LTSall versions · no fixed version listed
  • libplack-perlUbuntu:16.04:LTSall versions · no fixed version listed

5 more package ranges on OSV.dev

Full record on NVD

Fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Published
2026-04-29
Last Modified
2026-10-26
NVD status
Analyzed
GitHub Advisory
GHSA-j2f5-52cv-9wrh

Frequently asked questions

What is 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 removed from future releases of Plack. This is similar to CVE-2025-61780 for Rack::Sendfile, although Plack::Middleware::XSendfile has some mitigations that disallow regular expressions to be used in the mapping, and only apply the mapping for the "X-Accel-Redirect" type.

Is CVE-2026-7381 actively exploited?

Active exploitation of CVE-2026-7381 has not been confirmed. Its EPSS score was 0.4% on 2026-11-02, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-7381?

CVE-2026-7381 has a CVSS v3 base score of 9.1 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.

Running perl-Plack? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record