Insecure Temporary File Vulnerability in Open Policy Agent by Open Policy Agent
CVE-2026-137570
5.8MEDIUM
What is CVE-2026-137570?
Open Policy Agent versions prior to 1.20.0 are susceptible to an insecure temporary file vulnerability that allows local users to manipulate files by exploiting a predictable OCI store path when the persistence_directory is not set. Attackers can create the opa/oci temporary directory with symbolic links pointing to index.json or oci-layout files. Consequently, when OPA operates with elevated permissions, it may inadvertently overwrite the targeted files, posing a significant security risk.
Affected Version(s)
opa 0 < 1.20.0
