BuzzPHP
LightDarkSystem

YesWiki Vulnerable to Unauthenticated ActivityPub Signature-Verification Bypass via `!openssl_verify(...)` accepting `int(-1)`

High severity. Published 9 July 2026. Update yeswiki/yeswiki to 4.6.6 or later: composer update yeswiki/yeswiki.

Which versions are affected?

PackageAffected versionsFixed in
yeswiki/yeswiki (opens in a new tab)>= 4.6.2, < 4.6.64.6.6

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show yeswiki/yeswiki
composer audit

Advisory details

SeverityHighCVSS 8.2
Published
Updated
CVECVE-2026-52767 (opens in a new tab)
GHSAGHSA-mv28-wj57-f57g (opens in a new tab)
WeaknessCWE-347

What the advisory says

Summary HttpSignatureService::verifySignature() checks the result of PHP's opensslverify() with a loose boolean negation - if (!opensslverify(...)) { throw ... }. PHP's opensslverify has four possible return values:

| return | meaning | !return | | ------ | ------------------------------------------------ | --------- | | 1 | signature is valid | false | | 0 | signature is invalid | true ✓ | | -1 | the verify call itself failed (internal error) | false ❌ | | false| input rejected by PHP's argument validation | true ✓ |

The -1 row is the bypass: PHP's truthiness rules make -1 a truthy value, so !(-1) === false, the throw is skipped, and the controller proceeds to processActivity().

Source: GHSA-mv28-wj57-f57g (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories