<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 07 Oct 2026 09:28:46 +0000</lastBuildDate>
    <item>
      <title>GHSA-q5qw-h33p-qvwr — Hono vulnerable to arbitrary file access via serveStatic vulnerability</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-q5qw-h33p-qvwr</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: hono&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;When using `serveStatic` together with route-based middleware protections (e.g. `app.use(&amp;#39;/admin/*&amp;#39;, ...)`), inconsistent URL decoding allowed protected static resources to be accessed without authorization.&lt;/p&gt;
&lt;p&gt;The router used `decodeURI`, while `serveStatic` used `decodeURIComponent`. This mismatch allowed paths containing encoded slashes (`%2F`) to bypass middleware protections while still resolving to the intended filesystem path.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;The routing layer preserved `%2F` as a literal string, while `serveStatic` decoded it into `/` before resolving the file path.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;Request: `/admin%2Fsecret.html`&lt;/p&gt;
&lt;p&gt;- Router sees: `/admin%2Fsecret.html` → does not match `/admin/*`
- Static handler resolves: `/admin/secret.html`&lt;/p&gt;
&lt;p&gt;As a result, static files under the configured static root could be served without triggering route-based protections.&lt;/p&gt;
&lt;p&gt;This only affects applications that both:&lt;/p&gt;
&lt;p&gt;- Protect subpaths using route-based middleware, and
- Serve files from the same static root using `serveStatic`.&lt;/p&gt;
&lt;p&gt;This does **not** allow access outside the static root and is **not** a path traversal vulnerability.&lt;/p&gt;
&lt;p&gt;## Impact&lt;/p&gt;
&lt;p&gt;An unauthenticated attacker could bypass route-based authorization for protected static resources by supplying paths containing encoded slashes.&lt;/p&gt;
&lt;p&gt;Applications relying solely on route-based middleware to protect static subpaths may have exposed those resources.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: hono&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;When using `serveStatic` together with route-based middleware protections (e.g. `app.use(&amp;#39;/admin/*&amp;#39;, ...)`), inconsistent URL decoding allowed protected static resources to be accessed without authorization.&lt;/p&gt;
&lt;p&gt;The router used `decodeURI`, while `serveStatic` used `decodeURIComponent`. This mismatch allowed paths containing encoded slashes (`%2F`) to bypass middleware protections while still resolving to the intended filesystem path.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;The routing layer preserved `%2F` as a literal string, while `serveStatic` decoded it into `/` before resolving the file path.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;Request: `/admin%2Fsecret.html`&lt;/p&gt;
&lt;p&gt;- Router sees: `/admin%2Fsecret.html` → does not match `/admin/*`
- Static handler resolves: `/admin/secret.html`&lt;/p&gt;
&lt;p&gt;As a result, static files under the configured static root could be served without triggering route-based protections.&lt;/p&gt;
&lt;p&gt;This only affects applications that both:&lt;/p&gt;
&lt;p&gt;- Protect subpaths using route-based middleware, and
- Serve files from the same static root using `serveStatic`.&lt;/p&gt;
&lt;p&gt;This does **not** allow access outside the static root and is **not** a path traversal vulnerability.&lt;/p&gt;
&lt;p&gt;## Impact&lt;/p&gt;
&lt;p&gt;An unauthenticated attacker could bypass route-based authorization for protected static resources by supplying paths containing encoded slashes.&lt;/p&gt;
&lt;p&gt;Applications relying solely on route-based middleware to protect static subpaths may have exposed those resources.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-q5qw-h33p-qvwr</guid>
    </item>
  </channel>
</rss>
