CVE-2026-137570
Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path
5.8
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 / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| opa | open-policy-agent | 0 → <1.20.0 | 1.20.0 | CVE.org |