Description
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.
Published: 2026-06-22
Score: 6.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

WebOb, a library for handling HTTP requests and responses, normalizes the Location header when issuing a redirect by joining the target to the request URI with Python's urljoin. Prior to version 1.8.10, this process is vulnerable to an open redirect. A redirect target containing ASCII tab, carriage return, or newline characters can be misinterpreted as a protocol‑relative URL, causing the resulting authority component to be an attacker‑controlled host. This flaw bypasses a previous fix that escaped leading double slashes and allows an attacker who can influence the redirect location to send users to an arbitrary external site instead of the intended destination, posing a phishing and credential‑re‑use risk.

Affected Systems

The vulnerability affects the WebOb component of the Pylons project. All installations of WebOb with a version earlier than 1.8.10 are susceptible; versions 1.8.10 and later incorporate the fix.

Risk and Exploitability

The CVSS score of 6.1 indicates a moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting no known widespread exploitation at this time. An attacker would need a context where they can control or influence the Location header sent in a WebOb response—such as by compromising a web application that uses WebOb—making the attack likely to be domain‑specific rather than broad.

Generated by OpenCVE AI on June 22, 2026 at 23:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade WebOb to version 1.8.10 or newer to apply the vendor fix.
  • If an upgrade is not immediately possible, validate or sanitize all redirect targets so that no external hosts can be specified.
  • Implement a runtime check to reject Location headers that contain leading slashes or non‑ASCII control characters to prevent the vulnerability from being exercised.

Generated by OpenCVE AI on June 22, 2026 at 23:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-fh3h-vg37-cc95 WebOb: Location header normalization during redirect leads to open redirect - again
History

Mon, 22 Jun 2026 22:00:00 +0000

Type Values Removed Values Added
Description 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.
Title WebOb: Location header normalization during redirect leads to open redirect
Weaknesses CWE-601
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-22T21:30:11.789Z

Reserved: 2026-05-07T21:50:33.545Z

Link: CVE-2026-44889

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-23T00:00:16Z

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')