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

- Severity: High 7.0 (CVSS:4.0, scored by AMZN) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2025-05-27T20:17:21.228Z
- Modified: 2026-09-10T03:50:24.760Z
- Also known as: GHSA-r244-wg5g-6w2r, PYSEC-2026-1867
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: AMZN

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

(As written by CVE List.)

## Affected

- amazon-redshift-python-driver: from 2.0.872 before 2.1.7
- redshift-connector (PyPI): from 2.0.872 before 2.1.7

## Every score

- AMZN: CVSS:4.0 7.0 High `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`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `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`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://aws.amazon.com/security/security-bulletins/AWS-2025-011/> (vendor-advisory)
- <https://github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.7> (patch, web)
- <https://github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-r244-wg5g-6w2r> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-5279> (advisory)
- <https://aws.amazon.com/security/security-bulletins> (web)
- <https://aws.amazon.com/security/security-bulletins/AWS-2025-011> (web)
- <https://github.com/aws/amazon-redshift-python-driver> (package)
- <https://pypi.org/project/redshift-connector> (package)
- <https://github.com/advisories/GHSA-r244-wg5g-6w2r> (advisory)

## Sources

- CVE List: [CVE-2025-5279](https://www.cve.org/CVERecord?id=CVE-2025-5279), CVE Terms of Use, modified 2025-10-14
- GitHub Advisory Database: [GHSA-r244-wg5g-6w2r](https://github.com/advisories/GHSA-r244-wg5g-6w2r), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-5279](https://nvd.nist.gov/vuln/detail/CVE-2025-5279), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1867](https://osv.dev/vulnerability/PYSEC-2026-1867), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-5279 · Whole record: https://cve.day/CVE-2025-5279.json · Rebuilt by cve.day 2026-11-25T22:58:58.523Z
