<?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>Wed, 30 Sep 2026 22:15:26 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-53502 — Thumbor has path traversal via post-validation URL decoding bypass in file_loader</title>
      <link>https://db.gcve.eu/vuln/cve-2026-53502</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; thumbor&lt;/p&gt;
&lt;p&gt;Thumbor is an open-source photo thumbnail service by globo.com. Prior to 7.8.0, file_loader decodes percent-encoded path segments after its root-boundary validation, allowing traversal outside FILE_LOADER_ROOT_PATH through watermark or frame filter input. This issue is fixed in 7.8.0.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; thumbor&lt;/p&gt;
&lt;p&gt;Thumbor is an open-source photo thumbnail service by globo.com. Prior to 7.8.0, file_loader decodes percent-encoded path segments after its root-boundary validation, allowing traversal outside FILE_LOADER_ROOT_PATH through watermark or frame filter input. This issue is fixed in 7.8.0.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-53502</guid>
    </item>
    <item>
      <title>PYSEC-2026-3618 — Thumbor has path traversal via post-validation URL decoding bypass in file_loader</title>
      <link>https://db.gcve.eu/vuln/pysec-2026-3618</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: thumbor&lt;/p&gt;
&lt;p&gt;The file_loader performs `unquote()` on the file path AFTER the `abspath() + startswith()` security check. An attacker can use percent-encoded path traversal sequences (`%2e%2e` for `..`) that pass the security check as literal directory names, but are then decoded to actual `..` traversal sequences.&lt;/p&gt;
&lt;p&gt;## Affected code&lt;/p&gt;
&lt;p&gt;`thumbor/loaders/file_loader.py` lines 28-49:
```python
async def load(context, path):
    file_path = join(
        context.config.FILE_LOADER_ROOT_PATH.rstrip(&amp;#34;/&amp;#34;), path.lstrip(&amp;#34;/&amp;#34;)
    )
    file_path = abspath(file_path)
    inside_root_path = file_path.startswith(         # Security check
        abspath(context.config.FILE_LOADER_ROOT_PATH)
    )
    result = LoaderResult()
    if not inside_root_path:
        result.error = LoaderResult.ERROR_NOT_FOUND
        result.successful = False
        return result&lt;/p&gt;
&lt;p&gt;if not exists(file_path):
        file_path = unquote(file_path)               # unquote AFTER check!&lt;/p&gt;
&lt;p&gt;if exists(file_path) and isfile(file_path):
        with open(file_path, &amp;#34;rb&amp;#34;) as source_file:
            ...
```&lt;/p&gt;
&lt;p&gt;The watermark and frame filters pass their URL parameters directly to the loader without re-encoding (unlike the main image URL flow which applies `quote()` in `imaging.py` line 37).&lt;/p&gt;
&lt;p&gt;## PoC&lt;/p&gt;
&lt;p&gt;```bash
# Read /etc/passwd via watermark filter path traversal
# %252e is double-encoded: Tornado decodes to %2e, filter passes to file_loader,
# file_loader unquote decodes %2e to .
curl &amp;#39;http://thumbor-host:8888/unsafe/filters:watermark…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: thumbor&lt;/p&gt;
&lt;p&gt;The file_loader performs `unquote()` on the file path AFTER the `abspath() + startswith()` security check. An attacker can use percent-encoded path traversal sequences (`%2e%2e` for `..`) that pass the security check as literal directory names, but are then decoded to actual `..` traversal sequences.&lt;/p&gt;
&lt;p&gt;## Affected code&lt;/p&gt;
&lt;p&gt;`thumbor/loaders/file_loader.py` lines 28-49:
```python
async def load(context, path):
    file_path = join(
        context.config.FILE_LOADER_ROOT_PATH.rstrip(&amp;#34;/&amp;#34;), path.lstrip(&amp;#34;/&amp;#34;)
    )
    file_path = abspath(file_path)
    inside_root_path = file_path.startswith(         # Security check
        abspath(context.config.FILE_LOADER_ROOT_PATH)
    )
    result = LoaderResult()
    if not inside_root_path:
        result.error = LoaderResult.ERROR_NOT_FOUND
        result.successful = False
        return result&lt;/p&gt;
&lt;p&gt;if not exists(file_path):
        file_path = unquote(file_path)               # unquote AFTER check!&lt;/p&gt;
&lt;p&gt;if exists(file_path) and isfile(file_path):
        with open(file_path, &amp;#34;rb&amp;#34;) as source_file:
            ...
```&lt;/p&gt;
&lt;p&gt;The watermark and frame filters pass their URL parameters directly to the loader without re-encoding (unlike the main image URL flow which applies `quote()` in `imaging.py` line 37).&lt;/p&gt;
&lt;p&gt;## PoC&lt;/p&gt;
&lt;p&gt;```bash
# Read /etc/passwd via watermark filter path traversal
# %252e is double-encoded: Tornado decodes to %2e, filter passes to file_loader,
# file_loader unquote decodes %2e to .
curl &amp;#39;http://thumbor-host:8888/unsafe/filters:watermark…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/pysec-2026-3618</guid>
    </item>
  </channel>
</rss>
