[USN-7999-1] Filelock vulnerabilities

noreply+usn-bot at canonical.com noreply+usn-bot at canonical.com
Tue Feb 3 22:45:01 UTC 2026


==========================================================================
Ubuntu Security Notice USN-7999-1
February 02, 2026

python-filelock vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS

Summary:

Several security issues were fixed in Filelock.

Software Description:
- python-filelock: A platform-independent file lock for Python

Details:

It was discovered that Filelock incorrectly handled symlinks in temp files.
A local attacker could possibly use this issue to cause lock operations to
fail or behave unexpectedly. (CVE-2026-22701)

It was discovered that the file locking implementation in the Filelock
package contained a race condition. A local attacker could possibly use
this to cause a denial of service or corrupt arbitrary user files.
(CVE-2025-68146)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 24.04 LTS
  python3-filelock                3.13.1-1ubuntu0.1~esm1
                                  Available with Ubuntu Pro

Ubuntu 22.04 LTS
  python3-filelock                3.6.0-1ubuntu0.1~esm1
                                  Available with Ubuntu Pro

Ubuntu 20.04 LTS
  python3-filelock                3.0.12-2ubuntu0.1~esm1
                                  Available with Ubuntu Pro

Ubuntu 18.04 LTS
  python-filelock                 3.0.4-1ubuntu0.1~esm1
                                  Available with Ubuntu Pro
  python3-filelock                3.0.4-1ubuntu0.1~esm1
                                  Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
  https://ubuntu.com/security/notices/USN-7999-1
  CVE-2025-68146, CVE-2026-22701
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20260203/ed9ec9e5/attachment.sig>


More information about the ubuntu-security-announce mailing list