{"id":"CVE-2026-74877","aliases":["CVE-2026-74877","GHSA-hvc7-763r-4f3h","PYSEC-2026-3743"],"related":[],"kind":"vulnerability","state":"published","title":"openssl_encrypt before 1.4.0 Missing Ownership Verification via revoke_key","summary":"openssl_encrypt versions before 1.4.0 contain a missing ownership verification vulnerability in the revoke_key method that allows authenticated clients to revoke any other client's key. Attackers can revoke arbitrary keys by providing a valid ML-DSA signature, bypassing the intended ownership restriction.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"openssl_encrypt versions before 1.4.0 contain a missing ownership verification vulnerability in the revoke_key method that allows authenticated clients to revoke any other client's key. Attackers can revoke arbitrary keys by providing a valid ML-DSA signature, bypassing the intended ownership restriction.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe `revoke_key` method in `openssl_encrypt_server/modules/keyserver/service.py` at **lines 195-270** accepts a `client_id` parameter but never verifies that the requesting client is the same as `key.owner_client_id`.\n\n### Impact\n\nAny authenticated client can revoke any other client's key, as long as they provide a valid revocation signature. While the signature requirement mitigates this somewhat (you need the private key to sign), the lack of ownership check is a defense-in-depth gap.\n\n### Recommended Fix\n\n- Add an ownership check: verify `client_id == key.owner_client_id` before allowing revocation\n- Return 403 Forbidden if the requesting client does not own the key\n\n### Fix\n\nFixed in commit `05e45f3` on branch `releases/1.4.x` — added documentation that ML-DSA signature verification IS the cryptographic ownership check; added info-level logging on successful verification.","format":"markdown","source":"ghsa"}],"published":"2026-04-01T21:11:32.000Z","modified":"2026-10-08T16:17:39.583Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U","rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}],"cwes":["CWE-639","CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.4.0","status":"affected"},{"type":"semver","version":"1.4.0","status":"unaffected"}],"vendor":"jahlives","product":"openssl_encrypt","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.4.0"}],"ecosystem":"PyPI","package":"openssl-encrypt","purl":"pkg:pypi/openssl-encrypt","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.4.0"}],"vendor":"jahlives","product":"openssl_encrypt","cpe":"cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.4.0"}],"ecosystem":"PyPI","package":"openssl-encrypt","purl":"pkg:pypi/openssl-encrypt","source":"pysec"}],"references":[{"url":"https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-hvc7-763r-4f3h","tags":["advisory","mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.vulncheck.com/advisories/openssl-encrypt-before-missing-ownership-verification-via-revoke-key","tags":["advisory","third-party-advisory"],"sources":["cvelist","nvd","pysec"]},{"url":"https://github.com/jahlives/openssl_encrypt/commit/05e45f393886b5bf7e924d2dd42099a9dd37f91d","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jahlives/openssl_encrypt","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-18T14:36:43.072Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74877","url":"https://www.cve.org/CVERecord?id=CVE-2026-74877","licence":"CVE Terms of Use","modified":"2026-10-08T15:24:50.458Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hvc7-763r-4f3h","url":"https://github.com/advisories/GHSA-hvc7-763r-4f3h","licence":"CC-BY-4.0","modified":"2026-09-01T09:25:30.575Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74877","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74877","licence":"Public domain","modified":"2026-10-08T16:17:39.583Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3743","url":"https://osv.dev/vulnerability/PYSEC-2026-3743","licence":"CC-BY-4.0","modified":"2026-09-01T09:15:03.520Z"}],"updatedAt":"2026-11-25T22:59:33.333Z","epss":{"score":0.00248,"percentile":0.17218,"date":"2026-12-01T12:00:22.000Z"}}