Live threats

All CVEs / Python-gnupg Project

CVE-2014-1928Python-gnupg Project Python-gnupg

Medium 4.6

Priority
28
CVSS 2.0
4.6
EPSS
0.6%
probability of exploitation in 30 days · percentile 43
Auth required
Yes
Published
Oct 25, 2014
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:L/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 escape characters, which allows context-dependent attackers to execute arbitrary code via shell metacharacters in unspecified vectors, as demonstrated using "\" (backslash) characters to form multi-command sequences, a different vulnerability than CVE-2014-1927. 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.

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.6 0.3.6 pip install "python-gnupg>=0.3.6"

Per OSV / GitHub Advisories (GHSA-2jc8-4r6g-282j, PYSEC-2014-91). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
python-gnupg_projectpython-gnupg≤ 0.3.5

Official sources

References

Links published by the sources. Open them with care.