CVE-2026-112912
published low CVSS 3.1 · 2.5filelock: Symlink swap during SoftFileLock's writability check leaks whether a path exists and is writable by the lock taker
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tox-dev | — | filelock>= 3.32.6, < 4.2.1 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
filelock is a platform-independent file lock for Python. From 3.32.6 until 4.2.1, SoftFileLock can follow a swapped symbolic link during the conditional os.access writability check for a node without its owner-write bit, allowing another local user on a platform and directory configuration that follows the link to infer whether a chosen path exists and is writable from the observable acquisition result. This issue is fixed in version 4.2.1.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.5 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tox-dev | filelock | >= 3.32.6, < 4.2.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
References
4Provider assertions
2GitHub_M · cna
filelock: Symlink swap during SoftFileLock's writability check leaks whether a path exists and is writable by the lock taker
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 904c25c72f77243c0e366317f1dd0bfeccf9916ec1d56c00c3affd39a7490321
- Ingested
- 20 Oct 2026, 15:45:34 UTC
- Source record
- Official CVE record