Intel

AIKIDO-2026-253369

tecnickcom/tcpdf is vulnerable to Improper Access Control

GHSA-23pv-393w-4478Published 4 days ago
November 16, 2026

53

CVE Score

Medium

Improper Access Control

Are you affected? Scan for Free

TL;DR

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.

How do I fix this?

Upgrade the tecnickcom/tcpdf library to the patch version.

Who does this affect?

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.

Versions

7.0.0 - 7.0.19

Fixed in 7.0.20

Background info

tecnickcom/tcpdf is vulnerable to Improper Access Control in versions 7.0.0 - 7.0.19.

Get secure today,
quickly and for free.

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.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea