GHSA-69rv-9gxw-r2jh

Suggest an improvement
Source
https://github.com/advisories/GHSA-69rv-9gxw-r2jh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-69rv-9gxw-r2jh/GHSA-69rv-9gxw-r2jh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-69rv-9gxw-r2jh
Aliases
Published
2026-12-04T22:42:51Z
Modified
2026-12-05T18:48:25Z
Severity
  • 3.6 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
Summary
filelock: SoftFileLock recovery can admit two holders through a foreign-owned record
Details

Impact

During stale-marker recovery, SoftFileLock can admit two holders if another account can create entries in a shared sticky lock directory. This requires a POSIX filesystem that supports atomic name exchange. An affected caller can enter a critical section while its peer still holds the lock.

Affected versions and fix

Versions 4.2.1 through 4.2.12 are affected. Upgrade to filelock 4.3.0 or later. Recovery keeps foreign-owned records away from the public lock path. PR #975

Workaround

Keep the lock in a directory writable only by trusted participants.

Credits

Reported by OSS Scanner (ANT-2026-5VU02NND).

Database specific
{
    "cwe_ids":  [
        "CWE-367"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-12-04T22:42:51Z",
    "nvd_published_at":  "2026-12-03T19:17:32Z",
    "severity":  "LOW"
}
References

Affected packages

PyPI / filelock

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.2.1
Fixed
4.3.0

Affected versions

4.*
4.2.1
4.2.2
4.2.3
4.2.4
4.2.5
4.2.6
4.2.7
4.2.8
4.2.9
4.2.10
4.2.11
4.2.12

Database specific

last_known_affected_version_range
"<= 4.2.12"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-69rv-9gxw-r2jh/GHSA-69rv-9gxw-r2jh.json"