CVE-2026-137570

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.

CVSS base score
6.3 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-377
Last modified
December 4, 2026
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

References

View full NVD advisory →

Published the same day

← Back to CVE watch