Skip to content

[Snyk] Security upgrade python-dotenv from 0.14.0 to 1.2.2#164

Open
asabushaban wants to merge 1 commit intomainfrom
snyk-fix-3b11555be1180d4e7abca331db44d79f
Open

[Snyk] Security upgrade python-dotenv from 0.14.0 to 1.2.2#164
asabushaban wants to merge 1 commit intomainfrom
snyk-fix-3b11555be1180d4e7abca331db44d79f

Conversation

@asabushaban
Copy link
Copy Markdown
Owner

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):

  • 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
@asabushaban
Copy link
Copy Markdown
Owner Author

Merge Risk: Medium

This major version upgrade of python-dotenv from 0.14.0 to 1.2.2 introduces breaking changes related to Python version support and file handling functions.

Key Changes:

  • Dropped Python 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. Your environment must be running a supported Python version.
  • Symlink Behavior Change: The functions dotenv.set_key and dotenv.unset_key no longer follow symbolic links by default. If your application relies on this behavior, you must now explicitly pass follow_symlinks=True.
  • File Permission Change: When modifying .env files with set_key or unset_key, the original file permissions are now preserved instead of being reset.

Recommendation:
Verify that your production environment is running a Python version compatible with this release (i.e., not 3.7 or 3.9). Review any usage of set_key or unset_key to ensure the new symlink and file permission handling does not affect your application.

Source: GitHub Changelog

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

@asabushaban
Copy link
Copy Markdown
Owner Author

asabushaban commented Apr 22, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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