GHSA-x9cq-qqfm-8972

Suggest an improvement
Source
https://github.com/advisories/GHSA-x9cq-qqfm-8972
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-x9cq-qqfm-8972/GHSA-x9cq-qqfm-8972.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x9cq-qqfm-8972
Aliases
Published
2026-12-04T22:51:01Z
Modified
2026-12-05T18:48:13Z
Severity
  • 2.5 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
filelock: Readable database oplock delays async cancellation on Windows
Details

Impact

On Windows, another local account with read access to a SQLite lock database can delay cancellation of an AsyncReadWriteLock acquisition. The task and application shutdown can wait past the task deadline, up to the lock's own timeout. Older databases and deliberately shared databases may grant the necessary access.

Affected versions and mitigation

Confirmed affected: = 4.2.12. Upgrade to 4.3.0.

An interrupted acquire can now stop its worker between attempts. Lock construction still has its own five-second database-open budget. Restrict read access to the service account and set a finite lock timeout appropriate for shutdown. Fix in PR #1059

Credits

Scan filelock-20261116-009; finding ANT-2026-YNJD4Y2W.

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

Affected packages

PyPI / filelock

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.2.12
Fixed
4.3.0

Affected versions

4.*
4.2.12

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-x9cq-qqfm-8972/GHSA-x9cq-qqfm-8972.json"