UBUNTU-CVE-2026-118658

Source
https://ubuntu.com/security/CVE-2026-118658
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118658.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-118658
Upstream
Published
2026-10-29T00:00:00Z
Modified
2026-10-29T20:04:30Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Echo is a Go web framework. Prior to 4.15.2 and 5.1.1, Context.Scheme returns values from X-Forwarded-Proto, X-Forwarded-Protocol, or X-Url-Scheme without validating that they are supported web schemes. WWWRedirect and NonWWWRedirect use that value to construct a Location header, so an attacker controlling a forwarded scheme header can cause a redirect to use an arbitrary URI scheme. Exploitation requires an affected redirect middleware and user interaction with the response; the HTTPS-specific redirect variants hardcode HTTPS and are unaffected. This issue is fixed in 4.15.2 and 5.1.1.

References

Affected packages

Ubuntu:20.04:LTS
golang-github-labstack-echo.v2

Package

Name
golang-github-labstack-echo.v2
Purl
pkg:deb/ubuntu/golang-github-labstack-echo.v2?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.0-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "golang-github-labstack-echo.v2-dev",
            "binary_version":  "2.2.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118658.json"
golang-github-labstack-echo.v3

Package

Name
golang-github-labstack-echo.v3
Purl
pkg:deb/ubuntu/golang-github-labstack-echo.v3?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.3.5-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "golang-github-labstack-echo.v3-dev",
            "binary_version":  "3.3.5-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118658.json"
Ubuntu:22.04:LTS
golang-github-labstack-echo

Package

Name
golang-github-labstack-echo
Purl
pkg:deb/ubuntu/golang-github-labstack-echo?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.2.1-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "golang-github-labstack-echo-dev",
            "binary_version":  "4.2.1-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118658.json"
golang-github-labstack-echo.v2

Package

Name
golang-github-labstack-echo.v2
Purl
pkg:deb/ubuntu/golang-github-labstack-echo.v2?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.0-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "golang-github-labstack-echo.v2-dev",
            "binary_version":  "2.2.0-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118658.json"
golang-github-labstack-echo.v3

Package

Name
golang-github-labstack-echo.v3
Purl
pkg:deb/ubuntu/golang-github-labstack-echo.v3?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.3.10-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "golang-github-labstack-echo.v3-dev",
            "binary_version":  "3.3.10-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118658.json"
Ubuntu:24.04:LTS
golang-github-labstack-echo

Package

Name
golang-github-labstack-echo
Purl
pkg:deb/ubuntu/golang-github-labstack-echo?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.11.1-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "golang-github-labstack-echo-dev",
            "binary_version":  "4.11.1-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118658.json"
Ubuntu:26.04:LTS
golang-github-labstack-echo

Package

Name
golang-github-labstack-echo
Purl
pkg:deb/ubuntu/golang-github-labstack-echo?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.12.0-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "golang-github-labstack-echo-dev",
            "binary_version":  "4.12.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118658.json"
Ubuntu:26.10
golang-github-labstack-echo

Package

Name
golang-github-labstack-echo
Purl
pkg:deb/ubuntu/golang-github-labstack-echo?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.12.0-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "golang-github-labstack-echo-dev",
            "binary_version":  "4.12.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118658.json"