OESA-2026-1238

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-1238
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-1238.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-1238
Upstream
Published
2026-01-23T12:24:12Z
Modified
2026-01-23T12:45:00.515282Z
Summary
python-filelock security update
Details

This package contains a single module, which implements a platform independent file locking mechanism for Python.

Security Fix(es):

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.(CVE-2026-22701)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:24.03-LTS-SP3 / python-filelock

Package

Name
python-filelock
Purl
pkg:rpm/openEuler/python-filelock&distro=openEuler-24.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.13.1-4.oe2403sp3

Ecosystem specific

{
    "src": [
        "python-filelock-3.13.1-4.oe2403sp3.src.rpm"
    ],
    "noarch": [
        "python-filelock-doc-3.13.1-4.oe2403sp3.noarch.rpm",
        "python-filelock-help-3.13.1-4.oe2403sp3.noarch.rpm",
        "python3-filelock-3.13.1-4.oe2403sp3.noarch.rpm"
    ]
}

Database specific

source

"https://repo.openeuler.org/security/data/osv/OESA-2026-1238.json"