DEBIAN-CVE-2026-22701

Source
https://security-tracker.debian.org/tracker/CVE-2026-22701
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-22701.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-22701
Upstream
Published
2026-01-10T06:15:52.673Z
Modified
2026-01-11T05:10:20.831546Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H CVSS Calculator
Summary
[none]
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

Debian:11 / python-filelock

Package

Name
python-filelock
Purl
pkg:deb/debian/python-filelock?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.0.12-2
3.3.2-1
3.4.0-1
3.4.2-1
3.4.2-2
3.6.0-1
3.7.0-1
3.7.1-1
3.8.0-1
3.8.0-2
3.8.2-1
3.9.0-1
3.12.2-1
3.12.3-1
3.12.4-1
3.13.1-1
3.13.3-1
3.13.4-1
3.14.0-1
3.15.4-1
3.16.1-1
3.16.1-2
3.17.0-1
3.18.0-1
3.19.1-1
3.20.0-1
3.20.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source

"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-22701.json"

Debian:12 / python-filelock

Package

Name
python-filelock
Purl
pkg:deb/debian/python-filelock?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.9.0-1
3.12.2-1
3.12.3-1
3.12.4-1
3.13.1-1
3.13.3-1
3.13.4-1
3.14.0-1
3.15.4-1
3.16.1-1
3.16.1-2
3.17.0-1
3.18.0-1
3.19.1-1
3.20.0-1
3.20.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source

"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-22701.json"

Debian:13 / python-filelock

Package

Name
python-filelock
Purl
pkg:deb/debian/python-filelock?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.18.0-1
3.18.0-1+deb13u1
3.19.1-1
3.20.0-1
3.20.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source

"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-22701.json"

Debian:14 / python-filelock

Package

Name
python-filelock
Purl
pkg:deb/debian/python-filelock?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.18.0-1
3.19.1-1
3.20.0-1
3.20.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source

"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-22701.json"