REDHAT-BUG-2584969: Medium severity Open Policy Agent Open Policy Agent vulnerability

Published Nov 26, 2026
·
Updated

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 persistencedirectory 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 Software

1 affected component
Open Policy Agent Open Policy Agent<1.20.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.20.0

Event History

Nov 26, 2026
Data Sourced
via Red Hat·01:22 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Systems running Open Policy Agent before 1.20.0 are exposed when OPA uses OCI persistence and persistence_directory is unset. A local user who can prepare the fixed opa/oci temporary path is the relevant attacker.

2

What does an attacker need to exploit it?

The attacker needs local access and the ability to pre-create the opa/oci temporary directory with index.json or oci-layout symlinks. OPA can then overwrite the symlink targets with OCI JSON using OPA's privileges.

3

How can I reduce risk if I cannot update immediately?

Configure persistence_directory rather than leaving it unset, avoiding the fixed OCI store path described in the issue. Also prevent untrusted local users from creating or modifying the opa/oci temporary directory and its contents.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203