CVE-2026-52767

Source
https://cve.org/CVERecord?id=CVE-2026-52767
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52767.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-52767
Aliases
Published
2026-09-04T23:40:39.725Z
Modified
2026-09-06T03:46:13.606257554Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L CVSS Calculator
Summary
YesWiki: Unauthenticated ActivityPub Signature-Verification Bypass via `!openssl_verify(...)` accepting `int(-1)`
Details

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 opensslverify() with a loose boolean negation - if (!opensslverify(...)) { throw ... }. PHP's opensslverify 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 EVPVerifyFinal() 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.

Database specific
{
    "cwe_ids": [
        "CWE-347"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52767.json"
}
References

Affected packages

Git / github.com/yeswiki/yeswiki

Affected ranges

Type
GIT
Repo
https://github.com/yeswiki/yeswiki
Events
Database specific
Show details
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "4.6.2"
        },
        {
            "fixed": "4.6.6"
        }
    ]
}

Affected versions

v4.*
v4.6.2
v4.6.3
v4.6.4
v4.6.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52767.json"