CVE-2026-15143
CriticalCVSS 9.3Summary
A flaw was found in the file_type content detector of guardrails-detectors, allowing a remote attacker to supply an arbitrary XSD string processed without restrictions. This can lead to server-side requests to arbitrary URLs or local file reads.
Risk Assessment
The risk includes potential disclosure of sensitive information such as cloud provider credentials and access to internal network services, which could lead to further compromise of the organization's infrastructure.
Recommendation
Immediately update the guardrails-detectors library to the latest version containing a fix that restricts XSD processing. If an update is not possible, block access to the file_type function for untrusted input.
Original NVD description (English source)
A flaw was found in the file_type content detector of guardrails-detectors. This vulnerability allows a remote attacker to supply an arbitrary XML Schema Definition (XSD) string, which is processed without proper restrictions. This can lead to server-side requests to arbitrary URLs or local file reads, potentially resulting in sensitive information disclosure, such as cloud provider credentials or access to internal network services.

