Vulnerable Library - pydantic_settings-2.14.0-py3-none-any.whl
Settings management using Pydantic
Library home page: https://files.pythonhosted.org/packages/01/dd/bebff3040138f00ae8a102d426b27349b9a49acc310fcae7f92112d867e3/pydantic_settings-2.14.0-py3-none-any.whl
Path to dependency file: /pyproject.toml
Path to vulnerable library: /.venv/lib/python3.11/site-packages/pydantic_settings-2.14.0.dist-info
Vulnerabilities
| Vulnerability |
Severity |
CVSS |
Dependency |
Type |
Fixed in (pydantic_settings version) |
Remediation Possible** |
| CVE-2026-58203 |
Medium |
5.3 |
pydantic_settings-2.14.0-py3-none-any.whl |
Direct |
2.14.2 |
✅ |
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2026-58203
Vulnerable Library - pydantic_settings-2.14.0-py3-none-any.whl
Settings management using Pydantic
Library home page: https://files.pythonhosted.org/packages/01/dd/bebff3040138f00ae8a102d426b27349b9a49acc310fcae7f92112d867e3/pydantic_settings-2.14.0-py3-none-any.whl
Path to dependency file: /pyproject.toml
Path to vulnerable library: /.venv/lib/python3.11/site-packages/pydantic_settings-2.14.0.dist-info
Dependency Hierarchy:
- ❌ pydantic_settings-2.14.0-py3-none-any.whl (Vulnerable Library)
Found in base branch: main
Vulnerability Details
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.
Publish Date: 2026-07-06
URL: CVE-2026-58203
CVSS 3 Score Details (5.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Local
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: Low
For more information on CVSS3 Scores, click here.
Suggested Fix
Type: Upgrade version
Origin: GHSA-4xgf-cpjx-pc3j
Release Date: 2026-07-06
Fix Resolution: 2.14.2
⛑️ Automatic Remediation will be attempted for this issue.
⛑️Automatic Remediation will be attempted for this issue.
Settings management using Pydantic
Library home page: https://files.pythonhosted.org/packages/01/dd/bebff3040138f00ae8a102d426b27349b9a49acc310fcae7f92112d867e3/pydantic_settings-2.14.0-py3-none-any.whl
Path to dependency file: /pyproject.toml
Path to vulnerable library: /.venv/lib/python3.11/site-packages/pydantic_settings-2.14.0.dist-info
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
Vulnerable Library - pydantic_settings-2.14.0-py3-none-any.whl
Settings management using Pydantic
Library home page: https://files.pythonhosted.org/packages/01/dd/bebff3040138f00ae8a102d426b27349b9a49acc310fcae7f92112d867e3/pydantic_settings-2.14.0-py3-none-any.whl
Path to dependency file: /pyproject.toml
Path to vulnerable library: /.venv/lib/python3.11/site-packages/pydantic_settings-2.14.0.dist-info
Dependency Hierarchy:
Found in base branch: main
Vulnerability Details
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.
Publish Date: 2026-07-06
URL: CVE-2026-58203
CVSS 3 Score Details (5.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Local
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: Low
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: GHSA-4xgf-cpjx-pc3j
Release Date: 2026-07-06
Fix Resolution: 2.14.2
⛑️ Automatic Remediation will be attempted for this issue.
⛑️Automatic Remediation will be attempted for this issue.