# GHSA-8F2V-28M2-26XX: Temporary-directory exhaustion can expose files through strict lock publication

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

## Tracked as

- [CVE-2026-144388](https://cve.now/CVE-2026-144388.md): filelock: Temporary-directory exhaustion can expose files through strict lock publication

## Affected versions

- filelock (PyPI): 4.2.12

## Description

## Impact

On Unix, temporary-directory exhaustion during filelock import can disable a safeguard in `StrictSoftFileLock` publication. A local account with rename access to entries in a shared, non-sticky lock directory can gain read access to a file on the same filesystem. The confirmed case involved a world-readable file whose enclosing directory prevented access.

## Affected version and mitigation

The confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later.

An environmental failure during the capability check now preserves the runtime’s advertised support for linking without following symlinks. Filelock can refuse acquisition if the runtime cannot honor that option. Use a lock directory whose entries and ancestors other accounts cannot rename, and restrict read permission on sensitive files. [Fix in PR #990](https://github.com/tox-dev/filelock/pull/990).

## Credits

OSS Scanner: ANT-2026-E88H6SCI.

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-8f2v-28m2-26xx

Page: https://cve.now/GHSA-8F2V-28M2-26XX

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