CVE-2026-54770

NameCVE-2026-54770
DescriptionWebOb 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-webob (PTS)bullseye1:1.8.6-1.1vulnerable
bookworm1:1.8.6-3vulnerable
trixie1:1.8.10-0+deb13u1vulnerable
forky, sid1:1.8.10-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-webobsource(unstable)(unfixed)

Notes

https://github.com/Pylons/webob/security/advisories/GHSA-6hx8-3wjj-gr8g
Fixed by: https://github.com/Pylons/webob/commit/ff89560643fb252751b4db8806a283b5377f1f07 (1.8.11)

Search for package or bug name: Reporting problems