# GHSA-VGGP-MRGC-7G8J: ReadWriteLock write holds overlap after WAL header race

- Database: GitHub
- Severity: CVSS 3.6 (Low)
- Published: 2026-11-22
- Modified: 2026-12-03

## Tracked as

- [CVE-2026-144385](https://cve.now/CVE-2026-144385.md): filelock: ReadWriteLock write holds overlap after WAL header race

## Affected versions

- filelock (PyPI): 4.2.12

## Description

## Impact

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.

## Affected versions and fix

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](https://github.com/tox-dev/filelock/pull/980)

## Workaround

Restrict write access to the lock database and its directory to trusted participants.

## Credits

Reported by OSS Scanner (ANT-2026-HQPO34NX).

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-vggp-mrgc-7g8j

Page: https://cve.now/GHSA-VGGP-MRGC-7G8J

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
