Ubuntu Security Notice
USN-7999-1
python-filelock vulnerabilities
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)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:18.04:LTS | python-filelock | All versions before 3.0.4-1ubuntu0.1~esm1 (fixed in 3.0.4-1ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | python-filelock | All versions before 3.0.12-2ubuntu0.1~esm1 (fixed in 3.0.12-2ubuntu0.1~esm1) |
| Ubuntu:Pro:22.04:LTS | python-filelock | All versions before 3.6.0-1ubuntu0.1~esm1 (fixed in 3.6.0-1ubuntu0.1~esm1) |
| Ubuntu:Pro:24.04:LTS | python-filelock | All versions before 3.13.1-1ubuntu0.1~esm1 (fixed in 3.13.1-1ubuntu0.1~esm1) |