tecnickcom/tcpdf is vulnerable to Improper Access Control
53
CVE Score
Medium
Improper Access Control
The masked image path reads both the source image and mask directly from local paths, bypassing TCPDF's configured file allowlist. A caller that supplies an out-of-allowlist path can cause the files to be embedded in the generated PDF. The fix routes both reads through the engine file helper, which enforces the allowlist.
Upgrade the tecnickcom/tcpdf library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application passes user controlled image paths and mask handles to TCPDF.
7.0.0 - 7.0.19
Fixed in 7.0.20tecnickcom/tcpdf is vulnerable to Improper Access Control in versions 7.0.0 - 7.0.19.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.