Skip to content

chore(deps): update dependency requests to v2.34.1 [security]#3963

Open
renovate-coop-norge[bot] wants to merge 1 commit into
mainfrom
renovate/techdocs-pypi-requests-vulnerability
Open

chore(deps): update dependency requests to v2.34.1 [security]#3963
renovate-coop-norge[bot] wants to merge 1 commit into
mainfrom
renovate/techdocs-pypi-requests-vulnerability

Conversation

@renovate-coop-norge
Copy link
Copy Markdown
Contributor

@renovate-coop-norge renovate-coop-norge Bot commented May 18, 2026

This PR contains the following updates:

Package Change Age Confidence
requests (changelog) 2.34.02.34.1 age confidence

Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function

CVE-2026-25645 / GHSA-gc5v-m9x4-r6x2

More information

Details

Impact

The requests.utils.extract_zipped_paths() utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one.

Affected usages

Standard usage of the Requests library is not affected by this vulnerability. Only applications that call extract_zipped_paths() directly are impacted.

Remediation

Upgrade to at least Requests 2.33.0, where the library now extracts files to a non-deterministic location.

If developers are unable to upgrade, they can set TMPDIR in their environment to a directory with restricted write access.

Severity

  • CVSS Score: 4.4 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

psf/requests (requests)

v2.34.1

Compare Source

Bugfixes

  • Widened json input type from dict and list to Mapping
    and Sequence. (#​7436)
  • Changed headers input type to MutableMapping and removed None from
    Request.headers typing to improve handling for users. (#​7431)
  • Response.reason moved from str | None to str to improve handling
    for users. (#​7437)
  • Fixed a bug where some bodies with custom __getattr__ implementations
    weren't being properly detected as Iterables. (#​7433)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@renovate-coop-norge renovate-coop-norge Bot force-pushed the renovate/techdocs-pypi-requests-vulnerability branch from acf160d to c338f7c Compare May 18, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file renovate requests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants