HighGHSA-qhrx-hcm6-pmrwCVE-2019-11458

Unsafe deserialization in SmtpTransport in CakePHP

Published 2 Dec 2019 · Updated 29 May 2025

Affected packages

Affected
>=3.0.0 <3.5.18
Fixed in
3.5.18
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^3.5.18
Affected
>=3.6.0 <3.6.15
Fixed in
3.6.15
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^3.6.15
Affected
>=3.7.0 <3.7.7
Fixed in
3.7.7
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^3.7.7

Details

An issue was discovered in SmtpTransport in CakePHP 3.7.6. An unserialized object with modified internal properties can trigger arbitrary file overwriting upon destruction.

Is GHSA-qhrx-hcm6-pmrw in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected cakephp/cakephp, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.