Live threats

All CVEs / Python-gnupg Project

CVE-2014-1927Python-gnupg Project Python-gnupg

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
3.4%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Oct 25, 2014
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

The shell_quote function in python-gnupg 0.3.5 does not properly quote strings, which allows context-dependent attackers to execute arbitrary code via shell metacharacters in unspecified vectors, as demonstrated using "$(" command-substitution sequences, a different vulnerability than CVE-2014-1928. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-7323.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python-gnupg.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI python-gnupg ≥ 0.3.5 < 0.3.6 0.3.6 pip install "python-gnupg>=0.3.6"
PyPI python-gnupg ≥ 0.3.5 < 0.3.6 0.3.6 pip install "python-gnupg>=0.3.6"

Per OSV / GitHub Advisories (GHSA-r3vr-prwv-86g9, PYSEC-2014-90). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
python-gnupg_projectpython-gnupg0.3.5

Official sources

References

Links published by the sources. Open them with care.