CVE-2026-137570 Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path
MediumCVSS 5.8
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Red Hat
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.
Upgrade path
5 packages: 1 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/cosign(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| redhat/spire1.14(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| redhat/spire1.15(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| redhat/trivy(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| open-policy-agent github.com/open-policy-agent/opa(Go) | < 1.20.0 | 1.20.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| open-policy-agent github.com/open-policy-agent/opa(Go) | < 1.20.0 | 1.20.0 |
| redhat/cosign(Red Hat:hummingbird:1) | All versions | No fix listed |
| redhat/spire1.14(Red Hat:hummingbird:1) | All versions | No fix listed |
| redhat/spire1.15(Red Hat:hummingbird:1) | All versions | No fix listed |
| redhat/trivy(Red Hat:hummingbird:1) | All versions | No fix listed |
References
- github.com issue-tracking patch
- github.com patch
- opa v1.20.0 Release Notes release-notes
- github.com technical-description
- VulnCheck Advisory: Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path third-party-advisory
- ENISA EUVD EUVD-2026-136361 third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2584969 issue-tracking
- www.cve.org
- nvd.nist.gov