{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-144395",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-12-03T19:01:39.563Z",
        "datePublished": "2026-12-03T19:18:20.808Z",
        "dateUpdated": "2026-12-03T19:18:20.808Z"
    },
    "containers": {
        "cna": {
            "title": "filelock: ReadWriteLock can overwrite victim-owned files through a directory swap",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-367",
                            "lang": "en",
                            "description": "CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "LOCAL",
                        "availabilityImpact": "NONE",
                        "baseScore": 4.4,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/tox-dev/filelock/security/advisories/GHSA-22wc-j8c9-7gxg",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/tox-dev/filelock/security/advisories/GHSA-22wc-j8c9-7gxg"
                },
                {
                    "name": "https://github.com/tox-dev/filelock/pull/1096",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/tox-dev/filelock/pull/1096"
                },
                {
                    "name": "https://github.com/tox-dev/filelock/commit/d7324f591a2532e28427dae342d73680cc4cf6e7",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/tox-dev/filelock/commit/d7324f591a2532e28427dae342d73680cc4cf6e7"
                },
                {
                    "name": "https://github.com/tox-dev/filelock/releases/tag/4.3.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/tox-dev/filelock/releases/tag/4.3.0"
                }
            ],
            "affected": [
                {
                    "vendor": "tox-dev",
                    "product": "filelock",
                    "versions": [
                        {
                            "version": "< 4.3.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-12-03T19:18:20.808Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, another account with rename access in a shared, non-sticky lock directory can redirect a SQLite-backed ReadWriteLock operation to a file writable by the locking process. A cross-account overwrite was confirmed on Linux. The affected setup also required a victim-owned directory that the other account could previously read. This issue is fixed in version 4.3.0."
                }
            ],
            "source": {
                "advisory": "GHSA-22wc-j8c9-7gxg",
                "discovery": "UNKNOWN"
            }
        }
    }
}