CVE-2026-137570
Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path
Medium · 5.8Fix available
- CVSS
- 5.8
- EPSS
- 0.20% (p6)
- Published
- 2026-11-26
- Age
- 2d old
- Modified
- 2026-11-26
- Product
- open-policy-agent opa
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
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.
Fixed in
1.20.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| unknown | opa | >=0, <1.20.0 | 1.20.0 |
Sources
- NVD · first seen 2d ago · NVD terms of use
- OSV · first seen 2d ago · CC-BY 4.0
- CVE List · first seen 2d ago · CVE Terms of Use
References
- https://github.com/open-policy-agent/opa/pull/8853 issue-tracking
- 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
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137570.json advisory
- https://github.com/open-policy-agent/opa package
- https://nvd.nist.gov/vuln/detail/CVE-2026-137570 advisory
- https://pkg.go.dev web