{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-137570","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-11-26T12:50:14.311Z","datePublished":"2026-11-26T13:13:11.679Z","dateUpdated":"2026-11-26T13:13:11.679Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-11-26T13:13:11.679Z"},"datePublic":"2026-07-03T00:00:00.000Z","title":"Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Insecure Temporary File","cweId":"CWE-377","type":"CWE"}]}],"affected":[{"vendor":"open-policy-agent","product":"opa","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.20.0","versionType":"semver","status":"affected"}],"packageURL":"pkg:golang/github.com/open-policy-agent/opa","collectionURL":"https://pkg.go.dev","repo":"https://github.com/open-policy-agent/opa"}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:openpolicyagent:open_policy_agent:*:*:*:*:*:*:*:*","versionEndExcluding":"1.20.0"}]}]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.8,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":6.3,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://github.com/open-policy-agent/opa/pull/8853","tags":["issue-tracking","patch"]},{"url":"https://github.com/open-policy-agent/opa/commit/4fa5d202a77ca7b69f1cb7fc8936d7efb7ae60ee","tags":["patch"]},{"url":"https://github.com/open-policy-agent/opa/releases/tag/v1.20.0","tags":["release-notes"],"name":"opa v1.20.0 Release Notes"},{"url":"https://github.com/open-policy-agent/opa/blob/v1.19.1/v1/plugins/bundle/plugin.go#L457","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/open-policy-agent-before-1.20.0-symlink-file-overwrite-via-predictable-oci-store-path","name":"VulnCheck Advisory: Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"Yeonghyeon Choi","type":"finder"},{"lang":"en","value":"Duyeong Kim","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}