Skip to main content
CVE-2026-112939VulnerabilityPublished

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

Affects scrapySource GCVE Database

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

Not known to be exploited · CVSS 4.7 Medium : upgrade to 2.19.0_2 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
4.7Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.19.0_2
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 29 Oct 2026.

What to do

Upgrade scrapy to 2.19.0_2.

Affected software

ProductAffectedFixed in
Homebrewscrapypkg:brew/scrapyOther threatsAffected
  • >=2.14.2 <2.19.0_2
Fixed in
  • 2.19.0_2

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

AI-suggested

A patch is available in filelock version 2.19.0_2 that addresses this vulnerability. Users should upgrade to this fixed version to prevent exploitation. The vulnerability depends on specific permission configurations; avoiding group or other write permissions on lock marker files and ensuring directories are properly secured (sticky bit set or non-writable by others) can reduce risk. However, upgrading to the fixed version is the recommended remediation.

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 recorded in the marker. This causes the lock to be incorrectly judged stale, enabling another process running as the lock owner or root to remove the live marker and acquire the lock simultaneously. This results in two processes concurrently entering a critical section without error notification. The issue requires specific filesystem permissions and directory configurations, such as group or other write bits on the marker and a sticky or non-removable directory. The vulnerability is fixed in version 2.19.0_2.

References

Community reviews

Loading reviews…