p PatchFirst

ALPINE-CVE-2026-11940

ALPINE-CVE-2026-11940

This page contains facts from public vulnerability sources. Check the original advisory before updating.

tarfile.extractall() with the 'data' or 'tar' filter could be bypassed by a crafted archive where a hardlink references a symlink stored at a deeper name than the hardlink itself.  The extraction fallback validated the symlink at it's archived location but recreated it at the hardlink's shallower path, letting a relative target the filter judged contained escape the destination directory.  This allowed a malicious tar archive to create a symlink pointing outside the destination, enabling out-of-destination file reads or writes. This was an incomplete fix of CVE-2025-4330.

CVSS 7.8 · High · Fix available

Published
Updated

Stack: system

Affected products and versions

  • python3 Alpine:v3.21

    Affected ranges
    • ECOSYSTEM: < 3.12.14-r0

    Update to 3.12.14-r0

  • python3 Alpine:v3.22

    Affected ranges
    • ECOSYSTEM: < 3.12.14-r0

    Update to 3.12.14-r0

  • python3 Alpine:v3.23

    Affected ranges
    • ECOSYSTEM: < 3.12.14-r0

    Update to 3.12.14-r0

  • python3 Alpine:v3.24

    Affected ranges
    • ECOSYSTEM: < 3.14.7-r0

    Update to 3.14.7-r0

Original sources

Check your server →