{"id":"CVE-2026-137570","summary":"Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path","details":"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.","modified":"2026-11-27T21:00:32.293969809Z","published":"2026-11-26T13:13:11.679Z","database_specific":{"cwe_ids":["CWE-377"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137570.json","cna_assigner":"VulnCheck"},"references":[{"type":"WEB","url":"https://pkg.go.dev"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137570.json"},{"type":"ADVISORY","url":"https://github.com/open-policy-agent/opa/releases/tag/v1.20.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137570"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/open-policy-agent-before-1.20.0-symlink-file-overwrite-via-predictable-oci-store-path"},{"type":"FIX","url":"https://github.com/open-policy-agent/opa/commit/4fa5d202a77ca7b69f1cb7fc8936d7efb7ae60ee"},{"type":"FIX","url":"https://github.com/open-policy-agent/opa/pull/8853"},{"type":"PACKAGE","url":"https://github.com/open-policy-agent/opa"},{"type":"ARTICLE","url":"https://github.com/open-policy-agent/opa/blob/v1.19.1/v1/plugins/bundle/plugin.go#L457"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open-policy-agent/opa","events":[{"introduced":"0"},{"fixed":"328ca09af0305c765952364a71860e2ab27eec87"},{"fixed":"4fa5d202a77ca7b69f1cb7fc8936d7efb7ae60ee"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"1.20.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"4fa5d202a77ca7b69f1cb7fc8936d7efb7ae60ee"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"v1.20.0","range":[{"fixed":"328ca09af0305c765952364a71860e2ab27eec87"}]}]}}],"versions":["v1.19.0","v1.18.0","v1.17.0","dev","v1.16.0","v1.15.0","v1.14.0","v1.13.0","v1.12.0","v1.11.0","v1.10.0","v1.9.0","v1.8.0","v1.7.0","v1.6.0","v1.5.0","v1.4.0","v1.3.0","v1.2.0","v1.1.0","v1.0.0","v0.70.0","v0.69.0","v0.68.0","v0.67.0","v0.66.0","v0.65.0","v0.64.0","v0.63.0","v0.62.1","v0.62.0","v0.61.0","v0.60.0","v0.59.0","v0.58.0","v0.57.0","v0.56.0","v0.55.0","v0.54.0","v0.53.0","v0.52.0","v0.51.0","v0.50.0","v0.49.0","v0.48.0","v0.47.0","v0.46.1","v0.46.0","v0.45.0","v0.44.0","v0.43.0","v0.42.0","v0.41.0","v0.40.0","v0.39.0","v0.38.0","v0.37.0","v0.36.0","v0.35.0","v0.34.0","v0.33.0","v0.32.0","v0.31.0","v0.30.1","v0.30.0","v0.30.0-rc0","v0.29.4","v0.29.3","v0.29.2","v0.29.1","v0.29.0","v0.28.0","v0.27.1","v0.27.0","v0.26.0","v0.25.2","v0.25.1","v0.25.0","v0.25.0-rc4","v0.25.0-rc3","v0.25.0-rc1","v0.24.0","v0.23.0","v0.22.0","v0.21.0","v0.20.2","v0.20.1","v0.20.0","v0.19.1","v0.19.0","v0.19.0-rc1","v0.18.0","v0.17.2","v0.17.1","v0.17.0","v0.16.0","v0.15.1","v0.15.0","v0.14.0","v0.13.0","v0.12.0","v0.11.0","v0.10.7","v0.10.6","v0.10.5","v0.10.4","v0.10.3","v0.10.2","v0.10.1","v0.10.0","v0.9.3-rc3","v0.9.3-rc2","v0.9.3-rc1","v0.9.2","v0.9.1","v0.9.0","v0.8.2","v0.8.1","v0.8.0","v0.7.1","v0.7.0","v0.6.0","v0.5.13","v0.5.12","v0.5.11","v0.5.10","v0.5.9","v0.5.8","v0.5.7","v0.5.6","v0.5.5","v0.5.4","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.10","v0.4.9","v0.4.8","v0.4.7","v0.4.6","v0.4.5","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.1","v0.3.0","v0.2.2","v0.2.1","v0.2.0","v0.1.0","v0.1.0-rc3","v0.1.0-rc2","v0.1.0-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137570.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"}]}