CVE-2025-5279 Issue with Amazon Redshift Python Connector and the BrowserAzureOAuth2CredentialsProvider plugin
An attacker can intercept access tokens by exploiting skipped SSL validation in the BrowserAzureOAuth2CredentialsProvider plugin of the Amazon Redshift Python connector.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-5279?
CVE-2025-5279 is a high-severity vulnerability in Amazon Redshift, published on 27 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
When the Amazon Redshift Python Connector is configured with the BrowserAzureOAuth2CredentialsProvider plugin, the driver skips the SSL certificate validation step for the Identity Provider. An insecure connection could allow an actor to intercept the token exchange process and retrieve an access token.
This issue has been addressed in driver version 2.1.7. Users should upgrade to address this issue and ensure any forked or derivative code is patched to incorporate the new fixes.
Weakness: CWE-295
Which versions are affected by CVE-2025-5279?
3 open source packages ship an affected version, including redshift-connector.
| Package | Affected | Fixed in |
|---|---|---|
redshift-connector PyPI | From 2.0.872 | 2.1.7 |
redshift-connector PyPI | From 2.0.872 | 2.1.7 |
redshift-connector PyPI | From 2.0.872 | 2.1.7 |
How do I fix CVE-2025-5279?
Upgrade redshift-connector to 2.1.7 or later.
Is CVE-2025-5279 being exploited?
There is no known exploitation of CVE-2025-5279 in the wild and no public exploit code.
Sources
Also known as CLEANSTART-2026-GH44642, ECHO-5e25-20a4-1de0, GHSA-r244-wg5g-6w2r, MINI-3mx4-3795-g79r, PYSEC-2026-1867, ROOT-APP-PYPI-CVE-2025-5279.