Skip to content
Heist/ feed
Back to feed
Medium

python-webob — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-54770

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.

Products
python-webob
Affected versions
1.4.1-1, 1.5.1-1, 1.5.1-1ubuntu0.1~esm2, 1:1.7.2-0ubuntu1, 1:1.7.3-0ubuntu1, 1:1.7.3-2fakesync1, 1:1.7.3-2ubuntu0.1~esm2, 1:1.8.10-1, 1:1.8.5-1, 1:1.8.5-1build1, 1:1.8.5-2, 1:1.8.5-2ubuntu0.1, 1:1.8.5-2ubuntu0.1+esm1, 1:1.8.6-1.1, 1:1.8.6-1.1ubuntu0.1, 1:1.8.6-1.1ubuntu0.2, 1:1.8.6-3, 1:1.8.7-1, 1:1.8.7-1ubuntu0.1.24.04.1, 1:1.8.7-1ubuntu0.1.24.04.2, 1:1.8.9-1, 1:1.8.9-1ubuntu0.1
Fixed versions
Not specified
CVEs
CVE-2026-54770
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:09 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-54770

core-osv · Original source

Published 20 Aug 2026, 17:18 UTC

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.

osv:UBUNTU-CVE-2026-54770

python-webob

Fixed versions: Not specified

python-webob

Fixed versions: Not specified

python-webob

Fixed versions: Not specified

python-webob

Fixed versions: Not specified

python-webob

Fixed versions: Not specified

python-webob

Fixed versions: Not specified

python-webob

Fixed versions: Not specified

Complete source record
{
  "id": "ed4c4e9a73e087c45166d953edf10a520d637f91ac93e18779a3949ddc534c3b",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-54770",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-54770",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-54770",
    "products": [
      {
        "name": {
          "value": "python-webob",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.5.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.5.1-1ubuntu0.1~esm2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-webob",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:1.7.2-0ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:1.7.3-0ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:1.7.3-2fakesync1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:1.7.3-2ubuntu0.1~esm2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-webob",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:1.8.5-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1:1.8.5-1build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1:1.8.5-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1:1.8.5-2ubuntu0.1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1:1.8.5-2ubuntu0.1+esm1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-webob",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:1.8.6-1.1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1:1.8.6-1.1ubuntu0.1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1:1.8.6-1.1ubuntu0.2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-webob",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:1.8.6-3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1:1.8.7-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1:1.8.7-1ubuntu0.1.24.04.1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1:1.8.7-1ubuntu0.1.24.04.2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-webob",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:1.8.9-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1:1.8.10-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-webob",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:1.8.9-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1:1.8.9-1ubuntu0.1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-54770",
      "aliases": [
        "UBUNTU-CVE-2026-54770"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-webob",
            "purl": "pkg:deb/ubuntu/python-webob?arch=source&distro=esm-infra-legacy%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "1.4.1-1",
            "1.5.1-1",
            "1.5.1-1ubuntu0.1~esm2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54770.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-webob",
                "binary_version": "1.5.1-1ubuntu0.1~esm2"
              },
              {
                "binary_name": "python3-webob",
                "binary_version": "1.5.1-1ubuntu0.1~esm2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-webob",
            "purl": "pkg:deb/ubuntu/python-webob?arch=source&distro=esm-infra%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "1:1.7.2-0ubuntu1",
            "1:1.7.3-0ubuntu1",
            "1:1.7.3-2fakesync1",
            "1:1.7.3-2ubuntu0.1~esm2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54770.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-webob",
                "binary_version": "1:1.7.3-2ubuntu0.1~esm2"
              },
              {
                "binary_name": "python3-webob",
                "binary_version": "1:1.7.3-2ubuntu0.1~esm2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-webob",
            "purl": "pkg:deb/ubuntu/python-webob?arch=source&distro=esm-infra%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "1:1.8.5-1",
            "1:1.8.5-1build1",
            "1:1.8.5-2",
            "1:1.8.5-2ubuntu0.1",
            "1:1.8.5-2ubuntu0.1+esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54770.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-webob",
                "binary_version": "1:1.8.5-2ubuntu0.1+esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-webob",
            "purl": "pkg:deb/ubuntu/python-webob?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1:1.8.6-1.1",
            "1:1.8.6-1.1ubuntu0.1",
            "1:1.8.6-1.1ubuntu0.2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54770.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-webob",
                "binary_version": "1:1.8.6-1.1ubuntu0.2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-webob",
            "purl": "pkg:deb/ubuntu/python-webob?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1:1.8.6-3",
            "1:1.8.7-1",
            "1:1.8.7-1ubuntu0.1.24.04.1",
            "1:1.8.7-1ubuntu0.1.24.04.2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54770.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-webob",
                "binary_version": "1:1.8.7-1ubuntu0.1.24.04.2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-webob",
            "purl": "pkg:deb/ubuntu/python-webob?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1:1.8.9-1",
            "1:1.8.10-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54770.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-webob",
                "binary_version": "1:1.8.10-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-webob",
            "purl": "pkg:deb/ubuntu/python-webob?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1:1.8.9-1",
            "1:1.8.9-1ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54770.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-webob",
                "binary_version": "1:1.8.9-1ubuntu0.1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:00:26.997247058Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-54770"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-54770",
        "https://www.cve.org/CVERecord?id=CVE-2026-54770",
        "https://github.com/Pylons/webob/security/advisories/GHSA-6hx8-3wjj-gr8g"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-54770",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360557,
  "published_at": "2026-08-20T17:18:00+00:00"
}