Security advisory
A flaw was found in ansible-runner where the default temporary files configuration in ansible-2.0.0 are written to world R/W locations. This flaw allows an attacker to pre-create the directory, resulting in reading private information or forcing ansible-runner to write files as the legitimate user in a place they did not expect. The highest threat from this vulnerability is to confidentiality and integrity.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-3701
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:50 UTC · Revision 1
Source evidence
A flaw was found in ansible-runner where the default temporary files configuration in ansible-2.0.0 are written to world R/W locations. This flaw allows an attacker to pre-create the directory, resulting in reading private information or forcing ansible-runner to write files as the legitimate user in a place they did not expect. The highest threat from this vulnerability is to confidentiality and integrity.
osv:CVE-2021-3701
Complete source record
{
"id": "55c44a3f37e9b8309a6b883ce4f7f587dd9c1dc7ce3c8f0b8270560a93bf6b3a",
"url": "https://osv.dev/vulnerability/CVE-2021-3701",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-3701",
"summary": "A flaw was found in ansible-runner where the default temporary files configuration in ansible-2.0.0 are written to world R/W locations. This flaw allows an attacker to pre-create the directory, resulting in reading private information or forcing ansible-runner to write files as the legitimate user in a place they did not expect. The highest threat from this vulnerability is to confidentiality and integrity.",
"evidence": "osv:CVE-2021-3701",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-3701",
"aliases": [
"CVE-2021-3701",
"GHSA-wwch-cmqr-hhrm",
"PYSEC-2022-43067"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ansible/ansible-runner",
"type": "GIT",
"events": [
{
"introduced": "a869b638d6afaf99cd2a59627bbdea2ef72a3b3f"
},
{
"last_affected": "a869b638d6afaf99cd2a59627bbdea2ef72a3b3f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:redhat:ansible_runner:2.0.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0-NA"
},
{
"last_affected": "2.0.0-NA"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.0.0-NA",
"2.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3701.json"
}
}
],
"modified": "2026-10-20T10:54:49.471125113Z",
"provider": "osv",
"references": [
"https://access.redhat.com/security/cve/CVE-2021-3701",
"https://github.com/ansible/ansible-runner/issues/738",
"https://bugzilla.redhat.com/show_bug.cgi?id=1977959",
"https://github.com/ansible/ansible-runner/pull/742/commits"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-3701",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386215,
"published_at": "2022-08-23T16:15:09.5+00:00"
}