{
  "id": "cve-2026-112940",
  "title": "filelock ReadWriteLock can follow planted SQLite side files and alter lock-user files",
  "product": "filelock Python locking library",
  "ai_system": "Anthropic OSS Scanner (model unspecified)",
  "organization": "Anthropic and filelock maintainers",
  "summary": "SQLite reopens the lock database by name and processes adjacent journal, WAL and shared-memory side files. Another local account able to create or rename entries in the database directory can make the lock user’s ordinary lock operation write attacker-chosen bytes to the lock user’s files, create or unlink files, admit conflicting readers/writers, or kill a holder. The advisory narrows affected versions and describes how sticky directories reduce but do not remove all denial-of-service variants.",
  "ai_role": "The primary filelock advisory explicitly credits Anthropic OSS Scanner with ANT-2026-KMJ2575J and gives the per-finding issue description. It records the scanner report date and maintainers’ review. Anthropic’s primary scanner page establishes model-based scanning; no model is identified for this case.",
  "disclosure_date": "2026-10-17",
  "ai_attribution_date": "2026-10-17",
  "classification": "disclosure",
  "classification_note": "The filelock maintainers published GHSA-v4x8-3wr5-3wq8 on Oct 17, 2026 and explicitly credit Anthropic OSS Scanner (ANT-2026-KMJ2575J). Their event history records the private scanner report as received Oct 15; that internal report date is not used as the public disclosure or attribution date.",
  "cves": [
    "CVE-2026-112940"
  ],
  "source_url": "https://github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8",
  "ai_source_url": "https://github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8",
  "remediation": "fix documented",
  "remediation_note": "Keep the lock database in a directory only the locking account or root can write, and do not share a writable database across accounts. Version 4.2.1 fixes the issue.",
  "advisory_url": "https://github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8",
  "checked_date": "2026-11-14",
  "cvss": [
    {
      "cve": "CVE-2026-112940",
      "version": "3.1",
      "score": 7.1,
      "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/112xxx/CVE-2026-112940.json",
      "source_name": "GitHub_M (CNA; CVE Program record)",
      "checked_date": "2026-11-16"
    }
  ],
  "impacts": [
    {
      "cves": [
        "CVE-2026-112940"
      ],
      "consequences": [
        "data modification"
      ],
      "conditions": "On POSIX, attacker needs rename access in a non-sticky parent to swap database/side-file names. Attacker-chosen content overwrite additionally requires a writable adjacent hot journal; the description also states overwrite or unlink operations.",
      "exploitation": "Exploitation in the wild is not established by the cited description.",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/112xxx/CVE-2026-112940.json",
      "checked_date": "2026-11-16"
    }
  ]
}
