CVE-2026-112940
Tenable Plugin
Checking the public Tenable catalog…
AI Threat Summary
CVE-2026-112940 is a high-severity vulnerability with a CVSS score of 7.1 affecting filelock. This vulnerability allows SQL injection leading to unauthorized data access. Threat hunters should monitor for exploit attempts and apply vendor patches immediately.
Description
filelock is a platform-independent file lock for Python. From 3.20.4 until 4.2.1, ReadWriteLock let SQLite reopen the database and side files by name; on POSIX systems an attacker with rename access in a non-sticky parent can swap those names to cause overwrite or unlink operations, while a writable adjacent hot journal is additionally required for attacker-chosen content overwrites. This issue is fixed in version 4.2.1.
Attack Chain
Attacker fingerprints web application and identifies injectable parameters using automated scanners
Attacker injects SQL payload via vulnerable parameter to bypass authentication or extract data
Attacker dumps database tables including user credentials, session tokens, and sensitive data
Extracted password hashes cracked offline using hashcat/john or plain-text credentials used directly
Valid credentials reused across other systems and services in the environment
MITRE ATT&CK Techniques
SQL injection exploited against web application database layer
Database contents exfiltrated including credentials and PII
Credentials stolen from database used for further access
Indicators of Compromise
| Type | Value | Description | |
|---|---|---|---|
| user_agent | Mozilla/5.0 (compatible; exploit/1.0) |
Generic exploit scanner user agent pattern | |
| url | /api/vuln-endpoint?payload=<malicious> |
Exploit attempt against filelock endpoint — monitor access logs for anomalous params | |
| url | ' OR 1=1-- |
Classic SQL injection payload — monitor WAF and DB query logs |
Remediation
Quick Facts
| CVE ID | CVE-2026-112940 |
| CVSS Score | 7.1 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| Published | 2026-10-20 |
| Exploited | No |
| CISA KEV | No |
| PoC | Available |
Affected Products
-
tox-dev / filelock