Skip to content
Heist/ feed
Back to feed
UnratedFix available

python3.11: Fix of CVE-2026-12345

Type: advisorySources: OSV

- CVE-2026-12345: fix symlink race in tempfile.TemporaryDirectory cleanup that could delete or chmod files outside the temporary directory - Backport upstream 3.11 hardening the fix builds on: handle os.close() errors in shutil.rmtree() (bpo-35332), don't mask PermissionError during cleanup (bpo-43153), fix cleanup recursion error (gh-79325)

Products
python3.11, python3.11-debug, python3.11-devel, python3.11-idle, python3.11-libs, python3.11-test, python3.11-tkinter
Affected versions
Not specified
Fixed versions
3.11.2-2.el9_2.2.tuxcare.els36
CVEs
CVE-2026-12345
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 10:46 UTC · Revision 1

Source evidence

python3.11: Fix of CVE-2026-12345

core-osv · Original source

Published 7 Oct 2026, 07:57 UTC

- CVE-2026-12345: fix symlink race in tempfile.TemporaryDirectory cleanup that could delete or chmod files outside the temporary directory - Backport upstream 3.11 hardening the fix builds on: handle os.close() errors in shutil.rmtree() (bpo-35332), don't mask PermissionError during cleanup (bpo-43153), fix cleanup recursion error (gh-79325)

osv:CLSA-2026-1791359868

python3.11

Fixed versions: 3.11.2-2.el9_2.2.tuxcare.els36

python3.11-debug

Fixed versions: 3.11.2-2.el9_2.2.tuxcare.els36

python3.11-devel

Fixed versions: 3.11.2-2.el9_2.2.tuxcare.els36

python3.11-idle

Fixed versions: 3.11.2-2.el9_2.2.tuxcare.els36

python3.11-libs

Fixed versions: 3.11.2-2.el9_2.2.tuxcare.els36

python3.11-test

Fixed versions: 3.11.2-2.el9_2.2.tuxcare.els36

python3.11-tkinter

Fixed versions: 3.11.2-2.el9_2.2.tuxcare.els36

Complete source record
{
  "id": "82579f5003214af75d79ccdad79b45b2e65434c7c39fc532198835e9b2f983bd",
  "url": "https://osv.dev/vulnerability/CLSA-2026-1791359868",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "python3.11: Fix of CVE-2026-12345",
    "summary": "- CVE-2026-12345: fix symlink race in tempfile.TemporaryDirectory cleanup that could delete or chmod files outside the temporary directory - Backport upstream 3.11 hardening the fix builds on: handle os.close() errors in shutil.rmtree() (bpo-35332), don't mask PermissionError during cleanup (bpo-43153), fix cleanup recursion error (gh-79325)",
    "evidence": "osv:CLSA-2026-1791359868",
    "products": [
      {
        "name": {
          "value": "python3.11",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.11.2-2.el9_2.2.tuxcare.els36",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python3.11-debug",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.11.2-2.el9_2.2.tuxcare.els36",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python3.11-devel",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.11.2-2.el9_2.2.tuxcare.els36",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python3.11-idle",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.11.2-2.el9_2.2.tuxcare.els36",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python3.11-libs",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.11.2-2.el9_2.2.tuxcare.els36",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python3.11-test",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.11.2-2.el9_2.2.tuxcare.els36",
            "evidence": "/affected/5/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python3.11-tkinter",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.11.2-2.el9_2.2.tuxcare.els36",
            "evidence": "/affected/6/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CLSA-2026-1791359868",
      "aliases": [
        "CLSA-2026-1791359868"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.11.2-2.el9_2.2.tuxcare.els36"
                }
              ]
            }
          ],
          "package": {
            "name": "python3.11",
            "purl": "pkg:rpm/tuxcare/python3.11?distro=almalinux-9.2",
            "ecosystem": "TuxCare:AlmaLinux:9.2"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1791359868.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.11.2-2.el9_2.2.tuxcare.els36"
                }
              ]
            }
          ],
          "package": {
            "name": "python3.11-debug",
            "purl": "pkg:rpm/tuxcare/python3.11-debug?distro=almalinux-9.2",
            "ecosystem": "TuxCare:AlmaLinux:9.2"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1791359868.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.11.2-2.el9_2.2.tuxcare.els36"
                }
              ]
            }
          ],
          "package": {
            "name": "python3.11-devel",
            "purl": "pkg:rpm/tuxcare/python3.11-devel?distro=almalinux-9.2",
            "ecosystem": "TuxCare:AlmaLinux:9.2"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1791359868.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.11.2-2.el9_2.2.tuxcare.els36"
                }
              ]
            }
          ],
          "package": {
            "name": "python3.11-idle",
            "purl": "pkg:rpm/tuxcare/python3.11-idle?distro=almalinux-9.2",
            "ecosystem": "TuxCare:AlmaLinux:9.2"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1791359868.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.11.2-2.el9_2.2.tuxcare.els36"
                }
              ]
            }
          ],
          "package": {
            "name": "python3.11-libs",
            "purl": "pkg:rpm/tuxcare/python3.11-libs?distro=almalinux-9.2",
            "ecosystem": "TuxCare:AlmaLinux:9.2"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1791359868.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.11.2-2.el9_2.2.tuxcare.els36"
                }
              ]
            }
          ],
          "package": {
            "name": "python3.11-test",
            "purl": "pkg:rpm/tuxcare/python3.11-test?distro=almalinux-9.2",
            "ecosystem": "TuxCare:AlmaLinux:9.2"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1791359868.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.11.2-2.el9_2.2.tuxcare.els36"
                }
              ]
            }
          ],
          "package": {
            "name": "python3.11-tkinter",
            "purl": "pkg:rpm/tuxcare/python3.11-tkinter?distro=almalinux-9.2",
            "ecosystem": "TuxCare:AlmaLinux:9.2"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1791359868.json"
          }
        }
      ],
      "modified": "2026-10-26T09:30:52.960929177Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-12345"
      ],
      "references": [
        "https://errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1791359868.html",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-12345"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-12345",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 447306,
  "published_at": "2026-10-07T07:57:58+00:00"
}