<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Cpe:2.3:a:webpack.js:webpack-Dev-Middleware:*:*:*:*:*:*:*:* - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/cpes/cpe2.3awebpack.jswebpack-dev-middleware/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Mon, 24 Aug 2026 16:02:35 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/cpes/cpe2.3awebpack.jswebpack-dev-middleware/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Path Traversal in webpack-dev-middleware (CVE-2026-76844)</title><link>https://feed.craftedsignal.io/briefs/2026-08-cve-2026-76844/</link><pubDate>Mon, 24 Aug 2026 16:02:35 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-cve-2026-76844/</guid><description>An incomplete fix for CVE-2024-29180 in webpack-dev-middleware allows path traversal via crafted URL requests when publicPath lacks a trailing slash, potentially leading to arbitrary local file read.</description><content:encoded><![CDATA[<p>CVE-2026-76844 is a path traversal vulnerability in the webpack-dev-middleware package, impacting versions 5.3.4, 6.1.2, and 7.1.0 and later. The vulnerability stems from an incomplete remediation of CVE-2024-29180. The function getFilenameFromUrl improperly validates request pathnames when the configured publicPath lacks a trailing slash. By crafting a request such as /assets../.env against a publicPath of /assets, the internal traversal guard is bypassed because the dot-dot sequence is embedded within a path segment rather than standing alone.</p>
<p>This flaw allows the middleware to resolve paths outside the intended output directory, effectively handing a path like ../.env to the underlying filesystem resolution logic. The impact is restricted to environments where the middleware is configured with writeToDisk set to true or utilizes a custom outputFileSystem that interacts with the host's physical disk, as the default memory-based filesystem is not vulnerable. The traversal depth is limited to one directory level.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows an unauthorized remote attacker to read sensitive files located one directory above the configured webpack output directory. This could result in the exposure of environment variables, configuration files, or other sensitive data accessible to the user account running the Node.js process. The vulnerability is present in widely used build middleware, potentially impacting any web application or build pipeline utilizing these affected versions in a development or production environment with physical disk access enabled.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Update webpack-dev-middleware to a patched version once released by the maintainers.</li>
<li>Audit application configurations to ensure publicPath is consistently defined with a trailing slash where possible.</li>
<li>Disable writeToDisk in development middleware configurations if physical filesystem access is not strictly required for the build pipeline.</li>
<li>Deploy web server or WAF rules to block requests containing sequences that attempt to merge directory segments and dots, specifically patterns where a segment name is followed by '..' without a trailing slash.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category></item></channel></rss>