UBUNTU-CVE-2026-62993

Source
https://ubuntu.com/security/CVE-2026-62993
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-62993.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-62993
Upstream
Published
2026-08-31T21:17:00Z
Modified
2026-10-01T00:21:35Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to 4.5.7 and 5.8.2, depending on the release line, Smarty's {fetch} handling in libs/plugins/function.fetch.php and src/FunctionHandler/Fetch.php used Security::isTrustedUri() to validate only the initial remote URL against trusted_uri when a security policy was active. For resources handled by file_get_contents(), including HTTPS URLs, PHP followed HTTP redirects by default. An attacker who could supply or influence a fetch target and had an open redirect on a trusted host could redirect the request to an attacker-chosen internal endpoint, bypass the trusted_uri allowlist, and perform server-side request forgery. This issue is fixed in versions 4.5.7 and 5.8.2.

References

Affected packages

Ubuntu:22.04:LTS
smarty3

Package

Name
smarty3
Purl
pkg:deb/ubuntu/smarty3?arch=source&distro=jammy

Affected ranges

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

Affected versions

3.*
3.1.39-2
3.1.39-2ubuntu1
3.1.39-2ubuntu1.22.04.1
3.1.39-2ubuntu1.22.04.2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "smarty3",
            "binary_version":  "3.1.39-2ubuntu1.22.04.2"
        }
    ]
}

Database specific

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

Package

Name
smarty3
Purl
pkg:deb/ubuntu/smarty3?arch=source&distro=noble

Affected ranges

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

Affected versions

3.*
3.1.48-1
3.1.48-1ubuntu0.24.04.1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "smarty3",
            "binary_version":  "3.1.48-1ubuntu0.24.04.1"
        }
    ]
}

Database specific

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

Package

Name
smarty4
Purl
pkg:deb/ubuntu/smarty4?arch=source&distro=noble

Affected ranges

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

Affected versions

4.*
4.3.1-1
4.3.1-1ubuntu0.24.04.1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "smarty4",
            "binary_version":  "4.3.1-1ubuntu0.24.04.1"
        }
    ]
}

Database specific

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

Package

Name
smarty3
Purl
pkg:deb/ubuntu/smarty3?arch=source&distro=resolute

Affected ranges

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

Affected versions

3.*
3.1.48-2
3.1.48-2build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "smarty3",
            "binary_version":  "3.1.48-2build1"
        }
    ]
}

Database specific

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

Package

Name
smarty4
Purl
pkg:deb/ubuntu/smarty4?arch=source&distro=resolute

Affected ranges

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

Affected versions

4.*
4.5.5-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "smarty4",
            "binary_version":  "4.5.5-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-62993.json"
Ubuntu:Pro:16.04:LTS
smarty3

Package

Name
smarty3
Purl
pkg:deb/ubuntu/smarty3?arch=source&distro=esm-apps%2Fxenial

Affected ranges

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

Affected versions

3.*
3.1.21-1
3.1.21-1ubuntu1
3.1.21-1ubuntu1+esm1
3.1.21-1ubuntu1+esm2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "smarty3",
            "binary_version":  "3.1.21-1ubuntu1+esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-62993.json"
Ubuntu:Pro:18.04:LTS
smarty3

Package

Name
smarty3
Purl
pkg:deb/ubuntu/smarty3?arch=source&distro=esm-apps%2Fbionic

Affected ranges

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

Affected versions

3.*
3.1.31+20161214.1.c7d42e4+selfpack1-2
3.1.31+20161214.1.c7d42e4+selfpack1-3
3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1
3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "smarty3",
            "binary_version":  "3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-62993.json"
Ubuntu:Pro:20.04:LTS
smarty3

Package

Name
smarty3
Purl
pkg:deb/ubuntu/smarty3?arch=source&distro=esm-apps%2Ffocal

Affected ranges

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

Affected versions

3.*
3.1.33+20180830.1.3a78a21f+selfpack1-1
3.1.34+20190228.1.c9f0de05+selfpack1-1
3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1~esm1
3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1
3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1+esm1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "smarty3",
            "binary_version":  "3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1+esm1"
        }
    ]
}

Database specific

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