PSF-2026-45: tar filter allows writing outside destination via empty-named symlink

Published Oct 22, 2026
·
Updated

tarfile.tarfilter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() with filter="tar" to write files outside the destination directory, subject to the permissions of the extracting process.

This is the tarfile.tarfilter counterpart of CVE-2026-7774, which covered tarfile.datafilter.

Affected Software

18 affected componentsFixes available
bitnami/libpython<3.11.18
3.11.18
bitnami/libpython>=3.12.0<3.12.16
3.12.16
bitnami/libpython>=3.13.0<3.13.18
3.13.18
bitnami/libpython>=3.14.0<3.14.10
3.14.10
bitnami/libpython>=3.15.0<3.15.2
3.15.2
bitnami/libpython>=3.16.0
bitnami/python<3.11.18
3.11.18
bitnami/python>=3.12.0<3.12.16
3.12.16
bitnami/python>=3.13.0<3.13.18
3.13.18
bitnami/python>=3.14.0<3.14.10
3.14.10
bitnami/python>=3.15.0<3.15.2
3.15.2
bitnami/python>=3.16.0
bitnami/python-min<3.11.18
3.11.18
bitnami/python-min>=3.12.0<3.12.16
3.12.16
bitnami/python-min>=3.13.0<3.13.18
3.13.18
bitnami/python-min>=3.14.0<3.14.10
3.14.10
bitnami/python-min>=3.15.0<3.15.2
3.15.2
bitnami/python-min>=3.16.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade bitnami/libpython to a version that resolves this vulnerability.

    Fixed in 3.11.18
  2. Upgrade

    Upgrade bitnami/libpython to a version that resolves this vulnerability.

    Fixed in 3.12.16
  3. Upgrade

    Upgrade bitnami/libpython to a version that resolves this vulnerability.

    Fixed in 3.13.18
  4. Upgrade

    Upgrade bitnami/libpython to a version that resolves this vulnerability.

    Fixed in 3.14.10
  5. Upgrade

    Upgrade bitnami/libpython to a version that resolves this vulnerability.

    Fixed in 3.15.2
  6. Upgrade

    Upgrade bitnami/python to a version that resolves this vulnerability.

    Fixed in 3.11.18
  7. Upgrade

    Upgrade bitnami/python to a version that resolves this vulnerability.

    Fixed in 3.12.16
  8. Upgrade

    Upgrade bitnami/python to a version that resolves this vulnerability.

    Fixed in 3.13.18
  9. Upgrade

    Upgrade bitnami/python to a version that resolves this vulnerability.

    Fixed in 3.14.10
  10. Upgrade

    Upgrade bitnami/python to a version that resolves this vulnerability.

    Fixed in 3.15.2
  11. Upgrade

    Upgrade bitnami/python-min to a version that resolves this vulnerability.

    Fixed in 3.11.18
  12. Upgrade

    Upgrade bitnami/python-min to a version that resolves this vulnerability.

    Fixed in 3.12.16
  13. Upgrade

    Upgrade bitnami/python-min to a version that resolves this vulnerability.

    Fixed in 3.13.18
  14. Upgrade

    Upgrade bitnami/python-min to a version that resolves this vulnerability.

    Fixed in 3.14.10
  15. Upgrade

    Upgrade bitnami/python-min to a version that resolves this vulnerability.

    Fixed in 3.15.2

Event History

Oct 22, 2026
CVE Published
via OSV·08:57 PM
Advisory Published
via OSV·08:57 PM
Data Sourced
via OSV·08:57 PM
DescriptionSeverity
Oct 29, 2026
Data Sourced
via OSV·12:12 PM
Affected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using tarfile.extractall() with filter="tar" on malicious or otherwise untrusted tar archives are exposed. The impact is limited by the permissions of the process performing extraction.

2

What does an attacker need to exploit it?

An attacker needs to supply a crafted tar archive containing link entries such as symlinks with empty or directory-like names. No authentication or user interaction is indicated by the provided vector.

3

Is extraction confined to the chosen destination directory?

Not reliably when the vulnerable tar_filter is used. Crafted link entries can redirect later archive members so that files are written outside the intended extraction directory.

4

How can I determine whether an application is affected?

Identify code paths that extract tar archives with tarfile.extractall() and explicitly use filter="tar". Those paths are affected when they can process attacker-controlled archives.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203