Directory Traversal Affecting python36:3.6/python3-bson package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.52% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-PYTHON36-20160735
  • published27 Sept 2026
  • disclosed19 Aug 2026

Introduced: 19 Aug 2026

CVE-2026-19672  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:8 python36:3.6/python3-bson.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python36:3.6/python3-bson package and not the python36:3.6/python3-bson package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

The tarfile module's tar and data extraction filters created directories outside the destination for members whose name leaves the destination and returns to it, such as ../evil/../dest/sub/file. The containment check used the resolved path, but intermediate directories were created from the name as given.

Only empty directories are created outside the destination. Member contents are still extracted inside it. To return to the destination the member's name must contain the destination directory's own final component, so extraction into a secure randomised directory is not affected.

This affects POSIX platforms only. On Windows, .. components are collapsed before the path reaches the filesystem, so the directories outside the destination are never created.

CVSS Base Scores

version 3.1