Bug 2540933

Summary: CVE-2026-62993 php-smarty4: Smarty: Server-Side Request Forgery via redirect bypass in {fetch} handling [epel-all]
Product: [Fedora] Fedora EPEL Reporter: TEJ RATHI <trathi>
Component: php-smarty4Assignee: Xavier Bachelot <xavier>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: epel10CC: xavier
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["1cd3ba72-2a99-490d-8c35-6bfe82b6eb79"]}
Fixed In Version: php-smarty4-4.6.0-1.el10_3 php-smarty4-4.6.0-1.el10_4 php-smarty4-4.6.0-1.el9 php-smarty4-4.6.0-1.el8 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-25 00:53:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2526557    

Description TEJ RATHI 2026-09-25 05:09:28 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-11-16 11:58:54 UTC
FEDORA-EPEL-2026-b1577587e1 (php-smarty4-4.6.0-1.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-b1577587e1

Comment 2 Fedora Update System 2026-11-16 11:58:56 UTC
FEDORA-EPEL-2026-fc6fb0b2d3 (php-smarty4-4.6.0-1.el8) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-fc6fb0b2d3

Comment 3 Fedora Update System 2026-11-16 11:58:58 UTC
FEDORA-EPEL-2026-9b6e9b20e9 (php-smarty4-4.6.0-1.el10_3) has been submitted as an update to Fedora EPEL 10.3.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-9b6e9b20e9

Comment 4 Fedora Update System 2026-11-16 11:59:01 UTC
FEDORA-EPEL-2026-1c90f3a3c7 (php-smarty4-4.6.0-1.el10_4) has been submitted as an update to Fedora EPEL 10.4.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-1c90f3a3c7

Comment 5 Fedora Update System 2026-11-17 02:46:14 UTC
FEDORA-EPEL-2026-1c90f3a3c7 has been pushed to the Fedora EPEL 10.4 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-1c90f3a3c7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-11-17 02:57:38 UTC
FEDORA-EPEL-2026-9b6e9b20e9 has been pushed to the Fedora EPEL 10.3 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-9b6e9b20e9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-11-17 03:04:46 UTC
FEDORA-EPEL-2026-fc6fb0b2d3 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-fc6fb0b2d3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-11-17 03:07:39 UTC
FEDORA-EPEL-2026-b1577587e1 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-b1577587e1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2026-11-25 00:53:45 UTC
FEDORA-EPEL-2026-9b6e9b20e9 (php-smarty4-4.6.0-1.el10_3) has been pushed to the Fedora EPEL 10.3 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2026-11-25 01:37:25 UTC
FEDORA-EPEL-2026-1c90f3a3c7 (php-smarty4-4.6.0-1.el10_4) has been pushed to the Fedora EPEL 10.4 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2026-11-25 01:55:39 UTC
FEDORA-EPEL-2026-b1577587e1 (php-smarty4-4.6.0-1.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2026-11-25 02:04:57 UTC
FEDORA-EPEL-2026-fc6fb0b2d3 (php-smarty4-4.6.0-1.el8) has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.