Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
pydantic pydantic-settings — NestedSecretsSettingsSource follows symlinks outside secrets_dir, enabling local file read and bypassing secrets_dir_max_size
AV AC PR UI S C I A CVSS EPSS %ile KEV
L L L N U L L L 5.3 .0018 7.8 —
AFFECTED
Product Versions Fixed
pydantic-settings >= 2.12.0, < 2.14.2 – —
TIMELINE
Jun 29 Reserved by GitHub_M
Jul 6 EXPLOIT PUBLISHED — CVE-2026-58203 (pydantic-settings). Public exploit reference added.
Jul 6 Published (CNA: GitHub_M)
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.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| June 29, 2026 | Reserved | Reserved by GitHub_M |
| July 6, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2026-58203 (pydantic-settings). Public exploit reference added. |
| July 6, 2026 | Published | Published (CNA: GitHub_M) |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| pydantic | pydantic-settings | — | >= 2.12.0, < 2.14.2 | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-58203 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.