Bump pydantic-settings from 2.14.0 to 2.14.2
Bumps pydantic-settings from 2.14.0 to 2.14.2.
Release notes
Sourced from pydantic-settings's releases.
v2.14.2
What's Changed
This is a security patch release.
- Prevent
NestedSecretsSettingsSourcefrom following symlinks outsidesecrets_dirby@hramezaniin pydantic/pydantic-settings#889- Prepare release 2.14.2 by
@hramezaniin pydantic/pydantic-settings#890Security
Fixes GHSA-4xgf-cpjx-pc3j:
NestedSecretsSettingsSourcewithsecrets_nested_subdir=Truecould follow a symbolic link insidesecrets_dirpointing outside it, reading out-of-tree files into settings values and bypassing thesecrets_dir_max_sizecap. Affected versions:>= 2.12.0, < 2.14.2.Full Changelog: https://github.com/pydantic/pydantic-settings/compare/v2.14.1...v2.14.2
v2.14.1
What's Changed
- Bump the python-packages group with 4 updates by
@dependabot[bot] in pydantic/pydantic-settings#850- Bump the python-packages group with 5 updates by
@dependabot[bot] in pydantic/pydantic-settings#854- Bump the github-actions group with 3 updates by
@dependabot[bot] in pydantic/pydantic-settings#853- Bump the python-packages group with 2 updates by
@dependabot[bot] in pydantic/pydantic-settings#856- Fix field named
clsconflicting with classmethod parameter by@hramezaniin pydantic/pydantic-settings#858- Prepare release 2.14.1 by
@hramezaniin pydantic/pydantic-settings#859Full Changelog: https://github.com/pydantic/pydantic-settings/compare/v2.14.0...v2.14.1
Commits
d703bd7Prepare release 2.14.2 (#890)e95c30bPrepare release 2.14.1 (#859)0c87345Fix field namedclsconflicting with classmethod parameter (#858)7bd0072Bump the python-packages group with 2 updates (#856)b03e573Bump the github-actions group with 3 updates (#853)eaa3b43Bump the python-packages group with 5 updates (#854)9f95615Bump the python-packages group with 4 updates (#850)- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Upgrade pydantic-settings to 2.14.2 to address a security issue in NestedSecretsSettingsSource that could follow symlinks outside secrets_dir. This prevents out-of-tree file reads and restores enforcement of the secrets_dir_max_size cap.