<?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-28T18:13:27.144626+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/cve-2025-68146</id>
    <title>CVE-2025-68146 — filelock has TOCTOU race condition that allows symlink attacks during lock file creation</title>
    <updated>2026-09-28T18:13:29.737140+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> tox-dev filelock</p>
<p>filelock is a platform-independent file lock for Python. In versions prior to 3.20.1, a Time-of-Check-Time-of-Use (TOCTOU) race condition allows local attackers to corrupt or truncate arbitrary user files through symlink attacks. The vulnerability exists in both Unix and Windows lock file creation where filelock checks if a file exists before opening it with O_TRUNC. An attacker can create a symlink pointing to a victim file in the time gap between the check and open, causing os.open() to follow the symlink and truncate the target file. All users of filelock on Unix, Linux, macOS, and Windows systems are impacted. The vulnerability cascades to dependent libraries. The attack requires local filesystem access and ability to create symlinks (standard user permissions on Unix; Developer Mode on Windows 10+). Exploitation succeeds within 1-3 attempts when lock file paths are predictable. The issue is fixed in version 3.20.1. If immediate upgrade is not possible, use SoftFileLock instead of UnixFileLock/WindowsFileLock (note: different locking semantics, may not be suitable for all use cases); ensure lock file directories have restrictive permissions (chmod 0700) to prevent untrusted users from creating symlinks; and/or monitor lock file directories for suspicious symlinks before running trusted applications. These workarounds provide only partial mitigation. The race condition remains exploitable. Upgrading to version 3.20.1 is strongly recommended.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2025-68146"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-w853-jp5j-5j7f</id>
    <title>GHSA-w853-jp5j-5j7f — filelock has a TOCTOU race condition which allows symlink attacks during lock file creation</title>
    <updated>2026-09-28T18:13:29.737338+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: filelock</p>
<p>### Impact</p>
<p>A Time-of-Check-Time-of-Use (TOCTOU) race condition allows local attackers to corrupt or truncate arbitrary user files through symlink attacks. The vulnerability exists in both Unix and Windows lock file creation where filelock checks if a file exists before opening it with O_TRUNC. An attacker can create a symlink pointing to a victim file in the time gap between the check and open, causing os.open() to follow the symlink and truncate the target file.</p>
<p>**Who is impacted:**</p>
<p>All users of filelock on Unix, Linux, macOS, and Windows systems. The vulnerability cascades to dependent libraries:</p>
<p>- **virtualenv users**: Configuration files can be overwritten with virtualenv metadata, leaking sensitive paths
- **PyTorch users**: CPU ISA cache or model checkpoints can be corrupted, causing crashes or ML pipeline failures
- **poetry/tox users**: through using virtualenv or filelock on their own.</p>
<p>Attack requires local filesystem access and ability to create symlinks (standard user permissions on Unix; Developer Mode on Windows 10+). Exploitation succeeds within 1-3 attempts when lock file paths are predictable.</p>
<p>### Patches</p>
<p>Fixed in version **3.20.1**.</p>
<p>**Unix/Linux/macOS fix:** Added O_NOFOLLOW flag to os.open() in UnixFileLock.\_acquire() to prevent symlink following.</p>
<p>**Windows fix:** Added GetFileAttributesW API check to detect reparse points (symlinks/junctions) before opening files in WindowsFileLock.\_acquire().</p>
<p>**Users should upgrade to filelock 3.20.1 or later…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-w853-jp5j-5j7f"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/pysec-2026-1375</id>
    <title>PYSEC-2026-1375 — filelock has a TOCTOU race condition which allows symlink attacks during lock file creation</title>
    <updated>2026-09-28T18:13:29.737454+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: filelock</p>
<p>### Impact</p>
<p>A Time-of-Check-Time-of-Use (TOCTOU) race condition allows local attackers to corrupt or truncate arbitrary user files through symlink attacks. The vulnerability exists in both Unix and Windows lock file creation where filelock checks if a file exists before opening it with O_TRUNC. An attacker can create a symlink pointing to a victim file in the time gap between the check and open, causing os.open() to follow the symlink and truncate the target file.</p>
<p>**Who is impacted:**</p>
<p>All users of filelock on Unix, Linux, macOS, and Windows systems. The vulnerability cascades to dependent libraries:</p>
<p>- **virtualenv users**: Configuration files can be overwritten with virtualenv metadata, leaking sensitive paths
- **PyTorch users**: CPU ISA cache or model checkpoints can be corrupted, causing crashes or ML pipeline failures
- **poetry/tox users**: through using virtualenv or filelock on their own.</p>
<p>Attack requires local filesystem access and ability to create symlinks (standard user permissions on Unix; Developer Mode on Windows 10+). Exploitation succeeds within 1-3 attempts when lock file paths are predictable.</p>
<p>### Patches</p>
<p>Fixed in version **3.20.1**.</p>
<p>**Unix/Linux/macOS fix:** Added O_NOFOLLOW flag to os.open() in UnixFileLock.\_acquire() to prevent symlink following.</p>
<p>**Windows fix:** Added GetFileAttributesW API check to detect reparse points (symlinks/junctions) before opening files in WindowsFileLock.\_acquire().</p>
<p>**Users should upgrade to filelock 3.20.1 or later…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/pysec-2026-1375"/>
  </entry>
</feed>
