CVE-2026-58203: pydantic-settings provides settings management using Pydantic
CVE-2026-58203 is a medium-severity flaw (CVSS 5.3) affecting pydantic-settings. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
pydantic-settings provides settings management using Pydantic. From 2.12.0 until 2.14.2, NestedSecretsSettingsSource reads secret values from files in a configured secrets_dir. When secrets_nested_subdir=True, a directory entry inside secrets_dir that is a symbolic link pointing outside secrets_dir is followed, so files outside the configured directory are read into settings values. The same code path bypasses the documented secrets_dir_max_size
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-58203?
pydantic-settings: upgrade to 2.14.2. Exact commands for each OS are on this page.
Is CVE-2026-58203 being exploited?
CVE-2026-58203 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-58203 affect?
CVE-2026-58203 affects pydantic-settings. Severity is medium (CVSS 5.3). pydantic-settings provides settings management using Pydantic. From 2.12.0 until 2.14.2, NestedSecretsSettingsSource reads secret values from files in a configured secrets_dir. When secrets_nested_subdir=True, a directory entry inside secre
How urgent is CVE-2026-58203?
Priority 26/100. Public exploit reference