Skip to content
DayZeroHub
Medium Not yet writtenCVSS 5.8CVE-2026-137570

CVE-2026-137570: Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path

open-policy-agent opa

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-137570: medium-severity vulnerability (CVSS 5.8) in open-policy-agent opa.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 5.8.

Affected products and versions

open-policy-agent opa < 1.20.0

ProductVersionsFixed in
open-policy-agent opa< 1.20.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-377

Relevant change history

  1. Published

    Preliminary advisory published.