<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T19:32:21.533793+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-h5fg-jpgr-rv9c</id>
    <title>GHSA-h5fg-jpgr-rv9c — Vert.x-Web Access Control Flaw in StaticHandler’s Hidden File Protection for Files Under Hidden Directories</title>
    <updated>2026-09-29T19:32:21.535772+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Maven: io.vertx:vertx-web</p>
<p># Description</p>
<p>There is a flaw in the hidden file protection feature of Vert.x Web’s `StaticHandler` when `setIncludeHidden(false)` is configured.</p>
<p>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:</p>
<p>- **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.</p>
<p>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.</p>
<p># Steps to Reproduce</p>
<p>```bash
1. Prepare test environment</p>
<p># Create directory structure
mkdir -p src/test/resources/webroot/.secret
mkdir -p src/test/resources/webroot/.git</p>
<p># Place test files
echo "This is a visible file" &gt; src/test/resources/webroot/visible.txt
echo "This is a hidden file" &gt; src/test/resources/webroot/.hidden.txt
echo "SECRET DATA: API_KEY=abc123" &gt; src/test/resources/webroot/.secret/config.txt
echo "Git config data" &gt; src/test/resources/webroot/.git/config
```</p>
<p>```java
2. Implement test server</p>
<p>import io.vertx.core.AbstractVerticle;
import io.…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-h5fg-jpgr-rv9c"/>
  </entry>
</feed>
