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

- Severity: Medium 5.8 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-26T13:13:11.679Z
- Modified: 2026-11-30T14:17:30.767Z
- Weaknesses: CWE-377
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- open-policy-agent opa: before 1.20.0

## Every score

- VulnCheck: CVSS:4.0 5.8 Medium `CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/open-policy-agent/opa/pull/8853> (issue-tracking, patch)
- <https://github.com/open-policy-agent/opa/commit/4fa5d202a77ca7b69f1cb7fc8936d7efb7ae60ee> (patch)
- <https://github.com/open-policy-agent/opa/releases/tag/v1.20.0> (release-notes)
- <https://github.com/open-policy-agent/opa/blob/v1.19.1/v1/plugins/bundle/plugin.go#L457> (technical-description)
- <https://www.vulncheck.com/advisories/open-policy-agent-before-1.20.0-symlink-file-overwrite-via-predictable-oci-store-path> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-137570](https://www.cve.org/CVERecord?id=CVE-2026-137570), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-137570](https://nvd.nist.gov/vuln/detail/CVE-2026-137570), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-137570 · Whole record: https://cve.day/CVE-2026-137570.json · Rebuilt by cve.day 2026-11-30T14:32:17.189Z
