🛡️ CVE-2026-58203 on Debian — pydantic-settings
Description
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 protection. An attacker or lower-privileged component able to influence entries in the configured secrets directory (for example, a writable or shared secrets mount) can turn this into an unintended local file read into settings and can defeat the advertised loading-size cap. This vulnerability is fixed in 2.14.2.
Distribution advisory
This page covers CVE-2026-58203 as tracked by Debian, for the package pydantic-settings. The fix is available in version 2.14.2-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity low, availability low.
Weakness class
DEBIAN-CVE-2026-58203 is classified as CWE-22: Path Traversal. A file path built from user input is not confined to the intended directory, letting an attacker reach files elsewhere on the filesystem.
Affected software
DEBIAN-CVE-2026-58203 is recorded against 1 package.
- pydantic-settings (fixed in 2.14.2-1)
Timeline and source
Published on 6 July 2026 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
Details
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| pydantic-settings | — | 2.14.2-1 |
References
Similar Threats
- Medium ROOT-APP-PYPI-GHSA-4xgf-cpjx-pc3j
- Unknown UBUNTU-CVE-2026-58203
- Unknown ECHO-c128-4f87-8dda
- Medium CVE-2026-58203
- Unknown MAL-2025-6951
Vulnerability Monitoring
Track new vulnerabilities in pydantic-settings
DEBIAN-CVE-2026-58203 is rated CVSS 5.3 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.