CVE-2026-142210
Description
A flaw was found in TCPDF. A remote attacker capable of providing HTML content rendered by the library can bypass path restriction controls by using uppercase characters in CSS URL values. This flaw enables the attacker to read local files outside designated allowed directories and embed them directly into generated PDF documents, resulting in information disclosure.
Statement
This vulnerability is rated as Moderate severity because an attacker who can supply untrusted HTML input to TCPDF's PDF generation function can bypass path allowlist checks to read arbitrary local files accessible to the application. The risk is limited to information disclosure of readable local files and does not permit remote code execution or data modification. Exploitation is contingent on applications accepting user-controlled CSS markup during document rendering.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Understanding the Weakness (CWE)
Access Control
Technical Impact: Bypass Protection Mechanism
Improperly handled case sensitive data can lead to several possible consequences, including: - case-insensitive passwords reducing the size of the key space, making brute force attacks easier - bypassing filters or access controls using alternate names - multiple interpretation errors using alternate names.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.