# CVE-2025-5279: Issue with Amazon Redshift Python Connector and the BrowserAzureOAuth2CredentialsProvider plugin

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

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.52% (percentile 38, 2026-11-29)
- **CWE:** CWE-295
- **Aliases:** GHSA-r244-wg5g-6w2r, PYSEC-2026-1867
- **Published:** 2025-05-27T20:17:21.228Z
- **Modified:** 2026-09-10T03:50:24.760Z

## Who should check

- Projects that depend on PyPI package redshift-connector (\>= 2.0.872, \< 2.1.7)
- Anyone running Amazon Redshift \>= 2.0.872, \< 2.1.7

## 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.

## Affected and fixed versions

- PyPI `redshift-connector`: affected \>= 2.0.872, \< 2.1.7; fixed 2.1.7 (osv)
- Amazon Redshift: \>= 2.0.872, \< 2.1.7 (cvelist)

## Mitigation

- Upgrade redshift-connector to 2.1.7 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-5279. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-5279.md
Affected: redshift-connector >= 2.0.872, < 2.1.7
Fixed in: 2.1.7

Steps:
1. Search this machine and project for redshift-connector (PyPI), Amazon Redshift: 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-5279 being exploited?

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

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

High: CVSS 7.0 (v4.0, scored by CNA). Remote, no login needed.

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

redshift-connector \>= 2.0.872, \< 2.1.7.

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

Yes. Fixed in 2.1.7. Upgrade redshift-connector to 2.1.7 or later.

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

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://aws.amazon.com/security/security-bulletins/AWS-2025-011/>
- vendor: <https://github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-r244-wg5g-6w2r>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-5279>
- vendor: <https://github.com/advisories/GHSA-r244-wg5g-6w2r>
- patch: <https://github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.7>
- other: <https://aws.amazon.com/security/security-bulletins>
- other: <https://aws.amazon.com/security/security-bulletins/AWS-2025-011>
- other: <https://github.com/aws/amazon-redshift-python-driver>
- other: <https://pypi.org/project/redshift-connector>

## 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-5279>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-r244-wg5g-6w2r> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1867> (license: <https://creativecommons.org/licenses/by/4.0/>)

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