Skip to content

🔒 chore: bump python-dotenv to 1.2.2 to patch Dependabot alert - #286

Merged
danny-avila merged 1 commit into
mainfrom
claude/bump-python-dotenv
Apr 23, 2026
Merged

danny-avila merged 1 commit into
mainfrom
claude/bump-python-dotenv

Conversation

@danny-avila

Copy link
Copy Markdown
Collaborator

Summary

Patches Dependabot alert #103: python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback. Affects versions <1.2.2; fixed in 1.2.2.

Bumps python-dotenv from 1.1.1 to 1.2.2 in both requirements.txt and requirements.lite.txt (alert was filed against the lite file, but the main file has the same pin).

Exposure note

python-dotenv.set_key() is not used by this project at runtime — we only call load_dotenv() / find_dotenv(), which are read-only. The vulnerable code path is only reachable if a consumer calls set_key against a user-controlled path. Bumping anyway to keep the supply chain clean and close the alert.

Test plan

  • CI (build-and-test) should pass.

Patches the symlink-following vulnerability in set_key() that allows
arbitrary file overwrite via cross-device rename fallback
(Dependabot alert #103). python-dotenv set_key is not used by this
project at runtime, so the exposure is limited to any tooling that
imports python-dotenv's writer against user-controlled paths; bumping
anyway to keep the supply chain clean.
@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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.

1 participant