CVE-2026-137570
CVE-2026-137570 · Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path
CVSS 5.8 · Medium · EPSS 0.2% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- opaUpdate to 1.20.0
- golang-github-open-policy-agent-opa Debian 14No fix published
- golang-github-open-policy-agent-opa Ubuntu 26.10No fix published
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-github-open-policy-agent-opa"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2026:103801 · Red Hat hummingbird 1 ·
- RHSA-2026:102263 · Red Hat hummingbird 1 ·
Stack: system
Affected products and versions
opa
- Versions
- ≥ 0, < 1.20.0: Affected (semver)
Update to 1.20.0
golang-github-open-policy-agent-opa Debian 14
- Versions
- 1.4.2+ds1-1
- 1.4.2+ds1-2
- 1.4.2+ds1-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-open-policy-agent-opa Ubuntu 26.10
- Versions
- 1.4.2+ds1-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/open-policy-agent/opa/pull/8853
- https://github.com/open-policy-agent/opa/commit/4fa5d202a77ca7b69f1cb7fc8936d7efb7ae60ee
- https://github.com/open-policy-agent/opa/releases/tag/v1.20.0
- https://github.com/open-policy-agent/opa/blob/v1.19.1/v1/plugins/bundle/plugin.go#L457
- https://www.vulncheck.com/advisories/open-policy-agent-before-1.20.0-symlink-file-overwrite-via-predictable-oci-store-path
- https://nvd.nist.gov/vuln/detail/CVE-2026-137570