CVE-2026-137570
mediumOpen 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 pat…
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.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/open-policy-agent/opa/blob/v1.19.1/v1/plugins/bundle/plugin.go#L457 disclosure@vulncheck.com
- https://github.com/open-policy-agent/opa/commit/4fa5d202a77ca7b69f1cb7fc8936d7efb7ae60ee disclosure@vulncheck.com
- https://github.com/open-policy-agent/opa/pull/8853 disclosure@vulncheck.com
- https://github.com/open-policy-agent/opa/releases/tag/v1.20.0 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/open-policy-agent-before-1.20.0-symlink-file-overwrit... disclosure@vulncheck.com

