Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-137570 EUVD-2026-136361GHSA-qvmg-x68q-6ccv

Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path

Published Nov 26, 2026 · Updated Nov 30, 2026 · 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.

Affected products

VendorProductAffectedFixed
open-policy-agent opa < 1.20.0 1.20.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-open-policy-agent-opa No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-open-policy-agent-opa No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 cosign 3.1.6-0.1.hum1 RHSA-2026:103801
Red Hat Hardened Images 1 trivy 0.76.2-0.2.hum1 RHSA-2026:102263

Advisories 2

References