Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/open-policy-agent/opa/blob/v1.19.1/v1/plugins/bundle/plugin.g
- https://github.com/open-policy-agent/opa/commit/4fa5d202a77ca7b69f1cb7fc8936d7ef
- https://github.com/open-policy-agent/opa/pull/8853
- https://github.com/open-policy-agent/opa/releases/tag/v1.20.0
- https://www.vulncheck.com/advisories/open-policy-agent-before-1.20.0-symlink-fil
FAQ
What is CVE-2026-137570?
CVE-2026-137570 is a vulnerability with a CVSS score of 6.3 (MEDIUM). 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 unse...
How severe is CVE-2026-137570?
CVE-2026-137570 has been rated MEDIUM with a CVSS base score of 6.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-137570?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.