Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-79235.json
JSON Data
https://api.osv.dev/v1/vulns/AZL-79235
Upstream
Published
2026-01-10T06:15:52Z
Modified
2026-04-21T04:34:39.548081Z
Summary
CVE-2026-22701 affecting package python-filelock 3.0.12-13
Details

filelock is a platform-independent file lock for Python. Prior to version 3.20.3, a TOCTOU race condition vulnerability exists in the SoftFileLock implementation of the filelock package. An attacker with local filesystem access and permission to create symlinks can exploit a race condition between the permission validation and file creation to cause lock operations to fail or behave unexpectedly. The vulnerability occurs in the acquire() method between raiseonnotwritable_file() (permission check) and os.open() (file creation). During this race window, an attacker can create a symlink at the lock file path, potentially causing the lock to operate on an unintended target file or leading to denial of service. This issue has been patched in version 3.20.3.

References

Affected packages

Azure Linux:2 / python-filelock

Package

Name
python-filelock
Purl
pkg:rpm/azure-linux/python-filelock

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
3.0.12-13

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-79235.json"