Bug 2467989

Summary: python3-requests package lacks fix for CVE-2026-25645
Product: [Fedora] Fedora Reporter: Matthias <mweckbec>
Component: python-requestsAssignee: Ben Beasley <code>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 44CC: aurelien, code, cstratak, infra-sig, jeremy, python-packagers-sig
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-requests-2.33.1-1.fc44 python-requests-2.33.1-1.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-05-10 02:54:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthias 2026-05-08 10:17:11 UTC
Hi,

I've noticed that the python3-requests package lacks a fix for CVE-2026-25645:

--------------------------------------------
$ rpm -q python3-requests
python3-requests-2.32.5-5.fc44.noarch
$ cat /usr/lib/python3.14/site-packages/requests/utils.py
[...]
def extract_zipped_paths(path):
    # we have a valid zip archive and a valid member of that archive
    tmp = tempfile.gettempdir() 
    extracted_path = os.path.join(tmp, member.split("/")[-1])
    if not os.path.exists(extracted_path):
        # use read + write to avoid the creating nested folders, we only want the file, avoids mkdir racing condition
        with atomic_open(extracted_path) as file_handler:
            file_handler.write(zip_file.read(member))
    return extracted_path
[...]
--------------------------------------------

CVE:
https://nvd.nist.gov/vuln/detail/CVE-2026-25645

Fix:
https://github.com/psf/requests/commit/66d21cb07bd6255b1280291c4fafb71803cdb3b7

Comment 1 Ben Beasley 2026-05-08 10:29:26 UTC
Hmm, the fix is in requests 2.33.x, which we shipped in Rawhide (https://src.fedoraproject.org/rpms/python-requests/pull-request/42). There are no documented breaking changes since 2.32.5, so I suspect we can ship requests 2.33.1 in F44 and F43, as long as we also ship the PR’s mentioned in https://src.fedoraproject.org/rpms/python-requests/pull-request/42#comment-317736. It’s probably worth doing impact checks first.

The linked commit is also self-contained enough to backport, if there are any difficulties with simply updating.

Comment 3 Fedora Update System 2026-05-08 13:47:19 UTC
FEDORA-2026-44919b3d9f (python-pulp-glue-0.37.0-5.fc44 and python-requests-2.33.1-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-44919b3d9f

Comment 4 Fedora Update System 2026-05-08 13:47:45 UTC
FEDORA-2026-8ad863685a (python-pulp-glue-0.37.0-5.fc43 and python-requests-2.33.1-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-8ad863685a

Comment 5 Fedora Update System 2026-05-09 01:25:52 UTC
FEDORA-2026-44919b3d9f has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-44919b3d9f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-44919b3d9f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-05-09 01:44:52 UTC
FEDORA-2026-8ad863685a has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-8ad863685a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-8ad863685a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-05-10 02:54:46 UTC
FEDORA-2026-44919b3d9f (python-pulp-glue-0.37.0-5.fc44 and python-requests-2.33.1-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-05-24 00:50:22 UTC
FEDORA-2026-8ad863685a (python-pulp-glue-0.37.0-5.fc43 and python-requests-2.33.1-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.