From dd5f01a02bc9a5345fbb22509dcf6d6c0f976db0 Mon Sep 17 00:00:00 2001 From: Jamison Bryant Date: Wed, 27 May 2026 21:53:59 -0400 Subject: [PATCH 1/2] Add security policy --- .github/SECURITY.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/SECURITY.md diff --git a/.github/SECURITY.md b/.github/SECURITY.md new file mode 100644 index 000000000..6d7de0058 --- /dev/null +++ b/.github/SECURITY.md @@ -0,0 +1,29 @@ +# Security Policy + +## Supported Versions + +We support fixing security issues on the following releases: + +| Version | Supported | Security fixes until +| ------- | ------------------ | -------------------- +| 5.x | :white_check_mark: | Currently supported +| 4.x | :white_check_mark: | The release of 6.x +| 3.x | :white_check_mark: | 36 Months after the release of CakePHP 5.0 (09 Sep 2026) +| 2.x | :x: | No longer supported + +## Reporting a Vulnerability + +If you've found a security issue in CakePHP Migrations, please use the following procedure +instead of the normal bug reporting system. Instead of using the bug tracker, +or one of the support forums please send an email to security [at] cakephp.org. Emails +sent to this address go to the CakePHP core team on a private mailing list. + +For each report, we try to first confirm the vulnerability. Once confirmed, +the CakePHP team will take the following actions: + +* Acknowledge to the reporter that we've received the issue, and are + working on a fix. We ask that the reporter keep the issue confidential until we announce it. +* Get a fix/patch prepared. +* Prepare a post describing the vulnerability, and the possible exploits. +* Release new versions of all affected versions. +* Prominently feature the problem in the release announcement From 3978dcaac232c950ed21a3e735ef67aa564b2436 Mon Sep 17 00:00:00 2001 From: Jamison Bryant Date: Thu, 28 May 2026 09:24:50 -0400 Subject: [PATCH 2/2] Reference wiki version map instead of concrete table Avoids duplicating version support info that is already maintained in the wiki, reducing maintenance burden. --- .github/SECURITY.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/SECURITY.md b/.github/SECURITY.md index 6d7de0058..ec319b782 100644 --- a/.github/SECURITY.md +++ b/.github/SECURITY.md @@ -2,14 +2,9 @@ ## Supported Versions -We support fixing security issues on the following releases: - -| Version | Supported | Security fixes until -| ------- | ------------------ | -------------------- -| 5.x | :white_check_mark: | Currently supported -| 4.x | :white_check_mark: | The release of 6.x -| 3.x | :white_check_mark: | 36 Months after the release of CakePHP 5.0 (09 Sep 2026) -| 2.x | :x: | No longer supported +Security fixes are applied to all active versions listed in the +[version map](https://github.com/cakephp/migrations/wiki#version-map). +Versions marked as EOL no longer receive fixes. ## Reporting a Vulnerability