CVEBrief

Home / Red Hat / Ansible / CVE-2020-10685

CVE-2020-10685: is it exploited, and which versions of Red Hat Ansible are affected and fixed?

CVE-2020-10685 is an incomplete cleanup vulnerability in Red Hat Ansible. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: ansible from 2.7.0a1 before 2.7.17, ansible from 2.8.0a1 before 2.8.11 and ansible from 2.9.0a1 before 2.9.7 (GitHub advisory GHSA-77g3-3j5w-64w4). Fixed in 2.7.17, 2.8.11 and 2.9.7 (GitHub advisory GHSA-77g3-3j5w-64w4). Severity: Medium (5.0, CVSS 3.1, from redhat).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:10 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 13:38 UTC
Affected
ansible from 2.7.0a1 before 2.7.17, ansible from 2.8.0a1 before 2.8.11 and ansible from 2.9.0a1 before 2.9.7
GitHub advisory GHSA-77g3-3j5w-64w4
Fixed in
2.7.17, 2.8.11 and 2.9.7
GitHub advisory GHSA-77g3-3j5w-64w4
Severity
Medium 5.0
CVSS 3.1 from redhat
Exploit odds (EPSS)
0.36% in 30 days
higher than 32% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2020-10685?

A flaw was found in Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when using modules which decrypts vault files such as assemble, script, unarchive, win_copy, aws_s3 or copy modules. The temporary directory is created in /tmp leaves the s ts unencrypted. On Operating Systems which /tmp is not a tmpfs but part of the root partition, the directory is only cleared on boot and the decryp emains when the host is switched off. The system will be vulnerable when the system is not running. So decrypted data must be cleared as soon as possible and the data which normally is encrypted ble.

From the CVE record by redhat, last updated August 4, 2024, 11:06 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Red HatAnsibleansible-engine versions 2.7.x before 2.7.17
ansible-engine 2.8.x before 2.8.11
ansible-engine 2.9.x before 2.9.7
Ansible Tower <= 3.4.5
Ansible Tower <= 3.5.5
Ansible Tower <= 3.6.3

As the CVE record by redhat states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
PyPIansible>= 2.7.0a1, < 2.7.172.7.17GHSA-77g3-3j5w-64w4
PyPIansible>= 2.8.0a1, < 2.8.112.8.11GHSA-77g3-3j5w-64w4
PyPIansible>= 2.9.0a1, < 2.9.72.9.7GHSA-77g3-3j5w-64w4

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 6, 2024. Summary: Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
redhatansible enginefrom 2.7.0 before 2.7.17application
redhatansible enginefrom 2.8.0 before 2.8.11application
redhatansible enginefrom 2.9.0 before 2.9.7application
redhatansible towerthrough 3.4.5application
redhatansible towerfrom 3.5.0 through 3.5.5application
redhatansible towerfrom 3.6.0 through 3.6.3application
redhatceph storage2.0application
redhatceph storage3.0application
redhatopenstack10application
redhatopenstack13application
redhatopenstack15application
redhatstorage3.0application
debiandebian linux10.0operating system

NVD analysis (status Modified), last modified June 17, 2026, 02:48 UTC.

How severe is CVE-2020-10685?

ScoreVersionVectorSource
Medium 5.0CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:Nredhat
Medium 5.5CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NNVD
Low 1.9CVSS 2.0AV:L/AC:M/Au:N/C:P/I:N/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2020-10685 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.36% probability of exploitation activity in the next 30 days, percentile 31.9 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
March 20, 2020
Published
May 11, 2020, 00:00 UTC
CVE record updated
August 4, 2024, 11:06 UTC by redhat
NVD
Modified, last modified June 17, 2026, 02:48 UTC
Last checked
CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:10 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Ansible?

Every CVE in Ansible

Questions about CVE-2020-10685

Is CVE-2020-10685 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.36% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Red Hat Ansible are affected by CVE-2020-10685?

ansible from 2.7.0a1 before 2.7.17, ansible from 2.8.0a1 before 2.8.11 and ansible from 2.9.0a1 before 2.9.7, per the GitHub advisory GHSA-77g3-3j5w-64w4. The tables above give every range the sources list.

Which version fixes CVE-2020-10685?

2.7.17, 2.8.11 and 2.9.7, per the GitHub advisory GHSA-77g3-3j5w-64w4. Check the vendor's advisory before you rely on it.

How severe is CVE-2020-10685?

Medium (5.0, CVSS 3.1, from redhat). The severity table above shows each score with its source.

Where is the official record of CVE-2020-10685?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.