# CVE-2025-27403: Ratify Azure authentication providers can leak authentication tokens to non-Azure container registries

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.2
- **CVSS:** 7.2 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: Passive; Confidentiality impact: High; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.96% (percentile 60, 2026-11-26)
- **CWE:** CWE-287
- **Aliases:** GHSA-44f7-5fj5-h4px, GO-2025-3511
- **Published:** 2025-03-11T14:16:10.013Z
- **Modified:** 2026-06-17T09:03:31.337Z

## Who should check

- Projects that depend on Go package github.com/ratify-project/ratify (\< 1.2.3)
- Projects that depend on Go package github.com/deislabs/ratify (\< 1.2.3)
- Anyone running ratify-project ratify \< 1.2.3; \>= 1.3.0, \< 1.3.2

## Description

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.

## Affected and fixed versions

- Go `github.com/ratify-project/ratify`: affected \< 1.2.3; fixed 1.2.3, 1.3.2 (osv)
- Go `github.com/deislabs/ratify`: affected \< 1.2.3; fixed 1.2.3 (osv)
- ratify-project ratify: \< 1.2.3; \>= 1.3.0, \< 1.3.2 (cvelist)

## Mitigation

- Upgrade github.com/ratify-project/ratify to one of 1.2.3, 1.3.2 (or later in the same release line).
- Upgrade github.com/deislabs/ratify to 1.2.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-27403. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-27403.md
Affected: github.com/ratify-project/ratify < 1.2.3; github.com/deislabs/ratify < 1.2.3
Fixed in: 1.2.3, 1.3.2

Steps:
1. Search this machine and project for github.com/ratify-project/ratify (Go), github.com/deislabs/ratify (Go), ratify-project ratify: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-27403 being exploited?

There is no confirmed exploitation: CVE-2025-27403 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.96% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-27403?

High: CVSS 7.2 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-27403?

github.com/ratify-project/ratify \< 1.2.3; github.com/deislabs/ratify \< 1.2.3.

### Is there a fix for CVE-2025-27403?

Yes. Fixed in 1.2.3, 1.3.2. Upgrade github.com/ratify-project/ratify to one of 1.2.3, 1.3.2 (or later in the same release line). Upgrade github.com/deislabs/ratify to 1.2.3 or later.

### How do I check if I'm affected by CVE-2025-27403?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/ratify-project/ratify/security/advisories/GHSA-44f7-5fj5-h4px>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-27403>
- patch: <https://github.com/ratify-project/ratify/commit/0ec0c08490e3d672ae64b1a220c90d5484f1c93f>
- patch: <https://github.com/ratify-project/ratify/commit/84c7c48fa76bb9a1c9583635d1e90bc25b1a546c>
- other: <https://github.com/ratify-project/ratify>
- other: <https://pkg.go.dev/vuln/GO-2025-3511>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-27403>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-44f7-5fj5-h4px> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-3511> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-27403> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-27403>
