Open Policy Agent before 1.20.0 contains an insecure temporary file vulnerability that allows local users to overwrite files by abusing the fixed OCI store path used when persistence_directory is unset. Attackers can pre-create the opa/oci temp directory with index.json or oci-layout symlinks so OPA overwrites the target files with OCI JSON using its privileges.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-377"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137570.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.20.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "4fa5d202a77ca7b69f1cb7fc8936d7efb7ae60ee"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v1.20.0",
"range": [
{
"fixed": "328ca09af0305c765952364a71860e2ab27eec87"
}
],
"source": "REFERENCES_TAG"
}
]
}