Live threats

All CVEs / ratify-project

CVE-2025-27403ratify-project ratify

High 7.2 No auth needed

Priority
58
CVSS 4.0
7.2
EPSS
—
Auth required
No
Published
Mar 11, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Ratify is a verification engine as a binary executable and on Kubernetes which enables verification of artifact security metadata and admits for deployment only those that comply with policies the user creates. In a Kubernetes environment, Ratify can be configured to authenticate to a private Azure Container Registry (ACR). The Azure workload identity and Azure managed identity authentication providers are configured in this setup. Users that configure a private ACR to be used with the Azure authentication providers may be impacted by a vulnerability that exists in versions prior to 1.2.3 and 1.3.2. Both Azure authentication providers attempt to exchange an Entra ID (EID) token for an ACR refresh token. However, Ratify’s Azure authentication providers did not verify that the target registry is an ACR. This could have led to the EID token being presented to a non-ACR registry during token exchange. EID tokens with ACR access can potentially be extracted and abused if a user workload contains an image reference to a malicious registry. As of versions 1.2.3 and 1.3.2, the Azure workload identity and Azure managed identity authentication providers are updated to add new validation prior to EID token exchange. Validation relies upon registry domain validation against a pre-configured list of well-known ACR endpoints. EID token exchange will be executed only if at least one of the configured well-known domain suffixes (wildcard support included) matches the registry domain of the image reference.

Original NVD text.

What to do

  1. Apply the vendor's security update for ratify.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/deislabs/ratify < 1.2.3 1.2.3 go get github.com/deislabs/ratify@v1.2.3
Go github.com/deislabs/ratify < 1.2.3 1.2.3 go get github.com/deislabs/ratify@v1.2.3
Go github.com/ratify-project/ratify < 1.2.3 1.2.3 go get github.com/ratify-project/ratify@v1.2.3
Go github.com/ratify-project/ratify ≥ 1.3.0 < 1.3.2 1.3.2 go get github.com/ratify-project/ratify@v1.3.2
Go github.com/ratify-project/ratify ≥ 1.3.0 < 1.3.2 1.3.2 go get github.com/ratify-project/ratify@v1.3.2

Per OSV / GitHub Advisories (GHSA-44f7-5fj5-h4px, GO-2025-3511). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.