CVE Explorer
CVE-2026-58203
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 compon
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-400","description":"CWE-400: Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e7d82cfd776a15c877f936becd7989bcd623e787e12a6dadde131034b5b0b4d4 · sha256:b05ed2c5aef97cb8… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-59","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e7d82cfd776a15c877f936becd7989bcd623e787e12a6dadde131034b5b0b4d4 · sha256:b05ed2c5aef97cb8… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e7d82cfd776a15c877f936becd7989bcd623e787e12a6dadde131034b5b0b4d4 · sha256:b05ed2c5aef97cb8… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"pydantic-settings","vendor":"pydantic","versions":[{"status":"affected","version":">= 2.12.0, < 2.14.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e7d82cfd776a15c877f936becd7989bcd623e787e12a6dadde131034b5b0b4d4 · sha256:b05ed2c5aef97cb8… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e7d82cfd776a15c877f936becd7989bcd623e787e12a6dadde131034b5b0b4d4 · sha256:b05ed2c5aef97cb8… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-400","description":"CWE-400: Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e7d82cfd776a15c877f936becd7989bcd623e787e12a6dadde131034b5b0b4d4 · sha256:b05ed2c5aef97cb8… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-59","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e7d82cfd776a15c877f936becd7989bcd623e787e12a6dadde131034b5b0b4d4 · sha256:b05ed2c5aef97cb8… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e7d82cfd776a15c877f936becd7989bcd623e787e12a6dadde131034b5b0b4d4 · sha256:b05ed2c5aef97cb8… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/pydantic/pydantic-settings/security/advisories/GHSA-4xgf-cpjx-pc3j","tags":["x_refsource_CONFIRM"],"url":"https://github.com/pydantic/pydantic-settings/security/advisories/GHSA-4xgf-cpjx-pc3j"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e7d82cfd776a15c877f936becd7989bcd623e787e12a6dadde131034b5b0b4d4 · sha256:b05ed2c5aef97cb8… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/pydantic/pydantic-settings/security/advisories/GHSA-4xgf-cpjx-pc3j"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e7d82cfd776a15c877f936becd7989bcd623e787e12a6dadde131034b5b0b4d4 · sha256:b05ed2c5aef97cb8… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.