- Package:
- src:smarty4
- Source:
- src:smarty4
- Submitter:
- Salvatore Bonaccorso
- Date:
- 2026-11-06 23:33:04 UTC
- Severity:
- normal
- Tags:
Hi, The following vulnerability was published for smarty4. CVE-2026-62992[0]: | 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. 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-62992 https://www.cve.org/CVERecord?id=CVE-2026-62992 [1] https://github.com/smarty-php/smarty/security/advisories/GHSA-f6wf-28g6-769x [2] https://github.com/smarty-php/smarty/commit/a1ccdb0518021a559b4066c37b76a42c86bbce90 Please adjust the affected versions in the BTS as needed. Regards, Salvatore
We believe that the bug you reported is fixed in the latest version of
smarty4, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1145020@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mike Gabriel <sunweaver@debian.org> (supplier of updated smarty4 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 03 Nov 2026 18:45:00 +0100
Source: smarty4
Architecture: source
Version: 4.5.8-1
Distribution: unstable
Urgency: medium
Maintainer: Mike Gabriel <sunweaver@debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
Closes: 1145020 1150192 1150507
Changes:
smarty4 (4.5.8-1) unstable; urgency=medium
.
* New upstream release.
- CVE-2026-62992: Fix resolving symbolic links in Security::_checkDir()
before validating that a requested path lies within a configured secure
directory.(Closes: #1145020).
- CVE-2026-62993: Fix validating the initial remote URL against trusted_uri
under all circumstances when a security policy is active. (Closes:
#1150507).
- CVE-2026-82531: Fix code injection vulnerability. (Closes: #1150192).
* debian/control:
+ Bump Standards-Version: to 4.7.4; drop Priority: field; drop R³: field.
* debian/watch:
+ Switch to format version 5.
Checksums-Sha1:
4a21ed973dae663f465e1d60273f91ff4a83a01d 1973 smarty4_4.5.8-1.dsc
94821275fcb110b8e2fb492454a09002fe80044c 366102 smarty4_4.5.8.orig.tar.gz
df90fef33adc992ab824fe3cf6df9c7f2601998f 9568 smarty4_4.5.8-1.debian.tar.xz
6a3fcecce2210ab31957adeb9c57eae4e8599ee3 7520 smarty4_4.5.8-1_source.buildinfo
Checksums-Sha256:
d9411b8256e774cfc8e1de23c533c058af236037e00d30f86e8c81baeeb6ea10 1973 smarty4_4.5.8-1.dsc
304d5b96d14be1de6d971ed036d8d648de4c063945a4ec2b9f2a38197c13cba8 366102 smarty4_4.5.8.orig.tar.gz
09811203a4b0c830c9e5eb8fe4a4705b7797154b05560142a80026ab91610526 9568 smarty4_4.5.8-1.debian.tar.xz
0035836ea4940dcca27f1970285a64cd5d9dd40955598e834368a104b96ba663 7520 smarty4_4.5.8-1_source.buildinfo
Files:
164700b8c49516d38226a64562ce0769 1973 web optional smarty4_4.5.8-1.dsc
7759dc4063a3e12c82b40d7026bd7c2d 366102 web optional smarty4_4.5.8.orig.tar.gz
16c187c9b5b2e72ab7e5dfc61d4fb8c0 9568 web optional smarty4_4.5.8-1.debian.tar.xz
9e63343b97e1288f35aa32185d823f9c 7520 web optional smarty4_4.5.8-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJJBAEBCgAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmrqHqoVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxxVAP/j8DYyJeZBh153PfW/L24mvuS8GS
GGrDk+LI7HMccqYGDX7UbqeCPkEqcX+MuvvnckuXxYc2ZPdCKuN6V/Wp58RiZakb
woyww0kXz96H+O6us5+7MeYw+3ny0Yx5g2kWGNIJn1OEjc9iKy5wRojaSvE0SSaG
sMXldUK/JbTkb6zjWsXKbgccRhrS7I5ZiZAwCpmnH/VkxR+Y9Z2yRD6b+C985Krh
QLGgSSyZaouB7w0xZf9nn8HzsHosP6CrxV7ZooWxI0rrWJAX2XHGcBE7IqNQGp0h
kM8bhPpLVTZpgVFpR7PVrkIAaDWQD+D6bpazsd88k5xUTN0AM8W4+swg8Sskz/Cy
4o8niucEHhFDLlarzcZxSBm53ARCnEXA9plNRnDNJXhTEwWeFCZshDUlmx2KLSJm
Djo6e2Esq/sFKacx7+BjRHMZdEmHzIsYu0q4hM+8kfLt59JkkvaMegCABOTEF/T2
ry9QiLoWwN0gjF0vtOEoffcJlPz+XrEmU+Xv7bHcp5UBt7sZtKA/eJmTlWDReknM
gShc3D2l6+Z0BVwMaJtKE1uBVsNb/a2k6Zjgf2Co/l2Ar7znbpx2aWKfniiVzi2u
uzzA++pvVJOs95QP0H+z4B045WIKZw4ZBS7loEzFkBwHY5kdCy4Wlzz3ebqE+Jm4
jjfJoIS2not8RGVY
=3Kj+
-----END PGP SIGNATURE-----
We believe that the bug you reported is fixed in the latest version of
smarty4, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1145020@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mike Gabriel <sunweaver@debian.org> (supplier of updated smarty4 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 03 Nov 2026 19:12:58 +0100
Source: smarty4
Architecture: source
Version: 4.5.5-1+deb13u1
Distribution: trixie
Urgency: medium
Maintainer: Mike Gabriel <sunweaver@debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
Closes: 1145020 1150192 1150507
Changes:
smarty4 (4.5.5-1+deb13u1) trixie; urgency=medium
.
* debian/patches:
+ Add CVE-2026-62992+3.patch.
CVE-2026-62992: Fix resolving symbolic links in Security::_checkDir()
before validating that a requested path lies within a configured secure
directory.(Closes: #1145020).
CVE-2026-62993: Fix validating the initial remote URL against trusted_uri
under all circumstances when a security policy is active. (Closes:
#1150507).
+ Add CVE-2026-82531.patch.
CVE-2026-82531: Fix code injection vulnerability. (Closes: #1150192).
Checksums-Sha1:
eac63838930829fd48a3d6b793ae84aa0f5f92b3 2008 smarty4_4.5.5-1+deb13u1.dsc
f64cb9421e34eecbac5c95dd247e2e2d8cb8b462 14564 smarty4_4.5.5-1+deb13u1.debian.tar.xz
cc153abada2c6e0601efe3d438e9a50267865727 7552 smarty4_4.5.5-1+deb13u1_source.buildinfo
Checksums-Sha256:
5ec2e9488c4c46c6f43ee7aa1430bafd3bd7a6a37decb07f60802d2b012e35cf 2008 smarty4_4.5.5-1+deb13u1.dsc
6d61dc78e31fbe98f7687c4b53d912fbe63a953436bfc5787e558675413ec306 14564 smarty4_4.5.5-1+deb13u1.debian.tar.xz
7488b5ccafcb192d0c315840f92823a757b3e4772569034d33cf3e0ec0745b7c 7552 smarty4_4.5.5-1+deb13u1_source.buildinfo
Files:
f5bb336ff45ba19f2505c3e180a04f82 2008 web optional smarty4_4.5.5-1+deb13u1.dsc
9fc473c74b192892ff41577fafe68bba 14564 web optional smarty4_4.5.5-1+deb13u1.debian.tar.xz
6ab5d10ee74598edbd505334a85fb283 7552 web optional smarty4_4.5.5-1+deb13u1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJJBAEBCgAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmrqJvkVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxr8YP/iOTHyyY2XLEN+RXuN7fHGGveIIV
VJYKlulsDroUl2zwYEUqVXKE+fb8oP5JjtBfO0K1TCjUxp2Ues5BAgAvc6bdlBJr
3Yl02dWn2/Xx+i2ViZ1i6YAGWfcI1aoB1j0xa+IFRJUaN3v8qX6ut/FMZg8QHANM
T1WtTy9GRy5AM+J7vVktsR3zoiIoRni9SUPcn2b8wByldodUTIOrdcXzujcoF9wZ
QI8f4fwIcbYV1VQVJc21ArmtgEkX/Al6s51J7sJLVkYnA/jw/AKeQwT7jNSa/k0G
2HfpaW2K2WfrVZ5WMcbaULztNjmPwSRrQ2gb9diDjnzUceEALVqaoQ5zGlnLI1aU
134jA83h16n9eB7pRAYtZ1oMcPdUfovy7MTS+6l/LBn8DVs7AEJDS3PEX1erBQcF
2Pv2irHtAES9D2spNc64tbtkGjrm+oosv5bQThG5hQ8mPCzFUwD0lJRrDiCsL+Wp
Q3UaHko5GxkfdFzZLXF36pUnnGlPds67fQ8TpScB9Dmktgpot+oPrLQSf2ZZGKQa
psLsTzBsoyAlQ0lVdqTUH6Dri1ADqPKeFECu2IMmwut47+mI67yAOOy/ecRVZ3Ec
jaEagoM1BZgwmEWCinPXQA+B7j8SEWIrG2qPR1sCQHHxJMB0mvXv+9xY2lHctld9
RvZDJxWFY5errgSF
=YulP
-----END PGP SIGNATURE-----