Skip to main content
VulnerabilityPublished Updated

CVE-2026-58203: pydantic-settings provides settings management using Pydantic

Affects pydantic-settingsSource GCVE Database

0
Compare
Authoritative record:CVE-2026-58203· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium · fixed in 2.14.2 : update pydantic-settings when convenient.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.14.2
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSpydantic-settingspkg:deb/ubuntu/pydantic-settings?arch=source&distro=resoluteOther threatsAffected
  • =2.8.1-2
  • =2.12.0-2
  • =2.13.0-1
Fixed in–
Ubuntu 25.10pydantic-settingspkg:deb/ubuntu/pydantic-settings?arch=source&distro=questingOther threatsAffected
  • =2.8.1-1
  • =2.8.1-2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…