# CVE-2026-52767: YesWiki: Unauthenticated ActivityPub Signature-Verification Bypass via `!openssl_verify(...)` accepting `int(-1)`

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-09T20:58:12.000Z
- Modified: 2026-09-08T21:05:26.920Z
- Also known as: GHSA-mv28-wj57-f57g
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

YesWiki is a wiki system written in PHP. From version 4.6.2 to before version 4.6.6, HttpSignatureService::verifySignature() checks the result of PHP's openssl_verify() with a loose boolean negation - if (!openssl_verify(...)) { throw ... }. PHP's openssl_verify has four possible return values: 1, 0, -1, and "false". 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(). Any condition that makes OpenSSL's EVP_VerifyFinal() return -1 triggers the bypass. The reachable consequence is the controller silently treats a failed verification as success and processes the attacker's payload. This issue has been patched in version 4.6.6.

(As written by CVE List.)

## Affected

- YesWiki yeswiki: >= 4.6.2, < 4.6.6
- yeswiki/yeswiki (Packagist): from 4.6.2 before 4.6.6

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L`

## References

- <https://github.com/YesWiki/yeswiki/security/advisories/GHSA-mv28-wj57-f57g> (exploit, web)
- <https://github.com/YesWiki/yeswiki/commit/d1795e0301e1a1078f17b4b98f56fff70de2029e> (web)
- <https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6>
- <https://github.com/YesWiki/yeswiki> (package)

## Sources

- CVE List: [CVE-2026-52767](https://www.cve.org/CVERecord?id=CVE-2026-52767), CVE Terms of Use, modified 2026-09-08
- GitHub Advisory Database: [GHSA-mv28-wj57-f57g](https://github.com/advisories/GHSA-mv28-wj57-f57g), CC-BY-4.0, modified 2026-07-09
- NVD: [CVE-2026-52767](https://nvd.nist.gov/vuln/detail/CVE-2026-52767), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-52767 · Whole record: https://cve.day/CVE-2026-52767.json · Rebuilt by cve.day 2026-11-25T22:59:36.417Z
