Ratify Azure authentication providers can leak authentication tokens to non-Azure container registries
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass, Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-287 and CWE-497.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ratify-project | ratify | before 1.2.3; 1.3.0 to before 1.3.2 | 1.2.3, 1.3.2 | Patch available | CNA |
| — | github.com/ratify-project/ratify (Go) | before 1.2.3 | 1.2.3 | Patch available | GHSA-44f7-5fj5-h4px |
| — | github.com/ratify-project/ratify (Go) | 1.3.0 to before 1.3.2 | 1.3.2 | Patch available | GHSA-44f7-5fj5-h4px |
| — | github.com/deislabs/ratify (Go) | before 1.2.3 | 1.2.3 | Patch available | GHSA-44f7-5fj5-h4px |
- ratify Vendorratify-project Affected before 1.2.3; 1.3.0 to before 1.3.2 Fixed in 1.2.3, 1.3.2 Patch available CNA
- github.com/ratify-project/ratify (Go) Vendor— Affected before 1.2.3 Fixed in 1.2.3 Patch available GHSA-44f7-5fj5-h4px
- github.com/ratify-project/ratify (Go) Vendor— Affected 1.3.0 to before 1.3.2 Fixed in 1.3.2 Patch available GHSA-44f7-5fj5-h4px
- github.com/deislabs/ratify (Go) Vendor— Affected before 1.2.3 Fixed in 1.2.3 Patch available GHSA-44f7-5fj5-h4px
Remediation
- Fix · CNA ratify (ratify-project) Fixed in 1.2.3, 1.3.2
- Fix · GHSA-44f7-5fj5-h4px github.com/ratify-project/ratify (Go) Fixed in 1.2.3 Advisory →
- Fix · GHSA-44f7-5fj5-h4px github.com/ratify-project/ratify (Go) Fixed in 1.3.2 Advisory →
- Fix · GHSA-44f7-5fj5-h4px github.com/deislabs/ratify (Go) Fixed in 1.2.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-27403
- 2026-10-03 Alias added: GHSA-44f7-5fj5-h4px
References
Other 5
- https://github.com/ratify-project/ratify/security/advisories/GHSA-44f7-5fj5-h4px
- https://github.com/ratify-project/ratify/commit/0ec0c08490e3d672ae64b1a220c90d5484f1c93f
- https://github.com/ratify-project/ratify/commit/84c7c48fa76bb9a1c9583635d1e90bc25b1a546c
- https://github.com/ratify-project/ratify
- https://pkg.go.dev/vuln/GO-2025-3511
Sources
- CVE-2025-27403 · CVE Program
- CVE-2025-27403 · NVD
- FIRST EPSS
- GHSA-44f7-5fj5-h4px · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences