Advisory

PYSEC-2026-251

Also known as: CVE-2026-44889, GHSA-fh3h-vg37-cc95

Summary

The record has no summary.

Details

WebOb provides objects for HTTP requests and responses. Prior to 1.8.10, the normalization of the HTTP Location header during a redirect is vulnerable to an open redirect: WebOb joins the redirect target to the request URI using Python's urljoin, and since Python 3.10 the underlying urlsplit strips ASCII tab, carriage return, and newline characters before parsing, so a redirect target containing such characters can be reinterpreted as a protocol-relative URL whose authority is an attacker-controlled host. This bypasses the CVE-2024-42353 fix that escaped a leading double slash, allowing an attacker who influences the redirect location to send users to an arbitrary external site instead of the intended one. This vulnerability is fixed in 1.8.10.

Severity

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2026-06-22 22:16 UTC
Modified
2026-06-27 11:15 UTC

Affected packages and fixes

webob

PyPI · All systems

Affected

  • introduced 0, fixed 1.8.10 (ecosystem)

Fixed versions

1.8.10

Fix

  • Fixed version 1.8.10
    pip install --upgrade webob==1.8.10

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences