<?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>Tue, 29 Sep 2026 16:57:21 +0000</lastBuildDate>
    <item>
      <title>GHSA-h5fg-jpgr-rv9c — Vert.x-Web Access Control Flaw in StaticHandler’s Hidden File Protection for Files Under Hidden Directories</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-h5fg-jpgr-rv9c</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Maven: io.vertx:vertx-web&lt;/p&gt;
&lt;p&gt;# Description&lt;/p&gt;
&lt;p&gt;There is a flaw in the hidden file protection feature of Vert.x Web’s `StaticHandler` when `setIncludeHidden(false)` is configured.&lt;/p&gt;
&lt;p&gt;In the current implementation, only files whose final path segment (i.e., the file name) begins with a dot (`.`) are treated as “hidden” and are blocked from being served. However, this logic fails in the following cases:&lt;/p&gt;
&lt;p&gt;- **Files under hidden directories**: For example, `/.secret/config.txt` — although `.secret` is a hidden directory, the file `config.txt` itself does not start with a dot, so it gets served.
- **Real-world impact**: Sensitive files placed in hidden directories like `.git`, `.env`, `.aws` may become publicly accessible.&lt;/p&gt;
&lt;p&gt;As a result, the behavior does not meet the expectations set by the `includeHidden=false` configuration, which should ideally protect all hidden files and directories. This gap may lead to unintended exposure of sensitive information.&lt;/p&gt;
&lt;p&gt;# Steps to Reproduce&lt;/p&gt;
&lt;p&gt;```bash
1. Prepare test environment&lt;/p&gt;
&lt;p&gt;# Create directory structure
mkdir -p src/test/resources/webroot/.secret
mkdir -p src/test/resources/webroot/.git&lt;/p&gt;
&lt;p&gt;# Place test files
echo &amp;#34;This is a visible file&amp;#34; &amp;gt; src/test/resources/webroot/visible.txt
echo &amp;#34;This is a hidden file&amp;#34; &amp;gt; src/test/resources/webroot/.hidden.txt
echo &amp;#34;SECRET DATA: API_KEY=abc123&amp;#34; &amp;gt; src/test/resources/webroot/.secret/config.txt
echo &amp;#34;Git config data&amp;#34; &amp;gt; src/test/resources/webroot/.git/config
```&lt;/p&gt;
&lt;p&gt;```java
2. Implement test server&lt;/p&gt;
&lt;p&gt;import io.vertx.core.AbstractVerticle;
import io.…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Maven: io.vertx:vertx-web&lt;/p&gt;
&lt;p&gt;# Description&lt;/p&gt;
&lt;p&gt;There is a flaw in the hidden file protection feature of Vert.x Web’s `StaticHandler` when `setIncludeHidden(false)` is configured.&lt;/p&gt;
&lt;p&gt;In the current implementation, only files whose final path segment (i.e., the file name) begins with a dot (`.`) are treated as “hidden” and are blocked from being served. However, this logic fails in the following cases:&lt;/p&gt;
&lt;p&gt;- **Files under hidden directories**: For example, `/.secret/config.txt` — although `.secret` is a hidden directory, the file `config.txt` itself does not start with a dot, so it gets served.
- **Real-world impact**: Sensitive files placed in hidden directories like `.git`, `.env`, `.aws` may become publicly accessible.&lt;/p&gt;
&lt;p&gt;As a result, the behavior does not meet the expectations set by the `includeHidden=false` configuration, which should ideally protect all hidden files and directories. This gap may lead to unintended exposure of sensitive information.&lt;/p&gt;
&lt;p&gt;# Steps to Reproduce&lt;/p&gt;
&lt;p&gt;```bash
1. Prepare test environment&lt;/p&gt;
&lt;p&gt;# Create directory structure
mkdir -p src/test/resources/webroot/.secret
mkdir -p src/test/resources/webroot/.git&lt;/p&gt;
&lt;p&gt;# Place test files
echo &amp;#34;This is a visible file&amp;#34; &amp;gt; src/test/resources/webroot/visible.txt
echo &amp;#34;This is a hidden file&amp;#34; &amp;gt; src/test/resources/webroot/.hidden.txt
echo &amp;#34;SECRET DATA: API_KEY=abc123&amp;#34; &amp;gt; src/test/resources/webroot/.secret/config.txt
echo &amp;#34;Git config data&amp;#34; &amp;gt; src/test/resources/webroot/.git/config
```&lt;/p&gt;
&lt;p&gt;```java
2. Implement test server&lt;/p&gt;
&lt;p&gt;import io.vertx.core.AbstractVerticle;
import io.…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-h5fg-jpgr-rv9c</guid>
    </item>
  </channel>
</rss>
