CVE-2026-137570
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Azure Linux Affected 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 3.0 | — | Affected | — |
Debian Affected 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| sid | golang-github-open-policy-agent-opa |
Affected | — |
| forky | golang-github-open-policy-agent-opa |
Affected | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| open-policy-agent | opa | {"endExcluding":"1.20.0"} | 1.20.0 |
References
- https://github.com/open-policy-agent/opa/blob/v1.19.1/v1/plugins/bundle/plugin.go#L457
- https://github.com/open-policy-agent/opa/commit/4fa5d202a77ca7b69f1cb7fc8936d7efb7ae60ee
- https://github.com/open-policy-agent/opa/pull/8853
- https://github.com/open-policy-agent/opa/releases/tag/v1.20.0
- https://www.vulncheck.com/advisories/open-policy-agent-before-1.20.0-symlink-file-overwrite-via-predictable-oci-store-path
- https://security-tracker.debian.org/tracker/CVE-2026-137570
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-137570
CWEs
CWE-377
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.