# GHSA-7MX6-8QVH-PVC4: Linux overflow UID can admit attacker-owned lock trees

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

## Tracked as

- [CVE-2026-144382](https://cve.now/CVE-2026-144382.md): filelock: Linux overflow UID can admit attacker-owned lock trees

## Affected versions

- filelock (PyPI): 4.2.12

## Description

## Impact

A Linux user namespace can report the same overflow UID for unrelated host accounts. When the namespace shares a sticky lock directory with the host, `SoftReadWriteLock` can accept another account's protocol tree as trusted and admit a reader while a writer holds the lock.

## Affected versions and fix

The confirmed affected version is 4.2.12. Upgrade to filelock `4.3.0` or later. The ownership check rejects an ambiguous overflow UID instead of treating matching numeric IDs as proof of ownership. [PR #977](https://github.com/tox-dev/filelock/pull/977)

## Workaround

Use a lock directory with a verified, mapped owner where untrusted accounts cannot supply or replace the protocol tree.

## Credits

Reported by OSS Scanner (ANT-2026-50TKW02X).

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-7mx6-8qvh-pvc4

Page: https://cve.now/GHSA-7MX6-8QVH-PVC4

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