---
id: CVE-2026-81700
aliases:
  - PYSEC-2026-3777
  - GHSA-x38r-8wf3-q9hq
title: >-
  openssl_encrypt versions before 1.4.9 contain a signature verification
  vulnerability in gpg_runner.verify_detached that accepts revoked a…
summary: >-
  openssl_encrypt versions before 1.4.9 contain a signature verification
  vulnerability in gpg_runner.verify_detached that accepts revoked and expired
  keys by only checking VALIDSIG status without inspecting REVKEYSIG, EXPKEYSIG,
  or gpg exi…
severity: none
vendor: openssl-encrypt
product: openssl-encrypt
ecosystem: pip
affected:
  - openssl-encrypt < 1.4.9
patched:
  - openssl-encrypt 1.4.9
published: '2026-08-27'
updated: '2026-09-02'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2026-3777'
references:
  - url: >-
      https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-x38r-8wf3-q9hq
  - url: >-
      https://www.vulncheck.com/advisories/openssl-encrypt-before-1.4.9-gpg-signature-verification-bypass
tags:
  - osv
  - pip
epss: 0.00351
epssPercentile: 0.26175
ingestedAt: '2026-09-02T19:31:26.115Z'
---

## Overview

openssl_encrypt versions before 1.4.9 contain a signature verification vulnerability in gpg_runner.verify_detached that accepts revoked and expired keys by only checking VALIDSIG status without inspecting REVKEYSIG, EXPKEYSIG, or gpg exit codes. Attackers holding compromised-then-revoked signing keys or expired project keys can bypass signature verification to execute malicious plugins in the host process.

## Affected packages

- `openssl-encrypt < 1.4.9`

## Remediation

Upgrade to a patched release:

- `openssl-encrypt 1.4.9`
