5.18 Security Bulletin
The November edition of the Passbolt Security Bulletin highlights key vulnerability fixes across multiple product releases, including Passbolt API (Pro & Community Edition), Browser Extension, Go CLI, and Mobile applications. Key resolutions address Duo MFA subscriber verification bypasses, OpenPGP private key exposure risks, terminal escape sequence injection, insecure CLI configuration permissions, and Android autofill web domain verification.
Additionally, this edition outlines important security improvements and hardening measures designed to strengthen defense-in-depth. These enhancements include blocking HTTP method overrides, enforcing consistent access controls on custom fields and setup URLs, and strengthening metadata key validation during resource sharing.
We strongly advise all administrators and users to update to the latest versions (Passbolt v5.18, Go CLI v0.5.3, and Android App v3.4.1) to maintain the integrity and security of their instances.
Security Vulnerabilities
PB-52437: Duo MFA callback does not verify the subscriber by default (medium)
Affected products: Passbolt API < 5.18; Passbolt Browser Extension before 5.18.
Problem: By default, the Duo MFA callback accepts a successful authentication without checking whether the Duo subscriber matches the Passbolt user signing in. This check was not enabled by default because, in some existing deployments, usernames or email addresses differ between Passbolt and Duo.
Impact: Passbolt instances using Duo MFA are affected. Someone who can authenticate as an accepted Duo subscriber may be able to complete the Duo step for another Passbolt user.
Resolution: Passbolt 5.18 adds a Verify the Duo subscriber policy, enabled by default for new Duo setups. Existing integrations must first confirm that user identities match across Passbolt and Duo, then enable the policy in MFA settings. Upgrading alone does not enable the check for them. A new healthcheck (PB-55621) warns administrators when Duo is enabled without subscriber verification.
CVE: Pending
Credit: Aikido Security
PB-54749 : Private OpenPGP key accepted as public (medium)
Product: Passbolt API < 5.18
Problem: A lack of validation may allow the API to accidentally accept a private key in endpoints intended only for public keys. This can create an issue for a user accidentally submitting the wrong key.
Impact: Lack of validation can lead to unwanted private key exposure.
Solution: Passbolt API now detects and rejects public keys that contain private key material or more than one armored block. This strict parsing is enabled by default and controlled by system configuration settings. System health checks now always run these validations, allowing administrators to identify active user keys that fail validation including those containing private key material. Upgrading to this release will not remove already stored keys. Administrators should run the data check, and any affected users will need to revoke their existing key and set up their account with a new one.
CVE: Pending
Credit: Allan Victor de Araujo Ferreira
PB-54765 : Terminal escape sequence injection in go-passbolt-cli (medium)
Product: Passbolt Go CLI < 0.5.3
Problem: Server-controlled resource metadata field names and group names are printed by CLI output paths without filtering terminal control characters. A Passbolt user who can share or expose a crafted object to another user can cause terminal escape sequences or forged output to be displayed when accessed via CLI commands.
Impact: An attacker with a valid account can display spoofed output or trigger clipboard replacement on supported terminals when a victim views the crafted resource or group, though no commands are executed automatically.
Solution: Passbolt updated the CLI output handling to route all terminal output through a dedicated helper that filters control characters, and enforced this check through automated linting.
CVE: Pending
Credit: Nitin Gavhane
PB-54766 : Insecure permissions on CLI configuration files (medium)
Product: Passbolt Go CLI < 0.5.3
Problem: CLI configuration files containing sensitive data (such as OpenPGP private keys, passphrases, and MFA seeds) can be created or left with overly permissive file permissions, particularly when specifying custom configuration paths or handling unparseable files.
Impact: A local attacker with system access to the victim's machine could read exposed credentials to authenticate as the victim and decrypt accessible secrets.
Solution: Passbolt updated file handling logic to ensure CLI configuration files are created and maintained with strict 0600 permissions, while hardening protections against unsafe pre-existing files and symbolic links.
CVE: Pending
Credit: Nitin Gavhane
MOB-5780 : Android autofill trusts the web domain reported by the requesting app (medium)
Product: Passbolt Android App < 3.4.1
Problem: The native autofill service takes the web domain reported by the requesting native app as the anchor for suggested credentials without checking which app sent the request. Android now documents this value as untrusted and expects the service to verify the requesting package and its signing certificate against it.
Impact: An installed malicious app with no permissions can show a login form, claim a target domain and receive the matching username, password and current TOTP code once the user taps the Passbolt dropdown, unlocks and selects the suggestion.
Solution: The autofill service now uses the reported web domain only when the request comes from a browser on a trusted list whose signing certificate has been verified. Requests from any other app no longer receive domain-based suggestions.
CVE: Pending
Credit: Md Ohidul
Security Improvements
This section contains items that are classified as security improvements and hardening measures rather than directly exploitable vulnerabilities. In most cases, exploitation is theoretical, requires specific conditions outside Passbolt’s control, affects functionality not currently exposed by Passbolt clients, or relates to previously documented risks with mitigations already in place.
PB-55798 : HTTP method override (CakePHP) bypasses method-based rules in front of Passbolt (info)
Product: Passbolt API < 5.18
Problem: Passbolt uses the CakePHP framework, which by default allows overriding HTTP request methods via headers or request parameters. Passbolt does not utilize or require this feature, creating a potential discrepancy in how request methods are evaluated.
Impact: Network security controls (such as web application firewalls or reverse proxies) configured to restrict specific actions like delete or edit could be bypassed by an authenticated user with valid credentials.
Solution: Passbolt now rejects requests that try to override their HTTP method, ensuring that any request trying to change its intended action is automatically rejected.
Credit: Felix Müller (MFM)
PB-52331 : Improper Access Control in DisplayResourceDetailsCustomFields (info)
Product: Passbolt Browser Extension < 5.18
Problem: An inconsistency in authorization checks allows certain sensitive fields, such as custom fields and notes, to be previewed without properly verifying user permissions.
Impact: Authenticated users with limited permissions could potentially view custom field details or notes associated with resources they should not have access for preview.
Solution: Passbolt updated role-based access control checks to consistently enforce preview permissions across both custom fields and resource notes.
Credit: Aikido Security
PB-52330 : Improper Access Control in parseSetupUrlService (info)
Product: Passbolt Browser Extension < 5.18
Problem: Certain web address validation checks could potentially be bypassed using extra web address parameters or symbols.
Impact: There is no direct security risk or practical way for an attacker to exploit this behavior. However, it represents an inconsistency in how web links are verified.
Solution: Passbolt strengthened the web address validation rules to ensure all parameters and extra address parts are strictly checked.
Credit: Aikido Security
PB-54972 : V5 resource share bypass — blank metadata_key_type (info)
Product: Passbolt API < 5.18
Problem: In Passbolt v5, a resource could be saved with a blank metadata key type instead of a shared or user key, because resource validation allowed the field to be empty. Resource sharing only rejected resources whose metadata used a personal (user) key, so a resource with a blank metadata key type could still be shared. Folders were not affected, because their validation does not allow a blank metadata key type.
Impact: A resource owner could share a resource that has a blank metadata key type. Users it is shared with could then get broken or unreadable metadata. Because the owner performs this on their own resource, it does not cross any security boundary or give unauthorized parties access, but it can corrupt data unexpectedly.
Solution: The validation and sharing checks have been updated to ensure consistency across all item types. Resources will now properly validate metadata key types during the sharing process preventing items with blank or invalid metadata states from being shared. Rules have been aligned to ensure proper data integrity.
Credit: Sthiraa