CVE-2026-137570

Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path

Medium published · updated

5.8
CVSS score out of 10 · NVD (vulncheck.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
opa open-policy-agent 0 → <1.20.01.20.0 CVE.org

References