Read the docs
TI-2024-19058 Aliases CVE-2024-28859GHSA-wjv8-pxr6-5f4r

Gadget chain in Symfony 1 due to vulnerable Swift Mailer dependency

Priority HIGH 74CWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-502.

Summary

Symfony1 is a community fork of symfony 1.4 with DIC, form enhancements, latest Swiftmailer, better performance, composer compatible and PHP 8 support. Symfony 1 has a gadget chain due to vulnerable Swift Mailer dependency that would enable an attacker to get remote code execution if a developer unserialize user input in his project. This vulnerability present no direct threat but is a vector that will enable remote code execution if a developper deserialize user untrusted data. Symfony 1 depends on Swift Mailer which is bundled by default in vendor directory in the default installation since 1.3.0. Swift Mailer classes implement some `__destruct()` methods. These methods are called when php destroys the object in memory. However, it is possible to include any object type in `$this->_keys` to make PHP access to another array/object properties than intended by the developer. In particular, it is possible to abuse the array access which is triggered on foreach($this->_keys ...) for any class implementing ArrayAccess interface. This may allow an attacker to execute any PHP command which leads to remote code execution. This issue has been addressed in version 1.5.18. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01594 75th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed symfony1 (FriendsOfSymfony1): 1.5.18friendsofsymfony1/symfony1 (Packagist): 1.5.18+2 more products

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
FriendsOfSymfony1symfony11.3.0 to before 1.5.181.5.18Patch availableCNA
—friendsofsymfony1/symfony1 (Packagist)1.3.0 to before 1.5.181.5.18Patch availableGHSA-wjv8-pxr6-5f4r
—friendsofsymfony1/swiftmailer (Packagist)4.0.0 to before 5.4.135.4.13Patch availableGHSA-wjv8-pxr6-5f4r
—friendsofsymfony1/swiftmailer (Packagist)6.0.0 to before 6.2.56.2.5Patch availableGHSA-wjv8-pxr6-5f4r
—swiftmailer/swiftmailer (Packagist)4.0.0 to before 6.2.56.2.5Patch availableGHSA-wjv8-pxr6-5f4r
  • symfony1 VendorFriendsOfSymfony1 Affected 1.3.0 to before 1.5.18 Fixed in 1.5.18 Patch available CNA
  • friendsofsymfony1/symfony1 (Packagist) Vendor— Affected 1.3.0 to before 1.5.18 Fixed in 1.5.18 Patch available GHSA-wjv8-pxr6-5f4r
  • friendsofsymfony1/swiftmailer (Packagist) Vendor— Affected 4.0.0 to before 5.4.13 Fixed in 5.4.13 Patch available GHSA-wjv8-pxr6-5f4r
  • friendsofsymfony1/swiftmailer (Packagist) Vendor— Affected 6.0.0 to before 6.2.5 Fixed in 6.2.5 Patch available GHSA-wjv8-pxr6-5f4r
  • swiftmailer/swiftmailer (Packagist) Vendor— Affected 4.0.0 to before 6.2.5 Fixed in 6.2.5 Patch available GHSA-wjv8-pxr6-5f4r

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:friendsofsymfony1:symfony1:*:*:*:*:*:*:*:*1.3.0 to before 1.5.18VulnerableFriendsOfSymfony1
  • cpe:2.3:a:friendsofsymfony1:symfony1:*:*:*:*:*:*:*:* Versions 1.3.0 to before 1.5.18 Vulnerable ·FriendsOfSymfony1

Remediation

  • Fix · CNA symfony1 (FriendsOfSymfony1) Fixed in 1.5.18
  • Fix · GHSA-wjv8-pxr6-5f4r friendsofsymfony1/symfony1 (Packagist) Fixed in 1.5.18 Advisory →
  • Fix · GHSA-wjv8-pxr6-5f4r friendsofsymfony1/swiftmailer (Packagist) Fixed in 5.4.13 Advisory →
  • Fix · GHSA-wjv8-pxr6-5f4r friendsofsymfony1/swiftmailer (Packagist) Fixed in 6.2.5 Advisory →
  • Fix · GHSA-wjv8-pxr6-5f4r swiftmailer/swiftmailer (Packagist) Fixed in 6.2.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-28859
  2. 2026-10-03 Alias added: GHSA-wjv8-pxr6-5f4r

References

  • TI-2024-19060 Gadget chain in Symfony 1 due to uncontrolled unserialized input in sfNamespacedParameterHolder CVSS 3.1CRITICAL 9.8

Sources