Skip to main content
CVE-2026-112939VulnerabilityPublished

gam · filelock: SoftFileLock removes a live holder's marker when another user forges the PID in a writable marker

Affects gamSource GCVE Database

0
Compare
Authoritative record:CVE-2026-112939· Medium 4.7

Not known to be exploited · CVSS 4.7 Medium.

Data as of 9 Nov 2026, 20:03 UTC

CVSS 3.1 base score
4.7Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Homebrewgampkg:brew/gamOther threatsAffected
  • >=7.50.00
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should ensure that the lock marker files are not writable by other users except the lock owner, avoiding group or other write bits on the marker file. Using a restrictive umask such as 022 prevents the vulnerability. Additionally, directories containing lock markers should be sticky or otherwise prevent marker removal by other users. Monitor vendor advisories for any future patches.

Description

A vulnerability in the filelock library versions 3.22.0 through 4.2.0 allows a local user with write access to a lock marker file (but without permission to remove it) to forge the process ID in the marker. This causes the lock to be incorrectly considered stale, enabling two processes to hold the lock simultaneously and potentially corrupt shared data. The issue arises when the marker file is created with group or other write permissions, such as with a permissive mode or a lax umask in a sticky or non-removable directory.

References

Community reviews

Loading reviews…