Skip to main content

WebOb CVE-2026-54770

| EUVDEUVD-2026-63467 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-08-20 GitHub_M GHSA-6hx8-3wjj-gr8g
6.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify WebOb app reflecting attacker-controlled redirect param
  2. Delivery
    Craft space-prefixed protocol-relative or absolute off-host URL
  3. Exploit
    Submit value via redirect parameter
  4. Install
    WebOb SCHEME_RE and startswith checks bypassed
  5. C2
    urllib.parse.urljoin strips space, resolves off-host URL
  6. Execute
    302 response issued to attacker-controlled host
  7. Impact
    Victim follows redirect
  8. Step 8
    Credentials or OAuth token harvested

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all three of the following concrete conditions: (1) the application uses WebOb < 1.8.11 and exposes an endpoint - such as a login redirect, OAuth callback, or password reset flow - that accepts attacker-influenced redirect destination values and passes them to Response.location, HTTPFound, or Request.relative_url() without its own destination allowlist; (2) the attacker can inject a Location value prefixed with an ASCII space (0x20) or other C0 control character before a protocol-relative URL (e.g., ' //evil.example.com/') or absolute URL (e.g., ' https://evil.example.com/'), bypassing WebOb's pre-validation; (3) the victim user must actively follow the issued 302 redirect (UI:R). Exploitation is materially limited by: mandatory user interaction - no click, no harvest; the application must pass unsanitized external input to WebOb's redirect mechanism rather than computing redirect targets internally; and the urllib.parse.urljoin space-stripping behavior that enables the bypass is confirmed on Python 3.10+, so the effectiveness on earlier Python versions is not independently confirmed from the provided data.

Impact

The vendor-assigned CVSS 6.1 (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) accurately characterizes this as a medium-severity, network-exploitable flaw with no authentication barrier but a mandatory user-interaction prerequisite that precludes fully automated mass exploitation. The Scope:Changed designation reflects that the primary impact lands on the victim's browser session and trust model rather than the WebOb server itself. No EPSS data was supplied in the input, limiting probabilistic forecasting; this absence should be noted when comparing against other queue items. No CISA KEV listing is present, and no public exploit code is identified at time of analysis, meaning the threat remains theoretical but the bypass technique is mechanically simple and well-understood given the prior incomplete fixes in this exact code path. The real-world risk is highly dependent on application architecture: deployments that reflect attacker-supplied 'next' or 'redirect_to' parameters into WebOb redirect responses without allowlisting are at meaningful phishing and OAuth token-theft risk, while applications that control redirect destinations internally are largely unaffected in practice. The patch is low-risk (a library upgrade with no API changes) and should be applied as standard maintenance.

Exploit ScenarioDerived

An attacker identifies a Python WSGI application using WebOb < 1.8.11 that reflects a user-supplied 'next' query parameter into an HTTPFound redirect after login. The attacker crafts a phishing link encoding the parameter as ' //attacker.example.com/steal' (ASCII space followed by a protocol-relative URL); WebOb's SCHEME_RE and startswith checks pass the value as benign, but urllib.parse.urljoin resolves it to '//attacker.example.com/steal', issuing a 302 to the attacker's host. A victim who clicks the phishing link is silently redirected post-authentication, where a cloned login page or OAuth implicit-flow handler harvests the victim's session token or SSO access token. No public exploit code is identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 20, 2026

Open redirect bypass in WebOb prior to 1.8.11 enables network-accessible, unauthenticated attackers to redirect users to attacker-controlled hosts by exploiting a URL normalization gap between WebOb's validation checks and Python's urllib.parse.urljoin. The flaw exists in Response._make_location_absolute(), Request.relative_url(), and _HTTPMove subclasses including HTTPFound - a space-prefixed protocol-relative or absolute URL passes SCHEME_RE and startswith('//') guards unchanged, then urllib.parse.urljoin silently strips the leading space on Python 3.10+, resolving the remainder as a valid off-host URL. No public exploit is identified at time of analysis; vendor patch is confirmed in version 1.8.11 and the attack surface is phishing and OAuth/SSO token theft requiring the victim to follow the redirect.

RemediationAI

Upgrade to WebOb 1.8.11, which replaces urllib.parse.urljoin with a custom RFC 3986-compliant webob.util.urljoin that performs no character stripping, closing the normalization bypass. The patched release is available at https://github.com/Pylons/webob/tree/1.8.11; the precise fixing commit is https://github.com/Pylons/webob/commit/ff89560643fb252751b4db8806a283b5377f1f07. If an immediate upgrade is not feasible, a compensating control is to strip all leading whitespace and C0 control characters (code points 0x00-0x1F and 0x20) from redirect target values at the application layer before passing them to WebOb's redirect utilities - this mirrors what the fixed library now does internally. Additionally, enforcing an allowlist of permitted redirect hostnames (same-origin or explicitly approved hosts only) provides defense-in-depth and limits the blast radius of any future normalization bypass in this class. Note that implementing a custom allowlist adds code complexity and may introduce logic errors if relative paths are not handled carefully.

Affected VersionsENISA

webob < 1.8.11

Affected Packages

pypi webob fix: 1.8.11

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

WebOb (cpe:2.3:a:pylons:webob:*:*:*:*:*:*:*:*) is a Python WSGI HTTP request/response utility library from the Pylons Project, used as a foundational layer in frameworks such as Pyramid. The root cause (CWE-601: URL Redirection to Untrusted Site) is a TOCTOU-style normalization mismatch: WebOb applies a SCHEME_RE regex and a startswith('//') check to detect off-host Location values before calling urllib.parse.urljoin, but on Python 3.10+ urllib.parse.urljoin (via urlsplit internally) strips leading and trailing C0 control characters and ASCII space (0x00-0x1F, 0x20) from the URL prior to parsing. A crafted value such as ' //attacker.example.com/path' carries a leading space that fools both pre-validation checks, then is silently normalized to '//attacker.example.com/path' by urljoin, producing a valid protocol-relative off-host redirect. This is an incomplete remediation of the earlier CVE-2024-42353 and GHSA-fh3h-vg37-cc95 advisories, which addressed tab, CR, and LF but not the broader C0-and-space stripping. The fix in 1.8.11 replaces urllib.parse.urljoin throughout with a custom webob.util.urljoin implementing the RFC 3986 Section 5.2 reference resolution algorithm that performs zero character stripping, preserving input fidelity for consistent validation.

Know when Webob gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Network-exploitable with no authentication; user must follow the redirect (UI:R); scope changes to victim browser session; no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
SUSE MEDIUM
Red Hat 7.4 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Aug 20, 2026 - 17:02 EUVD

DescriptionCVE.org

WebOb provides objects for HTTP requests and responses. Prior to 1.8.11, Response._make_location_absolute() in src/webob/response.py checks a Location value for a URI scheme or leading double slash before urllib.parse.urljoin() strips leading C0 control characters and spaces. An attacker-controlled value such as a space followed by a protocol-relative or absolute URL can therefore bypass SCHEME_RE and startswith("//") checks and be normalized to an off-host redirect. Request.relative_url() and webob.exc._HTTPMove subclasses, including HTTPFound, are also affected because they use the same unsafe URL joining behavior or bypass the earlier normalization path. An unauthenticated attacker who can influence an application's redirect target can send users to an attacker-controlled host for phishing or OAuth and SSO token theft, but exploitation requires the user to follow the redirect. This issue is fixed in version 1.8.11.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2,014 pypi packages depend on webob (204 direct, 1,826 indirect)

Ecosystem-wide dependent count for version 1.8.11.

Threat Intelligence Overview

EPSS Score
0.3%
Top 72% exploitable
Prevalence
Medium
popular Python WSGI utility library, not universally deployed
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 12 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy