CVSS 3.1
5.3 mediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LMedium (5.3) in pydantic pydantic-settings. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in pydantic-settings 2.14.2.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:Lpydantic-settings (PyPI): fixed in 2.14.2Explain CVE-2026-58203 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-58203?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-58203?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-58203 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| pydantic:pydantic-settings | from 2.12.0 before 2.14.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-4xgf-cpjx-pc3j | PyPI | pydantic-settings | >=2.12.0 <2.14.2 | 2.14.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 14 | pydantic-settings | 2.14.2-1 | DEBIAN-CVE-2026-58203 |
| Ubuntu | 25.10, 26.04:LTS | pydantic-settings | no fix listed | UBUNTU-CVE-2026-58203 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Moderate.
Moderate: This flaw in `pydantic-settings` allows for local file disclosure and bypass of size restrictions when `NestedSecretsSettingsSource` is used with `secrets_nested_subdir=True` and an attacker can influence entries in the configured `secrets_dir`. This is due to inconsistent directory traversal implementations that follow symbolic links outside the intended directory, enabling unauthorized reading of local files.
To mitigate this issue, ensure that the `secrets_dir` used by `pydantic-settings` with `NestedSecretsSettingsSource` is exclusively controlled by the application, preventing any unauthorized modifications or symlink placements. Alternatively, disable the `secrets_nested_subdir=True` option if nested secret subdirectories are not essential for your application's functionality.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat AI Inference Server 3.2 | rhaiis/vllm-cuda-rhel9:1790621718 | Fixed 2026-09-30 | RHSA-2026:73929 |
| Red Hat AI Inference Server 3.2 | rhaiis/vllm-rocm-rhel9:1790621713 | Fixed 2026-09-30 | RHSA-2026:73930 |
| Exploit Intelligence | exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 | Not affected | |
| Lightspeed Core | lightspeed-core/lightspeed-stack-rhel9 | Not affected | |
| Migration Toolkit for Applications 8 | mta/mta-solution-server-rhel9 | Fix deferred | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-agentic-sandbox-rhel9 | Fix deferred | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-service-api-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaii/model-opt-cuda-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaiis/vllm-cpu-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaiis/vllm-neuron-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaiis/vllm-spyre-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaiis/vllm-tpu-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaii/vllm-cpu-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaii/vllm-cuda-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaii/vllm-gaudi-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaii/vllm-neuron-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaii/vllm-rocm-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaii/vllm-spyre-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaii/vllm-tpu-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-chatbot-rhel8 | Out of support scope | |
| 32 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-58203.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-22.