{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-58203","published":"2026-07-06T16:16:35.590000Z","last_modified":"2026-10-25T20:10:00.147000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-22","CWE-59","CWE-400"],"cpes":[{"criteria":"cpe:2.3:a:pydantic:pydantic-settings:*:*:*:*:*:*:*:*","part":"a","vendor":"pydantic","product":"pydantic-settings","version_start_including":"2.12.0","version_end_excluding":"2.14.2"}],"cpes_truncated":false,"vendors":["pydantic"],"products":["pydantic/pydantic-settings"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4xgf-cpjx-pc3j","ecosystem":"PyPI","name":"pydantic-settings","purl":"pkg:pypi/pydantic-settings","ranges":[{"introduced":"2.12.0","fixed":"2.14.2"}],"versions":["2.12.0","2.13.0","2.13.1","2.14.0","2.14.1"],"versions_truncated":false}],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2026-58203/","html_en":"/en/cve/CVE-2026-58203/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-58203","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-58203"},"untrusted":{"vendor_name":"Pydantic","product_name":"Pydantic-settings","desc_en":"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.","affected":[{"untrusted_vendor":"pydantic","untrusted_product":"pydantic-settings","versions":[]}],"references":[{"url":"https://github.com/pydantic/pydantic-settings/security/advisories/GHSA-4xgf-cpjx-pc3j","tags":["Exploit","Mitigation","Vendor Advisory"]}]}}