Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| open-policy-agentopa |
< 1.20.0→ 1.20.0 |
1.20.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-137570 golang-github-open-policy-agent-opa No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-137570 golang-github-open-policy-agent-opa No fixed version in this record
Original description The description as published by 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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web pkg.go.dev
- web github.com