<?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://db.gcve.eu</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>Fri, 09 Oct 2026 23:17:28 +0000</lastBuildDate>
    <item>
      <title>GHSA-8v2v-wjwg-vx6r — actix-files has a possible exposure of information vulnerability</title>
      <link>https://db.gcve.eu/vuln/ghsa-8v2v-wjwg-vx6r</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; crates.io: actix-files&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;When passing a non-existing folder to the `actix_files::Files::new()` method causes the actix server to expose unexpected files.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The `actix-files` library exposes a [`Files` struct](https://github.com/actix/actix-web/blob/fba766b4beb92278665d58815c94d336015225c5/actix-files/src/files.rs#L38) that configures an actix `service` to serve the files in a folder as static assets. Below you can find the [signature of the `Files::new` method](https://github.com/actix/actix-web/blob/fba766b4beb92278665d58815c94d336015225c5/actix-files/src/files.rs#L98):&lt;/p&gt;
&lt;p&gt;```rust
pub fn new&amp;lt;T: Into&amp;lt;PathBuf&amp;gt;&amp;gt;(mount_path: &amp;amp;str, serve_from: T) -&amp;gt; Files
```&lt;/p&gt;
&lt;p&gt;When the `mount_path` you pass to `Files` doesn&amp;#39;t exist, [it defaults to an empty path](https://github.com/actix/actix-web/blob/fba766b4beb92278665d58815c94d336015225c5/actix-files/src/files.rs#L104) (`Path::new()`). When the service receives a HTTP request, it [joins the request information with the empty path](https://github.com/actix/actix-web/blob/fba766b4beb92278665d58815c94d336015225c5/actix-files/src/service.rs#L136) and calls `canonicalize`. Rust resolves this path as relative and returns any file that matches it.&lt;/p&gt;
&lt;p&gt;This behavior causes the library to expose unexpected files when the folder is not present.&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;_There is a working PoC on https://github.com/Angelmmiguel/actix-files-vuln, although the next steps can be followed to reproduce the issue_&lt;/p&gt;
&lt;p&gt;1. Clone the https://github.com/actix/examples repository.
2. C…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; crates.io: actix-files&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;When passing a non-existing folder to the `actix_files::Files::new()` method causes the actix server to expose unexpected files.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The `actix-files` library exposes a [`Files` struct](https://github.com/actix/actix-web/blob/fba766b4beb92278665d58815c94d336015225c5/actix-files/src/files.rs#L38) that configures an actix `service` to serve the files in a folder as static assets. Below you can find the [signature of the `Files::new` method](https://github.com/actix/actix-web/blob/fba766b4beb92278665d58815c94d336015225c5/actix-files/src/files.rs#L98):&lt;/p&gt;
&lt;p&gt;```rust
pub fn new&amp;lt;T: Into&amp;lt;PathBuf&amp;gt;&amp;gt;(mount_path: &amp;amp;str, serve_from: T) -&amp;gt; Files
```&lt;/p&gt;
&lt;p&gt;When the `mount_path` you pass to `Files` doesn&amp;#39;t exist, [it defaults to an empty path](https://github.com/actix/actix-web/blob/fba766b4beb92278665d58815c94d336015225c5/actix-files/src/files.rs#L104) (`Path::new()`). When the service receives a HTTP request, it [joins the request information with the empty path](https://github.com/actix/actix-web/blob/fba766b4beb92278665d58815c94d336015225c5/actix-files/src/service.rs#L136) and calls `canonicalize`. Rust resolves this path as relative and returns any file that matches it.&lt;/p&gt;
&lt;p&gt;This behavior causes the library to expose unexpected files when the folder is not present.&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;_There is a working PoC on https://github.com/Angelmmiguel/actix-files-vuln, although the next steps can be followed to reproduce the issue_&lt;/p&gt;
&lt;p&gt;1. Clone the https://github.com/actix/examples repository.
2. C…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-8v2v-wjwg-vx6r</guid>
    </item>
  </channel>
</rss>
