🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #327

Bug#1150507: smarty4: CVE-2026-62993

#327
From: Salvatore Bonaccorso
Date: Sat, 10 Oct 2026 09:20
40 lines
3202 bytes
Source: smarty4
Version: 4.5.5-1
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security upstream
Forwarded: https://github.com/smarty-php/smarty/pull/1194

Hi,

The following vulnerability was published for smarty4.

CVE-2026-62993[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-62993
    https://www.cve.org/CVERecord?id=CVE-2026-62993
[1] https://github.com/smarty-php/smarty/pull/1194
[2] https://github.com/smarty-php/smarty/security/advisories/GHSA-cq55-c7wv-pxmq

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore
Technical Details
Message-ID: <NMBpf-4Fhr-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Salvatore Bonaccorso <carnil@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150507: smarty4: CVE-2026-62993
Date: Sat, 10 Oct 2026 11:20:01 +0200
Message-ID: <NMBpf-4Fhr-9@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sat Oct 10 09:17:13 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Salvatore Bonaccorso <carnil@debian.org>, 1150507@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team@security.debian.org, sunweaver@debian.org
X-Debian-Pr-Message: report 1150507
X-Debian-Pr-Package: src:smarty4
X-Debian-Pr-Keywords: security upstream
X-Debian-Pr-Source: smarty4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: carnil
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996024
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 40
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 10 Oct 2026 11:15:50 +0200
X-Original-Message-ID: <asoCRumjoqsG5gaw@eldamar.lan>