---
id: CVE-2026-81714
aliases:
  - PYSEC-2026-3799
  - GHSA-xg52-638v-jc5m
title: >-
  openssl_encrypt (pip: openssl-encrypt) versions <= 1.4.8 use suffix-tolerant
  fingerprint matching in enroll_trust_key when binding a plug…
summary: >-
  openssl_encrypt (pip: openssl-encrypt) versions <= 1.4.8 use suffix-tolerant
  fingerprint matching in enroll_trust_key when binding a plugin-signing trust
  anchor. An operator who confirms a short (forgeable, ~32-bit) GPG key id could
  unkn…
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-03'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2026-3799'
references:
  - url: >-
      https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-xg52-638v-jc5m
  - url: >-
      https://www.vulncheck.com/advisories/openssl-encrypt-before-1.4.9-plugin-signing-trust-anchor-enrollment-bypass
tags:
  - osv
  - pip
epss: 0.00199
epssPercentile: 0.08641
ingestedAt: '2026-09-03T19:32:12.282Z'
---

## Overview

openssl_encrypt (pip: openssl-encrypt) versions <= 1.4.8 use suffix-tolerant fingerprint matching in enroll_trust_key when binding a plugin-signing trust anchor. An operator who confirms a short (forgeable, ~32-bit) GPG key id could unknowingly enroll an attacker's colliding key as a trusted anchor, which then vouches for malicious plugins under the ENFORCE signature policy. Version 1.4.9 fixes this by requiring the confirmed value to exactly match the full primary-key fingerprint (case-insensitive, whitespace-stripped).

## Affected packages

- `openssl-encrypt < 1.4.9`

## Remediation

Upgrade to a patched release:

- `openssl-encrypt 1.4.9`
