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
| Product | Versions | Fixed in |
|---|---|---|
| open-policy-agent opa | < 1.20.0 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/open-policy-agent/opa/pull/8853 — CVE Program
- https://github.com/open-policy-agent/opa/commit/4fa5d202a77ca7b69f1cb7fc8936d7efb7ae60ee — CVE Program
- https://github.com/open-policy-agent/opa/releases/tag/v1.20.0 — CVE Program
- https://github.com/open-policy-agent/opa/blob/v1.19.1/v1/plugins/bundle/plugin.go#L457 — CVE Program
- https://www.vulncheck.com/advisories/open-policy-agent-before-1.20.0-symlink-file-overwrite-via-predictable-oci-store-path — CVE Program
Weaknesses (CWE): CWE-377
Relevant change history
Published
Preliminary advisory published.