{"id":"CVE-2026-137570","aliases":[],"title":"Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path","originalDescription":"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.","severity":{"cvss":5.8,"vector":"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","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00199,"percentile":0.05577},"exploitDb":null},"affected":[{"ecosystem":"unknown","name":"opa","range":">=0, <1.20.0","fixed":"1.20.0"}],"references":[{"url":"https://github.com/open-policy-agent/opa/pull/8853","type":"issue-tracking"},{"url":"https://github.com/open-policy-agent/opa/commit/4fa5d202a77ca7b69f1cb7fc8936d7efb7ae60ee","type":"patch"},{"url":"https://github.com/open-policy-agent/opa/releases/tag/v1.20.0","type":"release-notes"},{"url":"https://github.com/open-policy-agent/opa/blob/v1.19.1/v1/plugins/bundle/plugin.go#L457","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/open-policy-agent-before-1.20.0-symlink-file-overwrite-via-predictable-oci-store-path","type":"third-party-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","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137570","type":"advisory"},{"url":"https://pkg.go.dev","type":"web"}],"sources":[{"name":"nvd","at":"2026-11-26T14:35:40.427Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137570","license":"NVD terms of use","firstSeenAt":"2026-11-26T14:35:40.427Z"},{"name":"osv","at":"2026-11-26T15:42:12.270Z","url":"https://osv.dev/vulnerability/CVE-2026-137570","license":"CC-BY 4.0","firstSeenAt":"2026-11-26T15:09:09.216Z"},{"name":"cvelistV5","at":"2026-11-28T19:55:34.389Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-137570","license":"CVE Terms of Use","firstSeenAt":"2026-11-26T13:27:10.506Z"}],"firstSeenAt":"2026-11-26T13:27:10.506Z","publishedAt":"2026-11-26T13:13:11.679Z","modifiedAt":"2026-11-26T15:00:18.185Z"}