NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🛡️
Not in CISA KEV
LOW severity

filelock: Strict soft lock can chmod unrelated directoryGHSA-gqj6-5294-r46r

LOWFix: tox-dev/filelock@f028e2b

GHSA-gqj6-5294-r46r is a low-severity (CVSS 3.6) CWE-732 vulnerability. A fix is available — see the affected versions and patch details below.

Published
Updated
Affected
154 versions
Patched
See advisory
Exploits
None indexed
Exploitation data as of Dec 4, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-gqj6-5294-r46r.

EPSS Exploitation Probability

via FIRST.org ↗
0.2%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs16th percentile — riskier than 16% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Description

filelock is a platform-independent file lock for Python. Prior to 4.3.0, in a group-writable directory without the sticky bit, StrictSoftFileLock can mistake an unrelated directory owned by the locking account for its coordination directory. It can change that directory's permissions and create a claims directory inside it, disrupting access for other users. This issue is fixed in version 4.3.0.

Detection & mitigation playbook

Vulnerability
  1. Detect

    Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).

  2. Fix

    Upgrade the affected component to the fixed release for GHSA-gqj6-5294-r46r, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatLow

This vulnerability is rated as Low severity because exploitation requires local system access and specific directory configurations where group-writable locations lack the sticky bit. In Red Hat Enterprise Linux, standard shared system locations such as /tmp and /var/tmp have the sticky bit set by default, mitigating…

Workaround published by Red Hat
To mitigate this issue, ensure that any shared or group-writable directory used for file locking has the sticky bit set, or restrict write permissions to the directory owner. 1. Enable the sticky bit on the target directory: # chmod +t /path/to/shared_directory 2. Alternatively, remove group-write permissions from the directory: # chmod g-w /path/to/shared_directory Caveats: Altering directory permissions may affect applications or workflows that rely on shared group write access.
Source: Red Hat security advisory for GHSA-gqj6-5294-r46r (CC BY 4.0)

Frequently Asked Questions

filelock is a platform-independent file lock for Python. Prior to 4.3.0, in a group-writable directory without the sticky bit, StrictSoftFileLock can mistake an unrelated directory owned by the locking account for its coordination directory. It can change that directory's permissions and create a claims directory inside it, disrupting access for other users. This issue is fixed in version 4.3.0.
O3 Security · Impact-Aware SCA

Is GHSA-gqj6-5294-r46r in your dependencies?

Find it across your dependency tree, including transitive dependencies.

filelock: Strict soft lock can chmod unrelated directory