Bug 2512571

Summary: CVE-2026-62992 php-smarty4: symlink path traversal out of trusted directories [epel-all]
Product: [Fedora] Fedora EPEL Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: php-smarty4Assignee: Xavier Bachelot <xavier>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: epel10CC: xavier
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["804e3e01-39ce-46d3-8ee1-6af6befef607"]}
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:42 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: 2512526    

Description Guilherme de Almeida Suckevicz 2026-08-07 17:05:16 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 5.8.2 (and 4.5.7 on the 4.x line), Security::_checkDir() does not fully resolve symbolic links before validating that a requested path lies within a configured secure directory. An attacker able to place or reference a symlink within a directory Smarty treats as trusted (e.g., a template or config directory) could use it to point outside the intended secure directory, bypassing the containment check and reading arbitrary files accessible to the PHP process. This issue is fixed in versions 5.8.2 and 4.5.7.

Comment 1 Fedora Update System 2026-11-16 11:58:51 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:52 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 3 Fedora Update System 2026-11-16 11:58:53 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-17 02:46:12 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 5 Fedora Update System 2026-11-17 02:57:36 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 6 Fedora Update System 2026-11-17 03:04:44 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 7 Fedora Update System 2026-11-17 03:07:37 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 8 Fedora Update System 2026-11-25 00:53:42 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 9 Fedora Update System 2026-11-25 01:37:23 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 10 Fedora Update System 2026-11-25 01:55:38 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 11 Fedora Update System 2026-11-25 02:04:56 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.