{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-7381","published":"2026-04-29T23:16:19.897000Z","last_modified":"2026-10-26T20:10:00.160000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-200","CWE-441","CWE-913"],"cpes":[{"criteria":"cpe:2.3:a:miyagawa:plack\\:\\:middleware\\:\\:xsendfile:*:*:*:*:*:perl:*:*","part":"a","vendor":"miyagawa","product":"plack::middleware::xsendfile","version_end_including":"1.0053"}],"cpes_truncated":false,"vendors":["miyagawa"],"products":["miyagawa/plack-middleware-xsendfile"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2026-7381/","html_en":"/en/cve/CVE-2026-7381/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-7381","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-7381"},"untrusted":{"vendor_name":"Miyagawa","product_name":"Plack::middleware::xsendfile","desc_en":"Plack::Middleware::XSendfile versions through 1.0053 for Perl can allow client-controlled path rewriting.\n\nPlack::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.\n\nA 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.\n\nSince 1.0053, Plack::Middleware::XSendfile is deprecated and will be removed from future releases of Plack.\n\nThis 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.","affected":[{"untrusted_vendor":"MIYAGAWA","untrusted_product":"Plack::Middleware::XSendfile","versions":[]}],"references":[{"url":"https://metacpan.org/release/MIYAGAWA/Plack-1.0053/changes","tags":["Release Notes"]},{"url":"https://metacpan.org/release/MIYAGAWA/Plack-1.0053/view/lib/Plack/Middleware/XSendfile.pm#DEPRECATION-NOTICE","tags":["Product"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61780","tags":["US Government Resource"]}]}}