CVE-2026-137570 PUBLISHED

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

Assigner: VulnCheck
Reserved: 26.11.2026 Published: 26.11.2026 Updated: 26.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 5.8

Product Status

Vendor open-policy-agent
Product opa
Versions Default: unaffected
  • affected from 0 to 1.20.0 (excl.)

Credits

  • Yeonghyeon Choi finder
  • Duyeong Kim finder

References

Problem Types

  • Insecure Temporary File CWE