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

State
Published
Severity
5.8 Medium
Published
Nov 26, 2026
Updated
Nov 30, 2026
Reserved
Nov 26, 2026

Read the record on cve.org

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.

ProductVersions
opa open-policy-agentbefore 1.20.0 Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.