Two ReadWriteLock callers can both acquire a write lock if the shared SQLite database advertises a write format that SQLite treats as read-only. Another account needs write access to the lock database.
The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. The lock rejects an unsupported SQLite write format before granting a hold. PR #979
Restrict write access to the lock database and its directory to trusted participants.
Reported by OSS Scanner (ANT-2026-8CJFU5GI).
{
"cwe_ids": [
"CWE-413"
],
"github_reviewed": true,
"github_reviewed_at": "2026-12-04T22:40:23Z",
"nvd_published_at": "2026-12-03T19:17:33Z",
"severity": "LOW"
}