Bug 2467989 - python3-requests package lacks fix for CVE-2026-25645
Summary: python3-requests package lacks fix for CVE-2026-25645
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-requests
Version: 44
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-08 10:17 UTC by Matthias Weckbecker
Modified: 2026-05-24 00:50 UTC (History)
6 users (show)

Fixed In Version: python-requests-2.33.1-1.fc44 python-requests-2.33.1-1.fc43
Clone Of:
Environment:
Last Closed: 2026-05-10 02:54:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matthias Weckbecker 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.


Note You need to log in before you can comment on or make changes to this bug.