Skip to content

pydantic-settings (PyPI)

Settings management using pydantic

Advisories
2
Latest version
2.16.1
Released Oct 20, 2026
License
MIT
OpenSSF Scorecard
—

How to fix

Upgrading to 2.14.2 or later clears every advisory below that has a fix.

Upgrade commands
pip
pip install --upgrade "pydantic-settings>=2.16.1"
poetry
poetry add "pydantic-settings>=2.16.1"
uv
uv add "pydantic-settings>=2.16.1"

Known vulnerabilities

AdvisorySeverityAffectedFixed in
GHSA-4xgf-cpjx-pc3j
pydantic-settings: NestedSecretsSettingsSource follows symlinks outside secrets_dir, enabling local file read and bypassing secrets_dir_max_size
Medium
EPSS 0.18%
>= 2.12.0, < 2.14.2
2.14.2
GHSA-4xgf-cpjx-pc3j
pydantic-settings: NestedSecretsSettingsSource follows symlinks outside secrets_dir, enabling local file read and bypassing secrets_dir_max_size
Medium
EPSS 0.18%
>= 2.12.0, < 2.14.2
2.14.2

Source: https://github.com/pydantic/pydantic-settings

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor