Skip to content

Commit 33893f8

Browse files
committed
Merge branch 'release' into 'master'
v5.6.1 See merge request passbolt/passbolt-ce-api!462
2 parents fa87979 + 180c802 commit 33893f8

File tree

24 files changed

+54
-145
lines changed

24 files changed

+54
-145
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [5.6.1] - 2025-11-04
6+
### Security
7+
- PB-45919 Fix security issue in query generation for CakePHP
8+
9+
## [5.6.1-test.1] - 2025-11-03
10+
### Security
11+
- PB-45919 Fix security issue in query generation for CakePHP
12+
513
## [5.6.0] - 2025-10-08
614
### Added
715
- PB-45058 Add datacheck to check for existing metadata key with no metadata private keys

RELEASE_NOTES.md

Lines changed: 7 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,9 @@
1-
Release song: https://www.youtube.com/watch?v=bu50DtPF1Ac
1+
Release song: https://youtu.be/SUu9aEoQOL8
22

3-
Passbolt 5.6.0 introduces standalone notes, shared metadata key rotation, and resizable sidebars. As usual, this version also brings important security hardening through dependency updates as well as a series of bug fixes and maintenance improvements.
3+
Passbolt 5.6.1 addresses a security issue identified in the underlying CakePHP framework.
4+
The issue has been fully mitigated through a framework update.
5+
All administrators are advised to update to this version to maintain a secure environment.
46

5-
## Standalone notes
6-
It is now possible to create notes as a standalone resource type, without attaching them to credentials or other elements. Import and export processes have been updated to recognize and support this new type. Any imported resources that contain only a description will now be created as standalone notes.
7-
8-
## Shared metadata key rotation
9-
Administrators can now rotate the shared metadata key at any time from the organization settings. This improvement marks one of the final steps in meeting metadata encryption requirements. The rotation process can be performed while the instance remains operational, so availability is not disrupted.
10-
11-
## Resizable sidebars
12-
Both main workspace and Users & Groups workspace now feature sidebars that can be resized. This allows users to improve readability when working with long folder names or deeply nested folder structures. After resizing, a double-click on the sidebar handle resets it to its default width.
13-
14-
## Miscellaneous Improvements
15-
The export of account kits is now compatible with larger private keys. The group membership update process has been optimized to reduce request payload size and to avoid certain size limitations. Sorting of folder names has also been improved with natural number ordering, meaning for example that "folder2" now correctly appears before "folder10."
16-
17-
Many thanks to everyone who shared feedback, reported issues, and helped refine these features.
18-
19-
## [5.6.0] - 2025-10-08
20-
### Added
21-
- PB-45058 Add datacheck to check for existing metadata key with no metadata private keys
22-
- PB-44187 As an admin I cannot delete a metadata key associated with a deleted resource
23-
- PB-44183 As a user that is sole owner of v4 resources when v4 resources types are disabled, v4 resources should be ignored on an ownership transfer request
24-
- PB-44770 As a user I want to configure the trusted_proxies list as an environment variable
25-
- PB-45471 Add new database migration to add standalone notes resource type
26-
- PB-45472 Update resource types endpoints tests to assert enable/disable is working for new standalone notes resource type
27-
- PB-45473 Update resources endpoints tests to accommodate new standalone notes resource type
28-
29-
### Fixed
30-
- PB-45222 Fix EmailDigest not working for v5 resources
31-
- PB-45447 Fix PUT /metadata/keys/<uuid>.json endpoint returning 500 error with trailing data
32-
- PB-45436 As an administrator I can define the default cache engine with an environment variable
33-
- PB-45454 Fix 500 error due to MySQL deadlock on create resource endpoint
34-
- PB-45456 Allow editing of v4 resources even when v4 resource type creation is disabled
35-
- PB-45258 Fix grammatical errors in the resource update email content
36-
- PB-45057 Reduce memory consumption on the action logs endpoints
37-
- PB-45057 Reduce memory consumption on resources and folders index endpoints
38-
39-
### Maintenance
40-
- PB-44813 Bring back DDEV ldap related services for development environment
41-
- PB-44593 Bump i18next version
42-
- PB-45161 Fix regularly failing UsersIndexControllerPaginationTest.php test
43-
- PB-45270 Add custom exception message with client IP in /healthcheck/error.json
44-
- PB-45062 Fix user_setup_complete.php template in LU folder instead of AD
7+
## [5.6.1] - 2025-11-04
8+
### Security
9+
- PB-45919 Fix security issue in query generation for CakePHP

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"ext-pdo": "*",
6666
"ext-curl": "*",
6767
"composer/composer": "^2.8.1",
68-
"cakephp/cakephp": "^5.2.6",
68+
"cakephp/cakephp": "^5.2.9",
6969
"cakephp/migrations": "^4.0.0",
7070
"cakephp/plugin-installer": "^2.0",
7171
"mobiledetect/mobiledetectlib": "^4.8.03",

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
return [
33
'passbolt' => [
4-
'version' => '5.6.0',
5-
'name' => 'Big Jet Plane',
4+
'version' => '5.6.1',
5+
'name' => 'Camillo',
66
],
77
'php' => [
88
'minVersion' => '8.2',

plugins/PassboltCe/Folders/src/Notification/Email/DeleteFolderEmailRedactor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ public function onSubscribedEvent(Event $event): EmailCollection
9696
}
9797

9898
$operator = $this->usersTable->findFirstForEmail($uac->getId());
99+
/** @var array<\App\Model\Entity\User> $recipients */
99100
$recipients = $this->findUsersUsernameToSendEmailTo($users);
100101
foreach ($recipients as $recipient) {
101102
$email = $this->createEmail($recipient, $operator, $folder);

plugins/PassboltCe/Folders/src/Notification/Email/UpdateFolderEmailRedactor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ public function onSubscribedEvent(Event $event): EmailCollection
105105
}
106106

107107
$operator = $this->usersTable->findFirstForEmail($uac->getId());
108+
/** @var array<\App\Model\Entity\User> $recipients */
108109
$recipients = $this->findUsersUsernameToSendEmailTo($folder);
109110
foreach ($recipients as $recipient) {
110111
$email = $this->createEmail($recipient, $operator, $folder, $isV5);

plugins/PassboltCe/Folders/src/Service/Folders/FoldersDeleteService.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ private function deleteFolder(UserAccessControl $uac, Folder $folder, bool $casc
172172
*/
173173
private function deleteFolderChildrenOrMoveToRoot(UserAccessControl $uac, Folder $folder): void
174174
{
175+
/** @var array<\Passbolt\Folders\Model\Entity\FoldersRelation> $children */
175176
$children = $this->foldersRelationsTable->findByFolderParentId($folder->id);
176177

177178
foreach ($children as $folderRelation) {

plugins/PassboltCe/Metadata/src/Notification/Email/Redactor/MetadataKeyCreateEmailRedactor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public function onSubscribedEvent(Event $event): EmailCollection
8787
$metadataKey = $event->getData('metadataKey');
8888

8989
$modifier = $this->Users->findFirstForEmail($uac->getId());
90+
/** @var array<\App\Model\Entity\User> $admins */
9091
$admins = $this->Users
9192
->findAdmins()
9293
->contain(['Profiles' => AvatarsTable::addContainAvatar()])

plugins/PassboltCe/Metadata/src/Notification/Email/Redactor/MetadataKeyDeleteEmailRedactor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public function onSubscribedEvent(Event $event): EmailCollection
8787
$metadataKey = $event->getData('metadataKey');
8888

8989
$modifier = $this->Users->findFirstForEmail($uac->getId());
90+
/** @var array<\App\Model\Entity\User> $admins */
9091
$admins = $this->Users
9192
->findAdmins()
9293
->contain(['Profiles' => AvatarsTable::addContainAvatar()])

0 commit comments

Comments
 (0)