Skip to content

[Snyk] Security upgrade python-dotenv from 0.21.0 to 1.2.2#62

Open
karencapiiro wants to merge 1 commit into
mainfrom
snyk-fix-e131269936dafbcbf6b11b135164eeda
Open

[Snyk] Security upgrade python-dotenv from 0.21.0 to 1.2.2#62
karencapiiro wants to merge 1 commit into
mainfrom
snyk-fix-e131269936dafbcbf6b11b135164eeda

Conversation

@karencapiiro

Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • discord-bot/requirements.txt

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-PYTHONDOTENV-16115271
@karencapiiro

Copy link
Copy Markdown
Author

Merge Risk: Medium

This major version upgrade for python-dotenv introduces environment and behavioral changes that require verification.

Key Changes:

  • Python Version Support: Support for Python 3.7 was dropped in version 1.0.0, and support for Python 3.9 was dropped in version 1.2.2. [1, 2]
  • Behavioral Breaking Changes: The functions dotenv.set_key and dotenv.unset_key have changed their default behavior:
    • They no longer follow symbolic links by default. To restore the previous behavior, you must now use the follow_symlinks=True argument. [1, 2, 3]
    • The file permissions of the .env file are now preserved when modified, whereas they were previously reset in some cases. [1, 2, 3]

Recommendation:
Verify that your environment is running a supported version of Python (3.8+ was supported in 1.0.0, but 3.10+ is required for 1.2.2). If you use set_key or unset_key in your code, review its usage for compatibility with the new default behaviors. The core load_dotenv() function for reading variables is not affected by breaking API changes.

Source: GitHub Changelog [1]

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedpypi/​python-dotenv@​1.2.299100100100100

View full report

@karencapiiro

Copy link
Copy Markdown
Author

Logo
Checkmarx One – Scan Summary & Detailscf7b8a32-3545-4e1d-b7d5-558af156a4d2


New Issues (19) Checkmarx found the following issues in this Pull Request
# Severity Issue Source File / Package Checkmarx Insight
1 HIGH CVE-2025-14874 Npm-nodemailer-6.8.0
detailsRecommended version: 7.0.11
Description: A flaw was found in Nodemailer versions through 7.0.10. This vulnerability allows a Denial-of-Service (DoS) via a crafted email address header that...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: O3%2BIMPZ0Yx5H5fxblAki58qOnG4bO05oEU9LWVptOPQ%3D
Vulnerable Package
2 HIGH CVE-2025-59471 Npm-next-13.0.6
detailsRecommended version: 15.5.10
Description: A Denial-of-Service (DoS) vulnerability exists in self-hosted Next.js applications that have `remotePatterns` configured for the Image Optimizer. T...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: Vc0%2FRvEN8735wW053JWsWfo20TlHiE88ulLZ5FXQ0ls%3D
Vulnerable Package
3 HIGH CVE-2025-66418 Python-urllib3-1.26.20
detailsRecommended version: 2.6.0
Description: urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.24 and prior to 2.6.0, the number of links in the decompression ch...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: %2Ftg6nSENA7Gd2Lq96g%2BhuVvYWnxSurB3VIkPnV1tbQ0%3D
Vulnerable Package
4 HIGH CVE-2026-21441 Python-urllib3-1.26.20
detailsRecommended version: 2.6.3
Description: urllib3 is an HTTP client library for Python. urllib3's streaming API is designed for the efficient handling of large HTTP responses by reading the...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: gBwcnlcmSRhh843yt0ogeXlAhAPgAGDVAsi1UioLM%2BE%3D
Vulnerable Package
5 HIGH CVE-2026-25639 Npm-axios-1.2.1
detailsRecommended version: 1.13.5
Description: Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.13.5, the mergeConfig function in axios crashes with a TypeError when ...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: Q5ENfIkRl2ndnyU6YMyPwi%2BKU6bkMwd4GGcfADaQuBw%3D
Vulnerable Package
6 HIGH CVE-2026-26996 Npm-minimatch-3.1.2
detailsRecommended version: 3.1.3
Description: minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Versions prior to 3.1.3, 4.0.0 prior to 4.2...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: rPsZwWW90pSbTKatIbRjxfBkJ9yZUxG0c2i20Cgk3Uk%3D
Vulnerable Package
7 HIGH CVE-2026-27903 Npm-minimatch-3.1.2
detailsRecommended version: 3.1.3
Description: minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. All versions starting from 3.0.0 and prior ...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: PeqjT89L8xGsqF6wj%2BWv%2FB7X2jRBmAdoXxXE1fWY50o%3D
Vulnerable Package
8 HIGH CVE-2026-27904 Npm-minimatch-3.1.2
detailsRecommended version: 3.1.4
Description: minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. All versions starting from 3.0.0 and prior ...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: gTJYiPHTHnWWjymSzCXC1%2B5NZvgnTUhcKY0hO6Ua2P8%3D
Vulnerable Package
9 HIGH CVE-2026-32141 Npm-flatted-3.2.7
detailsRecommended version: 3.4.0
Description: flatted is a circular JSON parser. Prior to 3.4.0, flatted's "parse()" function uses a recursive "revive()" phase to resolve circular references in...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: FDnjZe4ggIcMwHwhbnKBt1CyvKPzvgj54EuVoiNsaPs%3D
Vulnerable Package
10 HIGH CVE-2026-33228 Npm-flatted-3.2.7
detailsRecommended version: 3.4.2
Description: The "parse()" function in flatted can use attacker-controlled string values from the parsed JSON as direct array index keys, without validating t...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: 0YK74%2BRVKbA8Epzqxqomwjq%2FTj2iBYO97uXm2t78wh0%3D
Vulnerable Package
11 HIGH CVE-2026-33671 Npm-picomatch-2.3.1
detailsRecommended version: 2.3.2
Description: `picomatch` is vulnerable prior to 2.3.2, 3.x prior to 3.0.2 and 4.x prior to 4.0.4, to Regular Expression Denial of Service (ReDoS) when processi...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: Ag%2FLAKLjHI0e7gbGvIG7VHvYpRa8p%2BhbK9i36TKpG%2Fs%3D
Vulnerable Package
12 HIGH Cxee52a55a-f23b Npm-next-13.0.6
detailsRecommended version: 15.0.8
Description: A vulnerability affects certain React Server Components packages for versions 19.0.x, 19.1.x, and 19.2.x and frameworks that use the affected packa...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: Xv%2BFRpiVDeCkozyDeLN5lA8sZUSYwzDmXi%2Bk8ANtSiY%3D
Vulnerable Package
13 HIGH Passwords And Secrets - Generic Secret /docker-compose.yaml: 48
detailsQuery to find passwords and secrets in infrastructure code.
ID: XS6TYNn5u0g7jTiGz3BylPry9U8%3D
14 MEDIUM CVE-2025-62718 Npm-axios-1.2.1
detailsRecommended version: 1.15.0
Description: Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.0, Axios does not correctly handle hostname normalization when chec...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: PVEK9Z%2FrU2EDvqx%2FPtRlxgo%2BwILX5nbOqCepkeDgMSU%3D
Vulnerable Package
15 MEDIUM CVE-2026-25645 Python-requests-2.28.1
detailsRecommended version: 2.33.0
Description: Requests is a HTTP library. Prior to version 2.33.0, the `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when ...
Attack Vector: LOCAL
Attack Complexity: LOW

ID: 0bHqoR61LvnnDCXwBBVcL57pE%2FayetnX8Yc9XOaFzhY%3D
Vulnerable Package
16 MEDIUM CVE-2026-27980 Npm-next-13.0.6
detailsRecommended version: 15.5.14
Description: Next.js is a React framework for building full-stack web applications. Starting in version 10.0.0 prior to 15.5.14 and 16.x prior to 16.1.7, the de...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: X96roYysf9zcTc3woo0aqMjBdM%2FlsXyb79mBHR2VFiE%3D
Vulnerable Package
17 MEDIUM CVE-2026-33532 Npm-yaml-1.10.2
detailsRecommended version: 1.10.3
Description: yaml is a YAML parser and serialiser for JavaScript. Parsing a YAML document with a version of yaml on the 1.x branch prior to 1.10.3 or on the 2.x...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: LvzDpS4j645WijQ41kZqniukZUz9sgFQoFMJrBrWJPI%3D
Vulnerable Package
18 MEDIUM CVE-2026-40175 Npm-axios-1.2.1
detailsRecommended version: 1.15.0
Description: Axios is a promise-based HTTP client for the browser and Node.js. Prior to 0.31.0 and 1.x prior to 1.15.0, the Axios library is vulnerable to a spe...
Attack Vector: NETWORK
Attack Complexity: HIGH

ID: lOv2%2BTPTy%2FIpQlnt1Bz5pYLgn4faMGObFG6baerPcmk%3D
Vulnerable Package
19 LOW CVE-2025-69873 Npm-ajv-6.12.6
detailsRecommended version: 6.14.0
Description: ajv (Another JSON Schema Validator) through version 8.17.1 is vulnerable to Regular Expression Denial of Service (ReDoS) when the "$data" option is...
Attack Vector: LOCAL
Attack Complexity: HIGH

ID: BZ84uNBf7Md23D5BaxJPIZjxcxGVN5z5wVyc81iuwzk%3D
Vulnerable Package

Communicate with Checkmarx by submitting a PR comment with @Checkmarx followed by one of the supported commands. Learn about the supported commands here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants