Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-54770— WebOb: Open redirect in Location header normalization via leading C0 control / space characters

Quick assessment

Affected
Pylons webob
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

WebOb 提供了用于处理 HTTP 请求和响应的对象。在 1.8.11 版本之前,src/webob/response.py 中的 Response._make_location_absolute() 方法在调用 urllib.parse.urljoin() 之前,会对 Location 值检查是否存在 URI 方案或开头的双斜杠。然而,urljoin() 会去除开头的 C0 控制字符和空格。因此,攻击者可以构造一个以空格开头、后接协议相对 URL 或绝对 URL 的值,从而绕过 SCHEME_RE 和 star

CVSS 6.1 · Medium EPSS 0.34% · P28

Affected Version Matrix 1

VendorProduct Version RangeStatus
Pylons webob < 1.8.11 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54770

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
WebOb: Open redirect in Location header normalization via leading C0 control / space characters
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
指向未可信站点的URL重定向(开放重定向)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Pylons webob < 1.8.11 -

II. Public POCs for CVE-2026-54770

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54770

登录查看更多情报信息。

Patches & Fixes for CVE-2026-54770 (1)

Vendor Advisories for CVE-2026-54770 (1)

Vendor Pages for CVE-2026-54770 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-54770

No comments yet


Leave a comment