Two ReadWriteLock callers can both enter write critical sections if another account can modify their shared SQLite lock database. The overlap can occur when the database changes to write-ahead logging (WAL) while acquisition is waiting.
The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. After beginning the transaction, the lock checks SQLite's active journal mode and refuses a WAL transaction. PR #980
Restrict write access to the lock database and its directory to trusted participants.
Reported by OSS Scanner (ANT-2026-HQPO34NX).
{
"cwe_ids": [
"CWE-367"
],
"github_reviewed": true,
"github_reviewed_at": "2026-12-04T22:41:08Z",
"nvd_published_at": "2026-12-03T19:17:34Z",
"severity": "LOW"
}