Home / mailingsPDF  

[USN-7999-1] Filelock vulnerabilities

Posted on 03 February 2026
Ubuntu Security

==========================================================================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

--===============6350748467797849943==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP